Ezio Melotti
195ad6ce05
#16306 : merge with 3.3.
2012-11-18 14:06:54 +02:00
Ezio Melotti
f7c709d62d
#16306 : merge with 3.2.
2012-11-18 14:02:08 +02:00
Ezio Melotti
7c66319edc
#16306 : Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
2012-11-18 13:55:52 +02:00
Antoine Pitrou
b5b3714168
Issue #12428 : Add a pure Python implementation of functools.partial().
...
Patch by Brian Thorne.
2012-11-13 21:35:40 +01:00
Nick Coghlan
e69bfc3fb6
Issue #5765 : Merge from 3.3
2012-11-04 23:53:15 +10:00
Nick Coghlan
aab9c2b2ea
Issue #5765 : Apply a hard recursion limit in the compiler
...
Previously, excessive nesting in expressions would blow the
stack and segfault the interpreter. Now, a hard limit based
on the configured recursion limit and a hardcoded scaling
factor is applied.
2012-11-04 23:14:34 +10:00
Éric Araujo
8c997fa8bf
Merge 3.3
2012-11-03 17:07:40 -04:00
Éric Araujo
8f423c9359
Add examples for opener argument of open ( #13424 ).
...
Patch by Guillaume Pratte.
2012-11-03 17:06:52 -04:00
Ezio Melotti
4e0f36b156
#16152 : merge with 3.3.
2012-11-03 17:51:25 +02:00
Ezio Melotti
fafa8b7797
#16152 : merge with 3.2.
2012-11-03 17:46:51 +02:00
Ezio Melotti
2cc3b4ba9f
#16152 : fix tokenize to ignore whitespace at the end of the code when no newline is found. Patch by Ned Batchelder.
2012-11-03 17:38:43 +02:00
Andrew Svetlov
6b973747f3
Issue #16284 : Prevent keeping unnecessary references to worker functions in concurrent.futures ThreadPoolExecutor.
2012-11-03 15:36:01 +02:00
Andrew Svetlov
69032c81aa
Issue #16309 : Make PYTHONPATH= behavior the same as if PYTHONPATH not set at all.
...
Thanks to Armin Rigo and Alexey Kachayev.
2012-11-03 13:52:58 +02:00
R David Murray
bfa664c5cf
#12890 : fix test on windows
...
Patch by Stephen Tonkin.
2012-10-30 20:20:54 -04:00
R David Murray
cc4bacf207
#12890 : fix test on windows
...
Patch by Stephen Tonkin.
2012-10-30 20:20:09 -04:00
Petri Lehtinen
f1380557e3
#14897 : Enhance error messages of struct.pack and struct.pack_into
...
Patch by Matti Mäki.
2012-10-29 21:26:56 +02:00
Petri Lehtinen
4648b4779a
#14897 : Enhance error messages of struct.pack and struct.pack_into
...
Patch by Matti Mäki.
2012-10-29 21:25:01 +02:00
Petri Lehtinen
92c28cace4
#14897 : Enhance error messages of struct.pack and struct.pack_into
...
Patch by Matti Mäki.
2012-10-29 21:24:07 +02:00
R David Murray
dcd34a6419
merge #12890 : don't emit <p> tags in text mode when logdir specified.
...
Patch by Jeff McNeil.
2012-10-27 14:57:22 -04:00
R David Murray
c4b8e05092
merge #12890 : don't emit <p> tags in text mode when logdir specified.
...
Patch by Jeff McNeil.
2012-10-27 14:55:25 -04:00
R David Murray
252cd0e4e0
#12890 : don't emit <p> tags in text mode when logdir specified.
...
Patch by Jeff McNeil.
2012-10-27 14:42:47 -04:00
Hynek Schlawack
969684f2ad
Merge 3.3
2012-10-27 12:56:30 +02:00
Hynek Schlawack
254af2644a
#16307 : Fix multiprocessing.Pool.map_async not calling its callbacks
...
Patch by Janne Karila.
2012-10-27 12:53:02 +02:00
Ezio Melotti
93653c48e6
#16210 : merge with 3.3.
2012-10-24 23:07:16 +03:00
Ezio Melotti
e6c0f0d94a
#16210 : merge with 3.2.
2012-10-24 23:06:56 +03:00
Ezio Melotti
837cd06d36
#16210 : combine the two type() docs. Patch by Pete Sevander.
2012-10-24 23:06:25 +03:00
Ezio Melotti
ccc9e617f5
#16245 : add a script to generate the html.entities.html5 dict.
2012-10-23 15:46:33 +02:00
Andrew Svetlov
950d5fdc7f
Issue #16241 : document -X faulthandler command line option.
...
Patch by Marek Šuppa.
2012-10-23 16:19:26 +03:00
Antoine Pitrou
550841253f
Issue #16220 : wsgiref now always calls close() on an iterable response.
...
Patch by Brent Tubbs.
2012-10-21 14:14:34 +02:00
Antoine Pitrou
ae247a5ff6
Issue #16220 : wsgiref now always calls close() on an iterable response.
...
Patch by Brent Tubbs.
2012-10-21 14:09:05 +02:00
Andrew Svetlov
2365f41a0e
Merge issue #9583 : Document startup option/environment interaction.
...
Patch by Todd Rovito.
2012-10-17 17:16:19 +03:00
Andrew Svetlov
abfc7df149
Issue #9583 : Document startup option/environment interaction.
...
Patch by Todd Rovito.
2012-10-17 17:15:43 +03:00
Andrew Svetlov
a514ea32b2
Merge issue #14900 : Distuguish call count and primitive call count in pstat output.
...
Patch by Arne Babenhauserheide.
2012-10-07 18:59:11 +03:00
Andrew Svetlov
2ef4584e6d
Issue #14900 : Distuguish call count and primitive call count in pstat output.
...
Patch by Arne Babenhauserheide.
2012-10-07 18:58:42 +03:00
Andrew Svetlov
1a8db9cd1d
Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@
2012-10-04 19:29:25 +03:00
Jesus Cea
e8801e2e44
MERGE: Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file
2012-10-04 13:56:23 +02:00
Jesus Cea
fc990e942f
Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file
2012-10-04 13:51:43 +02:00
Jesus Cea
491b6b7c79
MERGE: Fix Misc/ACKS alphabetic order
2012-10-03 03:01:13 +02:00
Jesus Cea
fb22f542d2
MERGE: Closes #15897 : zipimport.c doesn't check return value of fseek()
2012-10-03 03:00:37 +02:00
Jesus Cea
83451a2b40
Fix Misc/ACKS alphabetic order
2012-10-03 02:14:14 +02:00
Jesus Cea
09bf7a799d
Closes #15897 : zipimport.c doesn't check return value of fseek()
2012-10-03 02:13:05 +02:00
Ezio Melotti
c2085dd765
#15437 , #15439 : merge with 3.2.
2012-09-14 01:40:41 +03:00
Ezio Melotti
56f37aa965
#15437 , #15439 : merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly.
2012-09-14 01:24:44 +03:00
Jesus Cea
7b9c48f339
MERGE: #15676 : Proper attribution in Misc/ACKS
2012-09-10 20:20:02 +02:00
Jesus Cea
3159cb51a7
#15676 : Proper attribution in Misc/ACKS
2012-09-10 20:19:25 +02:00
Antoine Pitrou
11946fbe80
Issue #15841 : The readable(), writable() and seekable() methods of BytesIO
...
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
2012-09-05 20:13:48 +02:00
Antoine Pitrou
1d857453b7
Issue #15841 : The readable(), writable() and seekable() methods of BytesIO
...
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
2012-09-05 20:11:49 +02:00
R David Murray
64b0ef1509
Merge #12776,#11839: call argparse type function only once.
...
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
2012-08-31 23:09:34 -04:00
R David Murray
6fb8fb17bf
#12776,#11839: call argparse type function only once.
...
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
2012-08-31 22:45:20 -04:00
R David Murray
ad2a7d528a
Merge #15249 : Mangle From lines correctly when body contains invalid bytes.
...
Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.
2012-08-24 11:23:50 -04:00