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.
2015-03-19 19:13:37 +02:00
Serhiy Storchaka
56cefa69ee
Issue #23700 : Iterator of NamedTemporaryFile now keeps a reference to
...
NamedTemporaryFile instance. Patch by Bohuslav Kabrda.
2015-03-19 15:23:15 +02:00
Benjamin Peterson
86fdbf3152
wrap properly
2015-03-18 21:35:38 -05:00
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
2015-03-18 18:19:30 -07:00
Antoine Pitrou
d833779cea
Issue #22903 : The fake test case created by unittest.loader when it fails importing a test module is now picklable.
2015-03-18 23:56:46 +01:00
Antoine Pitrou
c4c19b3938
Issue #23353 : improve exceptions tests for generators
2015-03-18 22:22:46 +01:00
Victor Stinner
444f124fcf
_tracemalloc.c: Fix typo
2015-03-18 16:05:18 +01:00
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.
2015-03-18 14:16:50 +01:00
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.
2015-03-18 14:14:42 +01:00
Victor Stinner
6a318d420a
Issue #19428 : Document that PyMarshal_ReadLongFromFile() and
...
PyMarshal_ReadShortFromFile() can fail.
2015-03-18 13:58:49 +01:00
Victor Stinner
d6dc7bdaf9
Issue #23456 : Add missing @coroutine decorators in asyncio
2015-03-18 11:37:42 +01:00
Vinay Sajip
d55436ace3
Issue #23207 : Improved kwarg validation.
2015-03-18 08:47:58 +00:00
Ned Deily
ab6b9f8a5b
Issue #22585 : make URandomFDTests test case actually run
2015-03-17 04:30:08 -07:00
Berker Peksag
6a98002d47
Issue #23682 : Delete Python 2.2 mention from distutils documentation.
...
Patch by Thomas Kluyver.
2015-03-17 06:55:48 +02:00
Benjamin Peterson
59c4eb71f2
versionchanged for rc4 removal ( closes #23679 )
2015-03-16 12:43:38 -05:00
Serhiy Storchaka
05d54730da
Use non-zero and non-last positions in error handler tests.
2015-03-16 08:29:47 +02:00
Serhiy Storchaka
98d156b2b2
Increased coverage of standard codec error handlers.
2015-03-15 23:41:37 +02:00
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.
2015-03-14 20:14:23 -07:00
Berker Peksag
a785dece57
Issue #23568 : Add rdivmod support to MagicMock() objects.
...
Patch by Håkan Lövdahl.
2015-03-15 01:51:56 +02:00
Serhiy Storchaka
b19542d062
Fix minor docs markup errors.
2015-03-14 21:32:57 +02:00
Steve Dower
41e7244c06
Fixes incorrect use of GetLastError where errno should be used.
2015-03-14 11:38:27 -07:00
Benjamin Peterson
0d70ab6b8c
__getslice__ certainly won't appear in the output
2015-03-13 16:21:23 -05:00
Brett Cannon
2645bad04f
Make the case to only support Python 2.7 when supporting 2/3 simultaneously
2015-03-13 12:49:44 -04:00
Serhiy Storchaka
577fc4e87f
Issue #23138 : Fixed parsing cookies with absent keys or values in cookiejar.
...
Patch by Demian Brecht.
2015-03-13 09:05:01 +02:00
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.
2015-03-13 08:25:26 +02:00
Benjamin Peterson
f0f14f72bb
use the meth role for ZipFile.open
2015-03-12 22:41:06 -05:00
Berker Peksag
32799953b0
Issue #23081 : Document that PySequence_List also accepts iterables.
...
Patch by Lars Buitinck.
2015-03-13 02:55:45 +02:00
Berker Peksag
ce77ee9183
Issue #22154 : Add an example to show context management protocol support of ZipFile.open().
...
Patch by Mike Short.
2015-03-13 02:29:54 +02:00
Serhiy Storchaka
a60c2fe480
Issue #23641 : Cleaned out legacy dunder names from tests and docs.
...
Fixed 2 to 3 porting bug in pynche.ColorDB.
2015-03-12 21:56:08 +02:00
Berker Peksag
18987a11ce
Issue #20617 : Remove unused import in test_ssl.
...
Patch by Mark Lawrence.
2015-03-12 18:50:49 +02:00
Victor Stinner
0561c53d78
Issue #23605 : Refactor os.walk() tests to also run them on os.fwalk()
2015-03-12 10:28:24 +01:00
Serhiy Storchaka
a112a8ae47
Issue #22928 : Disabled HTTP header injections in http.client.
...
Original patch by Demian Brecht.
2015-03-12 11:13:36 +02:00
Serhiy Storchaka
c775ad615a
Issue #23192 : Fixed generator lambdas. Patch by Bruno Cauet.
2015-03-11 18:20:35 +02:00
Serhiy Storchaka
cf4a2f29ad
Issue #23615 : Modules bz2, tarfile and tokenize now can be reloaded with
...
imp.reload(). Patch by Thomas Kluyver.
2015-03-11 17:18:03 +02:00
Steve Dower
13be8c2691
Removes unused format string insertion in launcher.c.
2015-03-10 19:38:25 -07:00
Antoine Pitrou
a654510150
Issue #23629 : Fix the default __sizeof__ implementation for variable-sized objects.
2015-03-10 22:32:00 +01:00
Steve Dower
ebb8c2d528
Issue #22028 : Ensure mimetypes will not open registry keys with embedded nulls
2015-03-10 13:17:21 -07:00
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.
2015-03-10 16:32:29 +01:00
Victor Stinner
84c717dd9e
asyncio doc: changes on the Queue API missed Python 3.4.3 release
2015-03-10 16:27:54 +01:00
Berker Peksag
77a6b20a35
Issue #23432 : Remove duplicate content from SystemExit docs.
...
Also, document SystemExit.code attribute explicitly.
2015-03-10 14:47:15 +02:00
Victor Stinner
47c41b4e4d
Issue #23605 : os.walk() doc now mentions shutil.rmtree() in the last example
2015-03-10 13:31:47 +01:00
Benjamin Peterson
101447b3fe
fix up import style
2015-03-09 10:37:50 -04:00
Ned Deily
8be2142377
Issue #23617 : Correct plurals typo noted by Kentrell Johnson.
2015-03-09 01:55:02 -07:00
Benjamin Peterson
c8358273ae
indicate correct version ( closes #23608 )
2015-03-08 09:42:25 -04:00
Serhiy Storchaka
f87afb0381
Issue #21619 : Cleaned up test_broken_pipe_cleanup.
...
Patch by Martin Panter.
2015-03-08 09:16:40 +02:00
Antoine Pitrou
e3207fe86b
Issue #20876 : correctly close temporary file in test.support.fs_is_case_insensitive()
2015-03-08 00:15:05 +01:00
Benjamin Peterson
8c69ecf95d
replace Amazon links in the documentation ( closes #23579 )
...
Patch by Sayan Chowdhury.
2015-03-07 09:34:16 -05:00
Serhiy Storchaka
f8904e99c7
Issue #22853 : Added regression test for using multiprocessing.Queue at import
...
time. Patch by Davin Potts.
2015-03-06 23:32:54 +02:00
Benjamin Peterson
c19ed37579
remove redundant test
2015-03-06 09:10:26 -05:00
Benjamin Peterson
a915723dc7
fix potential refleak in PyFloat_AsDouble ( closes #23590 )
2015-03-06 09:08:44 -05:00