R David Murray
65171b28e7
#18044 : Fix parsing of encoded words of the form =?utf8?q?=XX...?=
...
The problem was I was only checking for decimal digits after the third '?',
not for *hex* digits :(.
This changeset also fixes a couple of comment typos, deletes an unused
function relating to encoded word parsing, and removed an invalid
'if' test from the folding function that was revealed by the tests
written to validate this issue.
2013-07-11 15:52:57 -04:00
Serhiy Storchaka
3641a74e1c
Issue #17872 : Fix a segfault in marshal.load() when input stream returns
...
more bytes than requested.
2013-07-11 22:20:47 +03:00
Serhiy Storchaka
275d5fdbe4
Issue #18101 : Tcl.split() now process strings nested in a tuple as it
...
do with byte strings.
Added tests for Tcl.split() and Tcl.splitline().
2013-07-11 20:34:47 +03:00
R David Murray
5a33f81348
#17987 : properly document support.captured_xxx.
...
Patch by Dmi Baranov.
2013-07-11 12:28:40 -04:00
Christian Heimes
848ee099f5
Issue #18426 : Fix NULL pointer dereference in C extension import when
...
PyModule_GetDef() returns an error.
2013-07-11 11:22:21 +02:00
Ezio Melotti
b08495bbcf
#17198 : Fix a NameError in the dbm module. Patch by Valentina Mukhamedzhanova.
2013-07-07 13:15:08 +02:00
Florent Xicluna
331c3fd874
Issue #18013 : Fix cgi.FieldStorage to parse the W3C sample form.
2013-07-07 12:44:28 +02:00
Brett Cannon
a53cca3fea
Issue #18351 : Fix various issues with
...
importlib._bootstrap._get_sourcefile().
Thanks to its only use by the C API, it was never properly tested
until now.
Thanks to Neal Norwitz for discovering the bug and Madison May for the patch.
2013-07-06 17:56:43 -04:00
Ezio Melotti
2a99d5df63
#18380 : pass regex flags to the right argument. Patch by Valentina Mukhamedzhanova.
2013-07-06 17:16:04 +02:00
Ronald Oussoren
fd1c69e2a4
Issue #12990 : The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
2013-07-06 13:20:57 +02:00
Florent Xicluna
d9e7c86d7e
Issue #18375 : Assume --randomize when --randseed is used for running the testsuite.
2013-07-06 12:25:52 +02:00
Christian Heimes
54ad7e39df
Issue #18347 : ElementTree's html serializer now preserves the case of closing tags.
2013-07-05 01:39:49 +02:00
Antoine Pitrou
be9c841494
Issue #11185 : Fix test_wait4 under AIX. Patch by Sébastien Sablé.
2013-07-04 21:03:10 +02:00
Richard Oudkerk
e3e8bcf3e7
Issue #17261 : Ensure multiprocessing's proxies use proper address.
2013-07-02 13:37:43 +01:00
Victor Stinner
8d3795474e
Issue #18343 : faulthandler.register() now keeps the previous signal handler
...
when the function is called twice, so faulthandler.unregister() restores
correctly the original signal handler.
2013-07-02 00:14:56 +02:00
Christian Heimes
b9dbc7d6e1
Issue #18328 : Reorder ops in PyThreadState_Delete*() functions. Now the
...
tstate is first removed from TLS and then deallocated.
CID 1019639 (#1 of 1): Use after free (USE_AFTER_FREE)
use_after_free: Using freed pointer tstate.
2013-07-01 23:42:28 +02:00
Richard Oudkerk
cca8c53d6a
Issue #17097 : Make multiprocessing ignore EINTR.
2013-07-01 18:59:26 +01:00
Christian Heimes
a24b4d260b
Issue #18339 : Negative ints keys in unpickler.memo dict no longer cause a
...
segfault inside the _pickle C extension.
2013-07-01 15:17:45 +02:00
Terry Jan Reedy
8a0b7756e2
Issue #7136 : In the Idle File menu, "New Window" is renamed "New File".
...
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
2013-07-01 00:42:52 -04:00
Vinay Sajip
61d003a8f1
Issue #18224 : Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ...
2013-06-30 22:06:52 +01:00
R David Murray
925a322570
#18155 : Regex-escape delimiter, in case it is a regex special char.
...
Patch by Vajrasky Kok, with slight modification to the tests by me.
2013-06-29 18:40:53 -04:00
Terry Jan Reedy
70d2c711f1
Issue #18315 : Improve fileinput docs by adding 'bufsize' where missing and
...
replacing redundant signature in input() docstring with one-line summary.
Original patch by Terrel Shumway.
2013-06-28 18:59:28 -04:00
R David Murray
02e4a7b4a3
#14360 : Add news item.
2013-06-28 15:08:03 -04:00
Victor Stinner
6efa965a27
Issue #18135 : ssl.SSLSocket.write() now raises an OverflowError if the input
...
string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain() raises
a ValueError if the password is longer than 2 gigabytes. The ssl module does
not support partial write.
2013-06-25 00:42:31 +02:00
Serhiy Storchaka
8eeae2126c
Issue #18184 : PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
...
OverflowError when an argument of %c format is out of range.
2013-06-23 20:12:14 +03:00
Victor Stinner
9ee0203057
Issue #18135 : Fix a possible integer overflow in ssl.SSLSocket.write()
...
and in ssl.SSLContext.load_cert_chain() for strings and passwords longer
than 2 gigabytes.
2013-06-23 15:08:23 +02:00
Victor Stinner
2f084ecfe7
Issue #18137 : Detect integer overflow on precision in float.__format__() and
...
complex.__format__().
2013-06-23 14:54:30 +02:00
Senthil Kumaran
ce3dd0bdd5
Add -b and -X options to python man page.
...
Patch contributed by Corey Brune.
2013-06-19 22:19:46 -05:00
Benjamin Peterson
19886b8adc
fix libffi build on AIX ( closes #18248 )
2013-06-19 09:01:42 -07:00
Christian Heimes
d9a52f2625
merge heads
2013-06-19 02:09:00 +02:00
Christian Heimes
d2774c7d09
Issue #18259 : Declare sethostname in socketmodule.c for AIX
2013-06-19 02:06:29 +02:00
Antoine Pitrou
9a00e0a41c
Issue #18256 : Compilation fix for recent AIX releases. Patch by David Edelsohn.
2013-06-18 22:17:48 +02:00
Serhiy Storchaka
c7bfe0e42e
Issue #18167 : cgi.FieldStorage no more fails to handle multipart/form-data
...
when \r\n appears at end of 65535 bytes without other newlines.
2013-06-17 16:34:41 +03:00
Gregory P. Smith
893f2ffc7c
news entry for subprocess double close fix.
2013-06-15 18:05:17 -07:00
Andrew Kuchling
53e5ea7951
#18113 : Objects associated to a curses.panel object with set_userptr() were leaked.
...
Reported by Atsuo Ishimoto.
2013-06-15 14:04:04 -04:00
Brett Cannon
27bbfdbc4c
Drop some dead imports of imp
2013-06-15 13:37:12 -04:00
Christian Heimes
c81549f476
Issue #15172 : Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 on Windows
2013-06-14 15:40:28 +02:00
Roger Serwy
f467521927
#18196 : Avoid displaying spurious SystemExit tracebacks.
2013-06-11 22:25:14 -05:00
Roger Serwy
036e84924a
#5492 : Avoid traceback when exiting IDLE caused by a race condition.
2013-06-11 22:13:17 -05:00
Roger Serwy
391f469681
#17511 : Keep IDLE find dialog open after clicking "Find Next".
...
Original patch by Sarah K.
2013-06-10 23:01:20 -05:00
Benjamin Peterson
7e30373126
remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value (see #18183 )
2013-06-10 09:19:46 -07:00
Richard Oudkerk
409f90237c
Issue #18180 : Fix ref leak in _PyImport_GetDynLoadWindows().
2013-06-10 15:38:54 +01:00
Serhiy Storchaka
6f50b810b7
Issue #16102 : Make uuid._netbios_getnode() work again on Python 3.
2013-06-09 21:08:05 +03:00
Serhiy Storchaka
e7275ffa4c
Issue #15239 : Make mkstringprep.py work again on Python 3.
2013-06-09 17:08:00 +03:00
Serhiy Storchaka
3af14aaba5
Issue #18038 : SyntaxError raised during compilation sources with illegal
...
encoding now always contains an encoding name.
2013-06-09 16:51:52 +03:00
Ezio Melotti
c1f5839412
#18126 : update NumPy links in the documentation. Patch by Yury V. Zaytsev.
2013-06-09 01:04:21 +03:00
Ezio Melotti
28b0d9d13e
#17691 : test_univnewlines now works with unittest test discovery. Patch by Zachary Ware.
2013-06-09 00:07:06 +03:00
Brett Cannon
50793b4438
Issue #18055 : Move to importlib from imp for IDLE.
2013-06-07 13:17:48 -04:00
Victor Stinner
a534fc4b3b
Close #18109 : os.uname() now decodes fields from the locale encoding, and
...
socket.gethostname() now decodes the hostname from the locale encoding, instead
of using the UTF-8 encoding in strict mode.
2013-06-03 22:07:27 +02:00
Serhiy Storchaka
7d15b54f37
Issue #18094 : test_uuid no more reports skipped tests as passed.
2013-05-31 22:31:02 +03:00