Commit Graph

65867 Commits

Author SHA1 Message Date
Petri Lehtinen 9e14755b46 Issue #14720: sqlite3: Convert datetime microseconds correctly
Patch by Lowe Thiderman
2013-02-23 19:05:09 +01:00
Petri Lehtinen c23178ba36 Issue #5033: Fix building of the sqlite3 extension module 2013-02-23 17:05:28 +01:00
Ezio Melotti 0a4a7e13f3 Fix deprecation warning in test_tcl. 2013-02-23 08:19:00 +02:00
Ezio Melotti 4dbcec9dd1 Fix deprecation warning in tempfile. 2013-02-23 08:16:07 +02:00
Ezio Melotti ef1db54ac1 #17249: check for the availability of the thread module. 2013-02-23 06:33:51 +02:00
Ezio Melotti 2fddfd85bd #17249: convert a test in test_capi to use unittest and reap threads. 2013-02-23 05:45:37 +02:00
Ezio Melotti 6a959a1213 #15438: add a note to math.pow() that suggests using **/pow() for integers. Patch by Mark Dickinson. 2013-02-23 04:53:44 +02:00
Ezio Melotti 43b09d49b6 Fix the highlight in another example. 2013-02-22 07:53:23 +02:00
Ezio Melotti 986f71cb2d #17256: fix syntax highlight in embedding example. Patch by Kushal Das. 2013-02-22 07:38:11 +02:00
Ezio Melotti ed5fba2ad9 #17035: use new style classes in classmethod/staticmethod examples. Patch by Berker Peksag. 2013-02-22 07:34:52 +02:00
Chris Jerdonek 13cee1696f Issue #17203: add long option names to unittest discovery docs. 2013-02-21 18:52:12 -08:00
Ezio Melotti 7d0eb4b234 #17255: test short-circuiting behavior of any()/all(). Patch by Wim Glenn. 2013-02-21 23:15:40 +02:00
Serhiy Storchaka 49d4022d7d Issue #17225: JSON decoder now counts columns in the first line starting
with 1, as in other lines.
2013-02-21 20:17:54 +02:00
Serhiy Storchaka 484dee38e6 Issue #17248: Fix os.*chown() testing when user is in root group. 2013-02-21 14:33:45 +02:00
Ezio Melotti d5bdb1f140 #17265: fix highlight in template example. Initial patch by Berker Peksag. 2013-02-21 12:30:32 +02:00
Barry Warsaw 01a97f3612 null merge from 2.6 2013-02-20 18:25:17 -05:00
Barry Warsaw f25d95732c - Issue #16248: Disable code execution from the user's home directory by
tkinter when the -E flag is passed to Python.  Patch by Zachary Ware.
2013-02-20 18:19:55 -05:00
Benjamin Peterson 8e830a0664 fix building without pymalloc (closes #17228) 2013-02-20 16:54:30 -05:00
Serhiy Storchaka fffc479f15 Issue #17248: Fix os.*chown() testing when user has group root. 2013-02-20 19:47:31 +02:00
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