Commit Graph

76271 Commits

Author SHA1 Message Date
R David Murray b3e8384cbe #17064: fix sporadic permission errors in test_mailbox on windows.
Patch by Jeremy Kloth.
2013-02-11 10:04:26 -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 b462189921 Reject float as uid or gid.
A regression was introduced in the commit for issue issue #4591.
2013-02-10 23:28:02 +02: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 bf95c143a2 Fix a test for SpooledTemporaryFile (added in issue #10355). 2013-02-10 14:44:14 +02:00
Serhiy Storchaka 497cee456c Fix a test for SpooledTemporaryFile (added in issue #10355). 2013-02-10 14:43:46 +02: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
Raymond Hettinger 986bbfc079 Backport deque.rotate() improvements. 2013-02-09 20:00:55 -05: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
Serhiy Storchaka 7451a72e2b Issue #17169: Restore errno in tempfile exceptions. 2013-02-09 22:25:49 +02:00
R David Murray f4b54adc70 Merge: #17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
2013-02-09 13:24:44 -05:00
R David Murray 041d553319 #17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
2013-02-09 13:23:46 -05: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
Christian Heimes 7d01a1eb2b add proper dependencies on expat headers and sources 2013-02-09 17:02:16 +01:00
Christian Heimes d489c7a0a3 add proper dependencies on expat headers and sources 2013-02-09 17:02:06 +01:00
Benjamin Peterson 5d50adee50 StringIO.StringIO -> io.StringIO (closes #17168) 2013-02-09 08:57:28 -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 19a5214da4 Minor fix of previous commit. 2013-02-09 11:51:48 +02:00
Serhiy Storchaka 4b109cb4a8 Minor fix of previous commit. 2013-02-09 11:51:21 +02:00
Serhiy Storchaka 23a6726bc8 Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation. 2013-02-09 11:47:20 +02:00
Serhiy Storchaka 4f169a7a4d Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation. 2013-02-09 11:46:42 +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
Gregory P. Smith 5546b002de Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.
2013-02-07 22:15:51 -08:00
Gregory P. Smith f1319d81f7 Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.
2013-02-07 22:15:04 -08:00
Senthil Kumaran cf6e21ccef Addressing the review comment made by Terry Reedy 2013-02-07 21:44:42 -08:00
Senthil Kumaran d03f467dc2 Addressing the review comment made by Terry Reedy 2013-02-07 21:43:21 -08: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