<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/networkx.git/networkx/utils/misc.py, branch error-message-eccentricity</title>
<subtitle>github.com: networkx/networkx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/'/>
<entry>
<title>Update misc.py</title>
<updated>2015-08-31T23:08:21+00:00</updated>
<author>
<name>Neil</name>
<email>mistersheik@gmail.com</email>
</author>
<published>2015-08-31T23:08:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=482854bfcbcb5024194f0506cf7b70ea8c3397a9'/>
<id>482854bfcbcb5024194f0506cf7b70ea8c3397a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>topolgical_sort, lexicographical_topological_sort</title>
<updated>2015-08-31T22:22:17+00:00</updated>
<author>
<name>Neil</name>
<email>mistersheik@gmail.com</email>
</author>
<published>2015-07-13T19:24:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=2b02958e5df8cafedf27c8a3dd1dade8a3da64e8'/>
<id>2b02958e5df8cafedf27c8a3dd1dade8a3da64e8</id>
<content type='text'>
Rewrote topolgical_sort as a generator:
* It no longer accepts reverse or nbunch arguments
* It is slightly faster.
Added lexicographical_topological_sort, which accepts a key.
Some tests for topological sort were removed because they relied on
CPython's particular dict element ordering.
Added utils from more_itertools:
* These were necessary for working with the new generators.
* "pairwise" is equavalent to zip(some_list, some_list[1:]) -- for
generators.
* "consume" consumes an iterator.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rewrote topolgical_sort as a generator:
* It no longer accepts reverse or nbunch arguments
* It is slightly faster.
Added lexicographical_topological_sort, which accepts a key.
Some tests for topological sort were removed because they relied on
CPython's particular dict element ordering.
Added utils from more_itertools:
* These were necessary for working with the new generators.
* "pairwise" is equavalent to zip(some_list, some_list[1:]) -- for
generators.
* "consume" consumes an iterator.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use peek(S) instead of next(iter(S)).</title>
<updated>2015-07-17T05:36:27+00:00</updated>
<author>
<name>Jeffrey Finkelstein</name>
<email>jeffrey.finkelstein@gmail.com</email>
</author>
<published>2015-05-20T01:50:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=2f70ad71c5c9bf5e1929f78fc5f0d25c397a7652'/>
<id>2f70ad71c5c9bf5e1929f78fc5f0d25c397a7652</id>
<content type='text'>
As of the date of this commit, there is no way to get an arbitrary
element of an iterable like a set without modifying it (for example, as
in `set.pop()`). The `peek()` function is more readable than writing

    next(iter(S))

whenever an arbitrary element of an iterable is required.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As of the date of this commit, there is no way to get an arbitrary
element of an iterable like a set without modifying it (for example, as
in `set.pop()`). The `peek()` function is more readable than writing

    next(iter(S))

whenever an arbitrary element of an iterable is required.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix copyrights</title>
<updated>2015-04-21T16:51:07+00:00</updated>
<author>
<name>JGab</name>
<email>jean.gabriel.young@gmail.com</email>
</author>
<published>2015-04-21T16:51:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=bc987a9a5e3de487b231bfb27e4d0ee929d924c6'/>
<id>bc987a9a5e3de487b231bfb27e4d0ee929d924c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replaces cumulative_sum with accumulate.</title>
<updated>2015-04-18T16:12:34+00:00</updated>
<author>
<name>Jeffrey Finkelstein</name>
<email>jeffrey.finkelstein@gmail.com</email>
</author>
<published>2015-04-18T16:12:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=8a35d56c530da52939f9aa34d604f9cd05afecb0'/>
<id>8a35d56c530da52939f9aa34d604f9cd05afecb0</id>
<content type='text'>
Python 3.2 introduces the `itertools.accumulate()`. Before, we were
using less flexible custom code for performing the same task, in
`networkx.utils.misc.cumulative_sum`. This commit replaces calls to
`cumulative_sum` with calls to `itertools.accumulate()`.

Since we currently still support Python 2.7, this commit adds a fallback
equivalent definition of accumulate that matches the Python 3.2
implementation. Once support for Python 2.7 is dropped, all of this code
can be removed, and calls to `networkx.utils.accumulate()` can be
replaced by calls to `itertools.accumulate()`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 3.2 introduces the `itertools.accumulate()`. Before, we were
using less flexible custom code for performing the same task, in
`networkx.utils.misc.cumulative_sum`. This commit replaces calls to
`cumulative_sum` with calls to `itertools.accumulate()`.

Since we currently still support Python 2.7, this commit adds a fallback
equivalent definition of accumulate that matches the Python 3.2
implementation. Once support for Python 2.7 is dropped, all of this code
can be removed, and calls to `networkx.utils.accumulate()` can be
replaced by calls to `itertools.accumulate()`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Include IronPython in .travis.yml</title>
<updated>2014-07-03T15:31:15+00:00</updated>
<author>
<name>ysitu</name>
<email>ysitu@users.noreply.github.com</email>
</author>
<published>2014-07-03T06:11:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=a1c0d95a199f70fb470f6d9891e83da2a1f90717'/>
<id>a1c0d95a199f70fb470f6d9891e83da2a1f90717</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove bundled decorator package</title>
<updated>2014-06-01T13:45:55+00:00</updated>
<author>
<name>ysitu</name>
<email>ysitu@users.noreply.github.com</email>
</author>
<published>2014-06-01T13:41:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=94a1c3e9df8ab4a2bf9c66a4bf8c6220f364aeb5'/>
<id>94a1c3e9df8ab4a2bf9c66a4bf8c6220f364aeb5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Missed one more.</title>
<updated>2014-05-14T02:37:11+00:00</updated>
<author>
<name>chebee7i</name>
<email>chebee7i@gmail.com</email>
</author>
<published>2014-05-14T02:12:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=e431d937f6bab5a6bbb62d9078c0c9c89524423c'/>
<id>e431d937f6bab5a6bbb62d9078c0c9c89524423c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix hash randomization issue in unittest.</title>
<updated>2014-05-14T01:53:28+00:00</updated>
<author>
<name>chebee7i</name>
<email>chebee7i@gmail.com</email>
</author>
<published>2014-05-14T01:53:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=ba415272a760bce72aa8f13d70253818081f21a7'/>
<id>ba415272a760bce72aa8f13d70253818081f21a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up the mess I left in #1006</title>
<updated>2013-11-09T17:56:03+00:00</updated>
<author>
<name>Aric Hagberg</name>
<email>aric.hagberg@gmail.com</email>
</author>
<published>2013-11-09T17:56:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/networkx.git/commit/?id=25086b5bb00f0c879749de60bef610f37c6625a3'/>
<id>25086b5bb00f0c879749de60bef610f37c6625a3</id>
<content type='text'>
Remove a print statement and some commented out code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove a print statement and some commented out code.
</pre>
</div>
</content>
</entry>
</feed>
