Commit graph

65848 commits

Author SHA1 Message Date
Serhiy Storchaka
3e188c4ebb Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings. 2013-02-20 19:39:59 +02:00
R David Murray
c32b678fd0 #7842: backport fix for py_compile.compile syntax error message handling. 2013-02-19 20:00:11 -05:00
R David Murray
5aff27aec1 #7963: fix error message when 'object' called with arguments.
Patch by Alexander Belopolsky.
2013-02-18 22:04:59 -05:00
Serhiy Storchaka
c8e75ba2c5 Disable posixpath.realpath() tests on Windows (fix for issue #6975). 2013-02-18 13:32:06 +02:00
Serhiy Storchaka
4676448941 Issue #13153: Tkinter functions now raise TclError instead of ValueError when
a unicode argument contains non-BMP character.
2013-02-18 13:00:08 +02:00
Serhiy Storchaka
142d2bc3f1 Fix posixpath.realpath() for multiple pardirs (fixes issue #6975). 2013-02-18 12:20:44 +02:00
Serhiy Storchaka
fbc737eda1 Fix issue #13169: Reimport MAXREPEAT into sre_constants.py. 2013-02-18 11:14:04 +02:00
Antoine Pitrou
4f53550ca1 Remove unused certificate files 2013-02-16 21:40:16 +01:00
Antoine Pitrou
60982914b4 Fix test_ssl by replacing expired X509 certificate 2013-02-16 21:39:28 +01:00
Serhiy Storchaka
6a8e2b4982 Issue #9669: Protect re against infinite loops on zero-width matching in
non-greedy repeat.  Patch by Matthew Barnett.
2013-02-16 21:23:01 +02:00
Serhiy Storchaka
e18e05cce9 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:15 +02:00
Ezio Melotti
94bf697b01 #17178: update any()/all() docstrings to document their behavior with empty iterables. Patch by Ankur Ankan. 2013-02-15 23:35:14 +02:00
Antoine Pitrou
f1575714ff Issue #17208: add a note about the termination behaviour of daemon threads. 2013-02-15 21:27:18 +01:00
Richard Oudkerk
f4b6560f7c Add Misc/NEWS entry for Issue #16743 2013-02-13 15:17:47 +00:00
Richard Oudkerk
36b9d413d7 Issue #16743: Fix mmap overflow check on 32 bit Windows 2013-02-13 12:05:14 +00:00
Serhiy Storchaka
ec50cb292f Fix tests for issue #5308. 2013-02-13 12:31:19 +02:00
Serhiy Storchaka
8d7d6bcc25 Issue #11311: StringIO.readline(0) now returns an empty string as all other
file-like objects.
2013-02-13 12:26:58 +02:00
Serhiy Storchaka
34fe1b7a3d 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:07:43 +02:00
Serhiy Storchaka
7d360038f5 Fix for issue #16800: Use buffered write to handle EINTR. 2013-02-13 00:59:11 +02:00
Serhiy Storchaka
0127de0b87 Issue #16800: tempfile.gettempdir() no longer left temporary files when
the disk is full.  Original patch by Amir Szekely.
2013-02-13 00:34:46 +02:00
Serhiy Storchaka
cdc7a91dde Issue #13555: cPickle now supports files larger than 2 GiB. 2013-02-12 21:36:47 +02:00
Serhiy Storchaka
da5c2a0646 Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:27:53 +02:00
Serhiy Storchaka
083c0aac32 Clean trailing whitespaces in Makefile.pre.in and grpmodule.c. 2013-02-12 09:20:19 +02:00
Ned Deily
aa1e1a2755 Issue #17111: Prevent test_surrogates (test_fileio) failure on OS X 10.4.
An odd bug in OS X 10.4 causes open(2) on a non-existent,
invalid-encoded filename to return errno 22, EINVAL: Invalid argument,
instead of the expected errno 2, ENOENT: No such file or directory,
*if* the containing directory is not empty.  That caused frequent
failures when running the buildbot tests on 10.4 depending on the state
of the test working directory.  The failure is easy to reproduce on
10.4 by running the test directly (not with regrtest), first in an empty
directory, then after adding a file to it.  The fix is to check for and
pass if either errno is returned.
2013-02-11 22:10:59 -08:00
R David Murray
c114cc8684 #17171: backport behavior-confirming test from python3. 2013-02-11 10:57:37 -05:00
R David Murray
f1d3473a2b #17064: fix sporadic permission errors in test_mailbox on windows.
Backported from patch by Jeremy Kloth.
2013-02-11 10:14:24 -05:00
Michael Foord
c36bf99189 Correction to issue 17052 fix 2013-02-11 12:53:21 +00:00
Michael Foord
cb66ee7f56 Issue 17502: unittest discovery should use self.testLoader 2013-02-10 23:59:46 +00:00
Serhiy Storchaka
65d56390bb Issue #17141: random.vonmisesvariate() no more hangs for large kappas. 2013-02-10 19:27:37 +02:00
Mark Dickinson
9aaeb5e0c8 Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*math.pi]. 2013-02-10 14:13:40 +00:00
Serhiy Storchaka
f898038ca0 Issue #1470548: XMLGenerator now works with UTF-16 and UTF-32 encodings. 2013-02-10 14:26:08 +02:00
Serhiy Storchaka
0dd3d309ab Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms. 2013-02-10 12:21:49 +02:00
Serhiy Storchaka
bb80131375 Import shutil for restore_test_support_TESTFN(). 2013-02-10 12:01:31 +02:00
Raymond Hettinger
6688bdbe77 Minor cleanups. 2013-02-09 18:55:44 -05:00
Serhiy Storchaka
15ea3ac67a Issue #17156: pygettext.py now correctly escapes non-ascii characters. 2013-02-09 22:36:22 +02:00
Raymond Hettinger
4234992c75 Keep IDLE from displaying spurious SystemExit tracebacks
when running scripts that terminated by raising SystemExit
(i.e. unittest and turtledemo).
2013-02-09 14:20:55 -05:00
R David Murray
a5e7f8f8e0 #16564: test to confirm behavior that regressed in python3.
Also add running of test_email_renamed to the email regrtest.  It contains
tests that the base email/tests/test_email.py does not, which I discovered
while trying to backport this test for confirmation of the behavior.
2013-02-09 12:53:29 -05:00
Christian Heimes
56656b0118 add proper dependencies on expat headers and sources 2013-02-09 17:02:06 +01:00
Serhiy Storchaka
276f1d5139 Issue #7358: cStringIO.StringIO now supports writing to and reading from
a stream larger than 2 GiB on 64-bit systems.
2013-02-09 13:47:43 +02:00
Serhiy Storchaka
beaa3adae9 Issue #10355: SpooledTemporaryFile properties and xreadline method now work for unrolled files. 2013-02-09 12:20:18 +02:00
Serhiy Storchaka
62e709c52b 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:30 +02:00
Ned Deily
ed1e4382c4 Issue #17161: make install now also installs a python2 and python man page. 2013-02-08 22:51:52 -08:00
Serhiy Storchaka
c12dcd2e4d Fix accidental non-breakable space (U+00A0). 2013-02-08 11:21:32 +02:00
Gregory P. Smith
ec02217f4c whitespace fix 2013-02-07 22:18:21 -08:00
Gregory P. Smith
a26ec65d93 Issue #6972: fix the documentation mis applied patch. 2013-02-07 22:11:03 -08:00
Serhiy Storchaka
35c52b687f Issue #17073: Fix some integer overflows in sqlite3 module. 2013-02-07 16:59:34 +02:00
Serhiy Storchaka
d5327d95d2 Issue #17043: The unicode-internal decoder no longer read past the end of
input buffer.
2013-02-07 16:23:11 +02:00
Serhiy Storchaka
4a88041444 Issue #17118: Add new tests for testing Python-Tcl interaction. 2013-02-07 15:37:53 +02:00
Serhiy Storchaka
8e8bbc5e7d Fix test_from_dll* in test_returnfuncptrs.py. 2013-02-07 14:57:53 +02:00
Senthil Kumaran
785d1b1703 Fix Issue17069: Document getcode method in urllib.request.rst 2013-02-07 00:51:34 -08:00