Michael Foord
bf2ad34650
Pass on parameters in unittest.TextTestResult.__init__ super call
2012-09-28 12:54:56 +01:00
Petri Lehtinen
a4fd0dc574
#15222 : Insert blank line after each message in mbox mailboxes
2012-09-25 22:01:23 +03:00
Barry Warsaw
0dea936e78
- Issue #15935 : Clarification of argparse docs, re: add_argument() type and
...
default arguments. Patch contributed by Chris Jerdonek.
2012-09-25 10:32:53 -04:00
Christian Heimes
671138f27d
Issue #16037 : Limit httplib's _read_status() function to work around broken
...
HTTP servers and reduce memory usage. It's actually a backport of a Python
3.2 fix. Thanks to Adrien Kunysz.
2012-09-25 13:29:30 +02:00
Senthil Kumaran
d41dc7ce46
2.7 : Issue #16013 : Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka.
2012-09-25 02:48:21 -07:00
Christian Heimes
8112ea2360
Issue #16012 : Fix a regression in pyexpat. The parser's UseForeignDTD()
...
method doesn't require an argument again.
2012-09-24 13:17:08 +02:00
Ezio Melotti
cadff70ba5
#15421 : fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier.
2012-09-21 17:26:35 +03:00
doko@ubuntu.com
3d2fc15f82
- Issue #11715 : Fix multiarch detection without having Debian development
...
tools (dpkg-dev) installed.
2012-09-21 13:51:40 +02:00
Ezio Melotti
6d6fb3aa9f
#15970 : xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param".
2012-09-19 08:11:03 +03:00
Barry Warsaw
03fcfbef0a
- Issue #15906 : Fix a regression in argparse caused by the preceding change,
...
when action='append', type='str' and default=[].
2012-09-11 21:06:29 -04:00
Jesus Cea
3fb774ec5f
Closes #15910 : MD5 and SHA1 crash when "updated" with strings bigger than 2**32 bytes
2012-09-10 21:39:07 +02:00
Jesus Cea
03a9d2a20b
Closes #15908 : SHA1 crashes in 64 bits when the string to hash is bigger than 2**32 bytes
2012-09-10 21:04:42 +02:00
Jesus Cea
8b54d6d733
Closes #15676 : mmap: add empty file check prior to offset check
2012-09-10 00:22:39 +02:00
Ned Deily
10fc104fed
Issue #15822 : Fix installation of lib2to3 grammar pickles to ensure
...
they are created in the install locations and with the proper timestamp.
(Solution suggested by MvL)
2012-09-08 18:47:27 -07:00
Antoine Pitrou
e299cae230
Issue #15340 : Fix importing the random module when /dev/urandom cannot be opened.
...
This was a regression caused by the hash randomization patch.
2012-09-07 23:49:07 +02:00
Antoine Pitrou
58098a77e6
Issue #13992 : The trashcan mechanism is now thread-safe. This eliminates
...
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.
Because of this change, a couple extension modules compiled for 2.7.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 2.7.3 and earlier. However, extension modules
compiled for 2.7.3 and earlier will be loadable by 2.7.4.
2012-09-06 00:59:49 +02:00
Antoine Pitrou
c5eec0e387
Issue #15841 : The readable(), writable() and seekable() methods of io.BytesIO
...
and io.StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
2012-09-05 20:11:49 +02:00
Petri Lehtinen
80f4553d56
#15802 : Fix test logic in TestMaildir.test_create_tmp
2012-09-01 14:25:48 +03:00
Petri Lehtinen
f9e1f1128b
#13769 : Enhance docs for ensure_ascii semantics in JSON decoding functions
2012-09-01 07:29:06 +03:00
R David Murray
201018718f
#12776,#11839: call argparse type function only once.
...
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
2012-08-31 23:15:28 -04:00
Trent Nelson
f6407a184d
Issue #15819 : Fix out-of-tree builds from a readonly source.
2012-08-30 14:56:13 +00:00
Trent Nelson
da4277a739
Issue #15765 : Fix quirky NetBSD getcwd() behaviour.
...
This is done by extending a previous fix for issue #9185 that was made for
Solaris and OpenBSD to NetBSD as well.
2012-08-29 09:20:41 -04:00
Benjamin Peterson
23d49d3e7e
use the stricter PyMapping_Check ( closes #15801 )
2012-08-28 17:55:35 -04:00
Hynek Schlawack
7d978902d0
#14880 : Fix kwargs notation in csv.reader, .writer & .register_dialect
...
Patch by Chris Rebert.
2012-08-28 12:33:46 +02:00
Ronald Oussoren
a00b100c9c
Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using the clang compiler
2012-08-25 11:18:48 +02:00
Mark Dickinson
088cec3ab7
Issue #15544 : Fix Decimal.__float__ to work with payload-carrying NaNs.
2012-08-24 20:06:30 +01:00
Antoine Pitrou
f3e0a69d88
Issue #14674 : Add a discussion of the json module's standard compliance.
...
Patch by Chris Rebert.
2012-08-24 19:46:17 +02:00
Ned Deily
8622f09d98
Issue #15645 : Ensure 2to3 grammar pickles are properly installed.
...
(Patch by Ronald Oussoren)
2012-08-22 23:26:06 -07:00
Petri Lehtinen
4efdc09a8d
#15199 : Fix JavaScript's default MIME type to application/javascript
2012-08-20 21:28:46 +03:00
Antoine Pitrou
0e3a4c8058
Issue #15615 : Add some tests for the json module's handling of invalid input data.
...
Patch by Kushal Das.
2012-08-18 20:51:05 +02:00
Mark Dickinson
2de4be2efd
Add workaround for log1p(-0.0) on platforms where it's broken.
2012-08-18 12:31:34 +01:00
Antoine Pitrou
c5bef75c77
Issue #15604 : Update uses of PyObject_IsTrue() to check for and handle errors correctly.
...
Patch by Serhiy Storchaka.
2012-08-15 23:16:51 +02:00
Petri Lehtinen
2d44ceeada
#11062 : Fix adding a message from file to Babyl mailbox
2012-08-15 14:25:41 +03:00
Richard Oudkerk
faee75c33a
Issue #15646 : Prevent equivalent of a fork bomb when using multiprocessing
...
on Windows without the "if __name__ == '__main__'" idiom.
2012-08-14 11:41:19 +01:00
Brian Curtin
bc77d3690b
Fix #15496 . Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth
2012-08-13 17:26:48 -05:00
Senthil Kumaran
2f76f73d73
Issue #15630 : Add an example for "continue" statement in the tutorial. Patch by
...
Daniel Ellis.
2012-08-12 11:58:53 -07:00
Meador Inge
2d639d5665
Issue #15424 : Add a __sizeof__ implementation for array objects.
...
Patch by Ludwig Hähne.
2012-08-10 22:05:45 -05:00
Brian Curtin
a939105a40
Fix #15567 . collections.deque wasn't imported
2012-08-09 23:04:42 -05:00
Ned Deily
670280470d
Issue #15560 : Fix building _sqlite3 extension on OS X with an SDK.
2012-08-05 14:42:45 -07:00
Andrew Svetlov
8ba844ac14
Issue #13052 : Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
...
Patch by Roger Serwy.
2012-08-04 21:45:23 +03:00
Jesus Cea
d4e58dc966
Closes #15469 : Correct __sizeof__ support for deque
2012-08-03 14:48:23 +02:00
Jesus Cea
3e3192d8f7
Closes #15512 : Correct __sizeof__ support for parser
2012-08-03 14:25:53 +02:00
Antoine Pitrou
1fa9f7b3d1
Issue #15538 : Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
...
Patch by Philipp Hagemeister.
2012-08-02 20:37:12 +02:00
Martin v. Löwis
33f8c3a901
Issue #8847 : Disable COMDAT folding in Windows PGO builds.
2012-08-01 10:05:27 +02:00
Andrew Svetlov
8a15c37df7
Issue #9803 : Don't close IDLE on saving if breakpoint is open.
...
Patch by Roger Serwy.
2012-07-31 19:51:27 +03:00
Andrew Svetlov
2d96848c7e
Issue #12288 : Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
2012-07-30 20:04:53 +03:00
Ned Deily
d8ec464dbb
Issue #14018 : Fix OS X Tcl/Tk framework checking when using OS X SDKs.
2012-07-30 04:07:49 -07:00
Antoine Pitrou
baee34c344
Issue #15489 : Add a __sizeof__ implementation for BytesIO objects.
...
Patch by Serhiy Storchaka.
2012-07-30 00:01:06 +02:00
Antoine Pitrou
bff5df0d1c
Issue #15487 : Add a __sizeof__ implementation for buffered I/O objects.
...
Patch by Serhiy Storchaka.
2012-07-29 19:02:46 +02:00
Martin v. Löwis
c02e1e65c4
Issue #15467 : Move helpers for __sizeof__ tests into test_support.
...
Patch by Serhiy Storchaka.
2012-07-29 16:30:50 +02:00