Serhiy Storchaka
df4aa642a5
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
...
a string argument contains non-BMP character.
2013-02-18 13:02:41 +02:00
Serhiy Storchaka
59f5dee3d6
Issue #13153 : Tkinter functions now raise TclError instead of ValueError when
...
a string argument contains non-BMP character.
2013-02-18 13:01:52 +02:00
Serhiy Storchaka
b0c75a7dec
Issue #9669 : Protect re against infinite loops on zero-width matching in
...
non-greedy repeat. Patch by Matthew Barnett.
2013-02-16 21:25:05 +02:00
Serhiy Storchaka
fa46816915
Issue #9669 : Protect re against infinite loops on zero-width matching in
...
non-greedy repeat. Patch by Matthew Barnett.
2013-02-16 21:23:53 +02:00
Serhiy Storchaka
a0eb809995
Issue #13169 : The maximal repetition number in a regular expression has been
...
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:54:33 +02:00
Serhiy Storchaka
70ca0210e8
Issue #13169 : The maximal repetition number in a regular expression has been
...
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:47:47 +02:00
Ezio Melotti
23e043fdcd
#17143 : fix a missing import in the trace module. Initial patch by Berker Peksag.
2013-02-15 21:20:50 +02:00
Ezio Melotti
3a03d2eaef
#17163 : test_file now works with unittest test discovery. Patch by Zachary Ware.
2013-02-15 19:17:53 +02:00
Richard Oudkerk
a90b7132b7
Merge
2013-02-13 15:21:23 +00:00
Richard Oudkerk
439bdb1062
Add Misc/NEWS entry for Issue #16743
2013-02-13 15:19:36 +00:00
Serhiy Storchaka
5a1f152d19
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:11:03 +02:00
Serhiy Storchaka
7e0191170e
Issue #5308 : Raise ValueError when marshalling too large object (a sequence
...
with size >= 2**31), instead of producing illegal marshal data.
2013-02-13 12:08:15 +02:00
Serhiy Storchaka
ff7fef9601
Issue #16800 : tempfile.gettempdir() no longer left temporary files when
...
the disk is full. Original patch by Amir Szekely.
2013-02-13 00:37:29 +02:00
Serhiy Storchaka
f6b361ec1a
Issue #16800 : tempfile.gettempdir() no longer left temporary files when
...
the disk is full. Original patch by Amir Szekely.
2013-02-13 00:35:30 +02:00
Serhiy Storchaka
e4ad8aacd1
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-12 09:24:16 +02:00
R David Murray
66383b2e0a
Merge: #17171 : fix email.encoders.encode_7or8bit when applied to binary data.
2013-02-11 10:53:35 -05:00
R David Murray
ec317a8985
#17171 : fix email.encoders.encode_7or8bit when applied to binary data.
2013-02-11 10:51:28 -05:00
Michael Foord
b71b8ec7b1
Merge
2013-02-11 13:29:58 +00:00
Michael Foord
f78f5b11f6
Correction to issue 17052 fix
2013-02-11 13:20:52 +00:00
Michael Foord
a23a39c07d
Merge
2013-02-11 00:18:07 +00:00
Michael Foord
8fd396bd22
Issue 17502: unittest discovery should use self.testLoader
2013-02-11 00:04:24 +00:00
Serhiy Storchaka
7cf5599346
Issue #4591 : Uid and gid values larger than 2**31 are supported now.
2013-02-10 21:56:49 +02:00
Serhiy Storchaka
ac99576a8e
Issue #17141 : random.vonmisesvariate() no more hangs for large kappas.
2013-02-10 19:29:20 +02:00
Serhiy Storchaka
6c22b1d760
Issue #17141 : random.vonmisesvariate() no more hangs for large kappas.
2013-02-10 19:28:56 +02:00
Serhiy Storchaka
801d955f04
Issue #12983 : Bytes literals with invalid \x escape now raise a SyntaxError
...
and a full traceback including line number.
2013-02-10 17:42:01 +02:00
Serhiy Storchaka
5e61f14c6d
Issue #12983 : Bytes literals with invalid \x escape now raise a SyntaxError
...
and a full traceback including line number.
2013-02-10 17:36:00 +02:00
Mark Dickinson
6427358501
Issue #17149 : merge fix from 3.2.
2013-02-10 14:16:56 +00:00
Mark Dickinson
be5f91957f
Issue #17149 : Fix random.vonmisesvariate to always return results in [0, 2*math.pi].
2013-02-10 14:16:10 +00:00
Serhiy Storchaka
9fef188c9e
Issue #1470548 : XMLGenerator now works with binary output streams.
2013-02-10 14:31:07 +02:00
Serhiy Storchaka
88efc52d74
Issue #1470548 : XMLGenerator now works with binary output streams.
2013-02-10 14:29:52 +02:00
Serhiy Storchaka
d83c82440b
Issue #6975 : os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
2013-02-10 12:23:10 +02:00
Serhiy Storchaka
df32691e6f
Issue #6975 : os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
2013-02-10 12:22:07 +02:00
Antoine Pitrou
c73c561181
Issue #17173 : Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.
...
I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag), mpdecimal (needs to build without Python.h).
2013-02-09 23:14:42 +01:00
Antoine Pitrou
4de7457009
Issue #17173 : Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.
...
I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag).
2013-02-09 23:11:27 +01:00
Serhiy Storchaka
859cd4723f
Issue #17156 : pygettext.py now uses an encoding of source file and correctly
...
writes and escapes non-ascii characters.
2013-02-09 22:38:12 +02:00
Serhiy Storchaka
b6ed17344b
Issue #17156 : pygettext.py now uses an encoding of source file and correctly
...
writes and escapes non-ascii characters.
2013-02-09 22:37:22 +02:00
R David Murray
6cb1d67eb3
Merge: #16564 : Fix regression in use of encoders.encode_noop with binary data.
2013-02-09 13:10:54 -05:00
R David Murray
ceaa8b1d75
#16564 : Fix regression in use of encoders.encode_noop with binary data.
2013-02-09 13:02:58 -05:00
Serhiy Storchaka
33182807f8
Issue #10355 : SpooledTemporaryFile properties now work for unrolled files.
...
Remove obsoleted xreadline method.
2013-02-09 12:21:52 +02:00
Serhiy Storchaka
bbbbe8eb60
Issue #10355 : SpooledTemporaryFile properties now work for unrolled files.
...
Remove obsoleted xreadline method.
2013-02-09 12:21:14 +02:00
Serhiy Storchaka
8135de80f7
Issue #16686 : Fixed a lot of bugs in audioop module.
...
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
2013-02-09 11:12:36 +02:00
Serhiy Storchaka
01ad622a2c
Issue #16686 : Fixed a lot of bugs in audioop module.
...
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
2013-02-09 11:10:53 +02:00
Ned Deily
aa20b000d1
Issue #17161 : make install now also installs a python3 man page.
2013-02-08 23:02:09 -08:00
Ned Deily
a48b61f8f2
Issue #17161 : make install now also installs a python3 man page.
2013-02-08 22:53:51 -08:00
Serhiy Storchaka
70ea7fa6e5
Fix accidental non-breakable spaces (U+00A0).
2013-02-08 11:24:16 +02:00
Serhiy Storchaka
1273dfc39c
Fix accidental non-breakable spaces (U+00A0).
2013-02-08 11:22:05 +02:00
Victor Stinner
bbbac2ec34
Issue #17137 : When an Unicode string is resized, the internal wide character
...
string (wstr) format is now cleared.
2013-02-07 23:12:46 +01:00
Serhiy Storchaka
2efdc90b0f
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 17:03:46 +02:00
Serhiy Storchaka
3cf96ac248
Issue #17073 : Fix some integer overflows in sqlite3 module.
2013-02-07 17:01:47 +02:00
Serhiy Storchaka
03ee12ed72
Issue #17043 : The unicode-internal decoder no longer read past the end of
...
input buffer.
2013-02-07 16:25:25 +02:00
Serhiy Storchaka
3fd4ab356d
Issue #17043 : The unicode-internal decoder no longer read past the end of
...
input buffer.
2013-02-07 16:23:21 +02:00
Serhiy Storchaka
705ef7a03d
Issue #17114 : IDLE now uses non-strict config parser.
2013-02-07 15:25:09 +02:00
Serhiy Storchaka
8995300298
Issue #17114 : IDLE now uses non-strict config parser.
2013-02-07 15:24:36 +02:00
Serhiy Storchaka
b6c86fd87f
Issue #16723 : httplib.HTTPResponse no longer marked closed when the connection
...
is automatically closed.
2013-02-06 10:35:40 +02:00
Serhiy Storchaka
b5b9c8cd40
Issue #16723 : httplib.HTTPResponse no longer marked closed when the connection
...
is automatically closed.
2013-02-06 10:31:57 +02:00
R David Murray
e201e9d584
Merge: #16948 : Fix quopri encoding of non-latin1 character sets.
2013-02-05 10:55:27 -05:00
R David Murray
f581b37200
#16948 : Fix quopri encoding of non-latin1 character sets.
2013-02-05 10:49:49 -05:00
R David Murray
6e32442fd4
News item for issue #16811 fix.
2013-02-05 10:17:09 -05:00
Benjamin Peterson
16d86aa69d
update symbol.py for yield from grammar changes ( closes #17132 )
2013-02-05 10:12:14 -05:00
Hynek Schlawack
0beab058dd
#17076 : Make copying of xattrs more permissive of missing FS support
...
Patch by Thomas Wouters.
2013-02-05 08:22:44 +01:00
Serhiy Storchaka
36b365ccff
Issue #17089 : Expat parser now correctly works with string input not only when
...
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
2013-02-04 18:28:01 +02:00
Serhiy Storchaka
43536e9e37
Issue #17089 : Expat parser now correctly works with string input not only when
...
an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and
strings larger than 2 GiB.
2013-02-04 18:26:15 +02:00
Serhiy Storchaka
b3f194d109
Issue #16903 : Popen.communicate() on Unix now accepts strings when
...
universal_newlines is true as on Windows.
2013-02-04 16:47:39 +02:00
Serhiy Storchaka
1d0bb9c8f9
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:54:04 +02:00
Serhiy Storchaka
19c4e0df29
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:47:24 +02:00
Benjamin Peterson
cfe34744e3
fix find_library on Solaris ( closes #5289 )
2013-02-03 19:25:11 -05:00
Serhiy Storchaka
d03ce4ae3d
Issue #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying
...
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:07:32 +02:00
Serhiy Storchaka
94dc6736bd
Issue #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying
...
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:03:31 +02:00
Ned Deily
6d29628d6b
Issue #16698 : merge from 3.2
2013-02-02 15:12:59 -08:00
Ned Deily
028915e6ea
Issue #16698 : Skip posix test_getgroups when built with OS X
...
deployment target prior to 10.6.
2013-02-02 15:08:52 -08:00
Antoine Pitrou
6a35e18161
Issue #15633 : httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
2013-02-02 23:04:56 +01:00
Antoine Pitrou
beec61ae4e
Issue #15633 : httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
2013-02-02 22:49:34 +01:00
Nadeem Vawda
c27bcbf863
Back out fix for issue #13886 ; it introduced a new bug in interactive readline use.
2013-02-02 20:25:19 +01:00
Nadeem Vawda
6375257188
Back out fix for issue #13886 ; it introduced a new bug in interactive readline use.
2013-02-02 20:05:11 +01:00
Serhiy Storchaka
f22bc64728
Null merge
2013-02-02 10:38:59 +02:00
Ned Deily
c2aadc267a
Issue #15116 : merge from 3.2
2013-02-02 00:19:05 -08:00
Ned Deily
ae8d6ac3f4
Issue #15116 : Remove references to appscript as it is no longer being
...
supported.
2013-02-02 00:16:14 -08:00
Ned Deily
380f7a186f
Issue #15587 : merge from 3.2
2013-02-01 23:15:51 -08:00
Ned Deily
9cd864dcbf
Issue #15587 : Enable Tk high-resolution text rendering on Macs with
...
Retina displays. Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer
2013-02-01 23:12:42 -08:00
Ned Deily
8214b9b293
Issue #16256 : merge from 3.2
2013-02-01 14:05:26 -08:00
Ned Deily
6214d4937c
Issue #16256 : OS X installer now sets correct permissions for doc directory.
2013-02-01 13:59:42 -08:00
Gregory P. Smith
99ec7f6f3e
Additional fix for issue #12268 : The io module file object write methods no
...
longer abort early when a write system call is interrupted (EINTR).
2013-02-01 13:08:23 -08:00
Gregory P. Smith
9b57cf5810
better corrected news entry
2013-02-01 13:06:44 -08:00
Gregory P. Smith
b9817b01ed
Additional fix for Issue #12268 : The io module file object writelines() methods no longer abort early when one of its write system calls is interrupted (EINTR).
2013-02-01 13:03:39 -08:00
Gregory P. Smith
193e1be72d
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
...
its destination path when extracting malicious zip files.
2013-02-01 11:31:31 -08:00
Gregory P. Smith
b47acbf46a
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
...
its destination path when extracting malicious zip files.
2013-02-01 11:22:43 -08:00
Brett Cannon
0ecd30b4af
Issue #17098 : Make sure every module has __loader__ defined.
...
Thanks to Thomas Heller for the bug report.
2013-02-01 14:04:12 -05:00
Serhiy Storchaka
d72bfe9eb9
Issue #4844 : ZipFile now raises BadZipFile when opens a ZIP file with an
...
incomplete "End of Central Directory" record. Original patch by Guilherme
Polo and Alan McIntyre.
2013-01-31 15:29:20 +02:00
Serhiy Storchaka
d2b1527f14
Issue #4844 : ZipFile now raises BadZipFile when opens a ZIP file with an
...
incomplete "End of Central Directory" record. Original patch by Guilherme
Polo and Alan McIntyre.
2013-01-31 15:27:07 +02:00
Ned Deily
fc20d77b40
Issue #13590 : OS X Xcode 4 - improve support for universal extension modules
...
In particular, fix extension module build failures when trying to use
32-bit-only installer Pythons on systems with Xcode 4 (currently
OS X 10.8, 10.7, and optionally 10.6).
* Backport 3.3.0 fixes to 3.2 branch (for release in 3.2.4)
* Since Xcode 4 removes ppc support, extension module builds now
check for ppc compiler support and by default remove ppc and
ppc64 archs when they are not available.
* Extension module builds now revert to using system installed
headers and libs (/usr and /System/Library) if the SDK used
to build the interpreter is not installed or has moved.
* Try to avoid building extension modules with deprecated
and problematic Apple llvm-gcc compiler. If original compiler
is not available, use clang instead by default.
2013-01-31 01:28:23 -08:00
Michael Foord
d1da29c99d
Merge
2013-01-29 23:14:59 +00:00
Michael Foord
6debd76939
Closes issue 15505. unittest.installHandler and non-callable signal handlers.
2013-01-29 23:07:57 +00:00
Antoine Pitrou
bd41d1b14c
Issue #17071 : Signature.bind() now works when one of the keyword arguments is named ``self``.
2013-01-29 21:20:57 +01:00
Serhiy Storchaka
c5b75db5de
Issue #12004 : Fix an internal error in PyZipFile when writing an invalid
...
Python file. Patch by Ben Morgan.
2013-01-29 20:14:08 +02:00
Serhiy Storchaka
45c4375ea7
Issue #12004 : Fix an internal error in PyZipFile when writing an invalid
...
Python file. Patch by Ben Morgan.
2013-01-29 20:10:28 +02:00
Serhiy Storchaka
1e49dde2d9
Move NEWS entity from library to core section.
2013-01-29 12:06:28 +02:00
Serhiy Storchaka
a97c57c8fd
Move NEWS entity from library to core section.
2013-01-29 12:05:46 +02:00
Serhiy Storchaka
24193debd4
Issue #16979 : Fix error handling bugs in the unicode-escape-decode decoder.
2013-01-29 10:28:07 +02:00
Serhiy Storchaka
d679377be7
Issue #16979 : Fix error handling bugs in the unicode-escape-decode decoder.
2013-01-29 10:20:44 +02:00
Serhiy Storchaka
26f1166510
Issue #17041 : Fix testing when Python is configured with the
...
--without-doc-strings.
2013-01-27 20:03:39 +02:00