- 20 Mar, 2015 3 commits
-
-
R David Murray authored
Being able to read non-python text files is not a purpose of linecache, but it does work and people use it. This changeset adjusts the language to make it clear that Python files are not treated uniquely, but does not go so far as to say reading non-python files is explicitly supported.
-
Serhiy Storchaka authored
Indexing bytes retiurns an integer, not bytes.
-
Serhiy Storchaka authored
some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed.
-
- 19 Mar, 2015 6 commits
-
-
Ned Deily authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Jan 30 of previous year. Based on patch by Jim Carroll.
-
Serhiy Storchaka authored
NamedTemporaryFile instance. Patch by Bohuslav Kabrda.
-
Benjamin Peterson authored
-
Ethan Furman authored
add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method
-
- 18 Mar, 2015 8 commits
-
-
Antoine Pitrou authored
Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable.
-
Antoine Pitrou authored
-
Victor Stinner authored
-
Victor Stinner authored
Use a Python source file (linecache.__file__) instead of /etc/passwd. Modify also linecache docstrings to clarify the linecache is written to cache Python source files, not any text files.
-
Victor Stinner authored
source files, even if "it works" with other text files encoded to UTF-8.
-
Victor Stinner authored
PyMarshal_ReadShortFromFile() can fail.
-
Victor Stinner authored
-
Vinay Sajip authored
-
- 17 Mar, 2015 2 commits
-
-
Ned Deily authored
-
Berker Peksag authored
Patch by Thomas Kluyver.
-
- 16 Mar, 2015 2 commits
-
-
Benjamin Peterson authored
-
Serhiy Storchaka authored
-
- 15 Mar, 2015 2 commits
-
-
Serhiy Storchaka authored
-
Eli Bendersky authored
The current documentation only mentions heap[0] as the smallest element in the beginning, and not in any of the methods' docs. There's no method to access the minimal element without popping it, and the documentation of nsmallest is confusing because it may suggest that min() is the way to go for n==1.
-
- 14 Mar, 2015 3 commits
-
-
Berker Peksag authored
Patch by Håkan Lövdahl.
-
Serhiy Storchaka authored
-
Steve Dower authored
-
- 13 Mar, 2015 7 commits
-
-
Benjamin Peterson authored
-
Brett Cannon authored
-
Serhiy Storchaka authored
Patch by Demian Brecht.
-
Serhiy Storchaka authored
handle exceptions raised by an iterator. Patch by Alon Diamant and Davin Potts.
-
Benjamin Peterson authored
-
Berker Peksag authored
Patch by Lars Buitinck.
-
Berker Peksag authored
Patch by Mike Short.
-
- 12 Mar, 2015 4 commits
-
-
Serhiy Storchaka authored
Fixed 2 to 3 porting bug in pynche.ColorDB.
-
Berker Peksag authored
Patch by Mark Lawrence.
-
Victor Stinner authored
-
Serhiy Storchaka authored
Original patch by Demian Brecht.
-
- 11 Mar, 2015 3 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
imp.reload(). Patch by Thomas Kluyver.
-
Steve Dower authored
-