R David Murray
63998a3520
#11726 : Make linecache docs reflect that all files are treated the same.
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.
11 years ago
Serhiy Storchaka
74a49ac3f5
Issue #23681 : Fixed Python 2 to 3 poring bugs.
Indexing bytes retiurns an integer, not bytes.
11 years ago
Serhiy Storchaka
d83b7c2df4
Issue #23700 : NamedTemporaryFile iterator closed underlied file object in
some circunstances while NamedTemporaryFile object was living. This causes
failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__
to make tests passed.
11 years ago
Ned Deily
f0c6cd3581
Issue #23686 : Update OS X 10.5 installer build to use OpenSSL 1.0.2a.
11 years ago
Serhiy Storchaka
64c439d3ae
Fixed Misc/NEWS entry for issue #23136 .
11 years ago
Serhiy Storchaka
423feea01e
Issue #23136 : _strptime now uniformly handles all days in week 0, including
Jan 30 of previous year. Based on patch by Jim Carroll.
11 years ago
Serhiy Storchaka
56cefa69ee
Issue #23700 : Iterator of NamedTemporaryFile now keeps a reference to
NamedTemporaryFile instance. Patch by Bohuslav Kabrda.
11 years ago
Benjamin Peterson
86fdbf3152
wrap properly
11 years ago
Ethan Furman
482fe0477e
issue23673
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
11 years ago
Antoine Pitrou
d833779cea
Issue #22903 : The fake test case created by unittest.loader when it fails importing a test module is now picklable.
11 years ago
Antoine Pitrou
c4c19b3938
Issue #23353 : improve exceptions tests for generators
11 years ago
Victor Stinner
444f124fcf
_tracemalloc.c: Fix typo
11 years ago
Victor Stinner
376658fa13
Issue #11726 : Fix linecache example in the doc
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.
11 years ago
Victor Stinner
93f0665fb6
Issue #11726 : clarify linecache doc: linecache is written to cache Python
source files, even if "it works" with other text files encoded to UTF-8.
11 years ago
Victor Stinner
6a318d420a
Issue #19428 : Document that PyMarshal_ReadLongFromFile() and
PyMarshal_ReadShortFromFile() can fail.
11 years ago
Victor Stinner
d6dc7bdaf9
Issue #23456 : Add missing @coroutine decorators in asyncio
11 years ago
Vinay Sajip
d55436ace3
Issue #23207 : Improved kwarg validation.
11 years ago
Ned Deily
ab6b9f8a5b
Issue #22585 : make URandomFDTests test case actually run
11 years ago
Berker Peksag
6a98002d47
Issue #23682 : Delete Python 2.2 mention from distutils documentation.
Patch by Thomas Kluyver.
11 years ago
Benjamin Peterson
59c4eb71f2
versionchanged for rc4 removal ( closes #23679 )
11 years ago
Serhiy Storchaka
05d54730da
Use non-zero and non-last positions in error handler tests.
11 years ago
Serhiy Storchaka
98d156b2b2
Increased coverage of standard codec error handlers.
11 years ago
Eli Bendersky
39430daa3b
Issue #23549 : Clarify confusion in heapq doc - accessing the mininmal element
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.
11 years ago
Berker Peksag
a785dece57
Issue #23568 : Add rdivmod support to MagicMock() objects.
Patch by Håkan Lövdahl.
11 years ago
Serhiy Storchaka
b19542d062
Fix minor docs markup errors.
11 years ago
Steve Dower
41e7244c06
Fixes incorrect use of GetLastError where errno should be used.
11 years ago
Benjamin Peterson
0d70ab6b8c
__getslice__ certainly won't appear in the output
11 years ago
Brett Cannon
2645bad04f
Make the case to only support Python 2.7 when supporting 2/3 simultaneously
11 years ago
Serhiy Storchaka
577fc4e87f
Issue #23138 : Fixed parsing cookies with absent keys or values in cookiejar.
Patch by Demian Brecht.
11 years ago
Serhiy Storchaka
79fbeee237
Issue #23051 : multiprocessing.Pool methods imap() and imap_unordered() now
handle exceptions raised by an iterator. Patch by Alon Diamant and Davin
Potts.
11 years ago
Benjamin Peterson
f0f14f72bb
use the meth role for ZipFile.open
11 years ago
Berker Peksag
32799953b0
Issue #23081 : Document that PySequence_List also accepts iterables.
Patch by Lars Buitinck.
11 years ago
Berker Peksag
ce77ee9183
Issue #22154 : Add an example to show context management protocol support of ZipFile.open().
Patch by Mike Short.
11 years ago
Serhiy Storchaka
a60c2fe480
Issue #23641 : Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.
11 years ago
Berker Peksag
18987a11ce
Issue #20617 : Remove unused import in test_ssl.
Patch by Mark Lawrence.
11 years ago
Victor Stinner
0561c53d78
Issue #23605 : Refactor os.walk() tests to also run them on os.fwalk()
11 years ago
Serhiy Storchaka
a112a8ae47
Issue #22928 : Disabled HTTP header injections in http.client.
Original patch by Demian Brecht.
11 years ago
Serhiy Storchaka
c775ad615a
Issue #23192 : Fixed generator lambdas. Patch by Bruno Cauet.
11 years ago
Serhiy Storchaka
cf4a2f29ad
Issue #23615 : Modules bz2, tarfile and tokenize now can be reloaded with
imp.reload(). Patch by Thomas Kluyver.
11 years ago
Steve Dower
13be8c2691
Removes unused format string insertion in launcher.c.
11 years ago
Antoine Pitrou
a654510150
Issue #23629 : Fix the default __sizeof__ implementation for variable-sized objects.
11 years ago
Steve Dower
ebb8c2d528
Issue #22028 : Ensure mimetypes will not open registry keys with embedded nulls
11 years ago
Victor Stinner
7a82afee70
asyncio: Fix repr(BaseSubprocessTransport) if it didn't start yet
Replace "running" with "not started" and don't show the pid if the subprocess
didn't start yet.
11 years ago
Victor Stinner
84c717dd9e
asyncio doc: changes on the Queue API missed Python 3.4.3 release
11 years ago
Berker Peksag
77a6b20a35
Issue #23432 : Remove duplicate content from SystemExit docs.
Also, document SystemExit.code attribute explicitly.
11 years ago
Victor Stinner
47c41b4e4d
Issue #23605 : os.walk() doc now mentions shutil.rmtree() in the last example
11 years ago
Benjamin Peterson
101447b3fe
fix up import style
11 years ago
Ned Deily
8be2142377
Issue #23617 : Correct plurals typo noted by Kentrell Johnson.
11 years ago
Benjamin Peterson
c8358273ae
indicate correct version ( closes #23608 )
11 years ago
Serhiy Storchaka
f87afb0381
Issue #21619 : Cleaned up test_broken_pipe_cleanup.
Patch by Martin Panter.
11 years ago