]> granicus.if.org Git - python/log
python
12 years ago#9957: document that SpooledTemporaryFile.truncate does not take size arg
R David Murray [Sat, 6 Oct 2012 22:26:40 +0000 (18:26 -0400)]
#9957: document that SpooledTemporaryFile.truncate does not take size arg

12 years agoIssue #16025: Minor corrections to the zipfile documentation.
Andrew Svetlov [Sat, 6 Oct 2012 15:01:05 +0000 (18:01 +0300)]
Issue #16025: Minor corrections to the zipfile documentation.

Patch by Serhiy Storchaka.

12 years ago#16112: platform.architecture does not correctly escape argument to /usr/bin/file...
Jesus Cea [Fri, 5 Oct 2012 03:18:47 +0000 (05:18 +0200)]
#16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch

12 years ago#16112: platform.architecture does not correctly escape argument to /usr/bin/file...
Jesus Cea [Fri, 5 Oct 2012 02:50:17 +0000 (04:50 +0200)]
#16112: platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()'

12 years agoIssue #14997: disable <F5> in idle shell window.
Andrew Svetlov [Thu, 4 Oct 2012 19:52:07 +0000 (22:52 +0300)]
Issue #14997: disable <F5> in idle shell window.

Thanks to Roger Serwy for patch.

12 years agoCloses #16112: platform.architecture does not correctly escape argument to /usr/bin...
Jesus Cea [Thu, 4 Oct 2012 13:14:56 +0000 (15:14 +0200)]
Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Solve a 2.7 bootstrap issue

12 years agoBacked out changeset 5abacebec9d2
Jesus Cea [Thu, 4 Oct 2012 13:06:57 +0000 (15:06 +0200)]
Backed out changeset 5abacebec9d2

12 years agoBacked out changeset c73b90b6dadd
Jesus Cea [Thu, 4 Oct 2012 12:22:16 +0000 (14:22 +0200)]
Backed out changeset c73b90b6dadd

12 years agoCloses #16112: platform.architecture does not correctly escape argument to /usr/bin...
Jesus Cea [Thu, 4 Oct 2012 11:46:33 +0000 (13:46 +0200)]
Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file

12 years agoIssue #12947: Better workaround for the problem with doctest directives being strippe...
Nick Coghlan [Wed, 3 Oct 2012 08:18:17 +0000 (13:48 +0530)]
Issue #12947: Better workaround for the problem with doctest directives being stripped from code examples that are intended to illustrate those directives

12 years agoIssue #12947: Add a note to doctest until the example rendering is fixed
Nick Coghlan [Wed, 3 Oct 2012 06:48:23 +0000 (12:18 +0530)]
Issue #12947: Add a note to doctest until the example rendering is fixed

12 years agoFix Misc/ACKS alphabetic order
Jesus Cea [Wed, 3 Oct 2012 00:14:14 +0000 (02:14 +0200)]
Fix Misc/ACKS alphabetic order

12 years agoCloses #15897: zipimport.c doesn't check return value of fseek()
Jesus Cea [Wed, 3 Oct 2012 00:13:05 +0000 (02:13 +0200)]
Closes #15897: zipimport.c doesn't check return value of fseek()

12 years ago#15979: improve timeit documentation.
Ezio Melotti [Tue, 2 Oct 2012 02:34:38 +0000 (05:34 +0300)]
#15979: improve timeit documentation.

12 years agoClose #16036: Backport 3.x documentation improvement.
Chris Jerdonek [Mon, 1 Oct 2012 04:07:56 +0000 (21:07 -0700)]
Close #16036: Backport 3.x documentation improvement.

See changeset 6ccb04c4cbae for the corresponding 3.3 change.

12 years agoFix sqlite3 class markup.
R David Murray [Mon, 1 Oct 2012 01:04:46 +0000 (21:04 -0400)]
Fix sqlite3 class markup.

12 years ago#15923: fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24...
Ezio Melotti [Sun, 30 Sep 2012 19:41:37 +0000 (22:41 +0300)]
#15923: fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24 (see #15801).

12 years agoCommit current version of the doc "dailybuild" script.
Georg Brandl [Sun, 30 Sep 2012 07:03:09 +0000 (09:03 +0200)]
Commit current version of the doc "dailybuild" script.

12 years agoDoc sidebar: point to 3.4 as dev.
Georg Brandl [Sun, 30 Sep 2012 06:59:31 +0000 (08:59 +0200)]
Doc sidebar: point to 3.4 as dev.

12 years agomerge heads
Gregory P. Smith [Sat, 29 Sep 2012 19:03:12 +0000 (12:03 -0700)]
merge heads

12 years agoIssue #15756: subprocess.poll() now properly handles errno.ECHILD to
Gregory P. Smith [Sat, 29 Sep 2012 19:02:48 +0000 (12:02 -0700)]
Issue #15756: subprocess.poll() now properly handles errno.ECHILD to
return a returncode of 0 when the child has already exited or cannot
be waited on.

12 years agoClose issue #16077: fix code example in documentation of reduce() built-in (from...
Chris Jerdonek [Sat, 29 Sep 2012 18:51:37 +0000 (11:51 -0700)]
Close issue #16077: fix code example in documentation of reduce() built-in (from docs@).

12 years ago#16085: Don't promote shadowing builtins in the configparser example.
R David Murray [Sat, 29 Sep 2012 18:44:16 +0000 (14:44 -0400)]
#16085: Don't promote shadowing builtins in the configparser example.

12 years agoIssues #16029, #16030: Fix pickling and repr of large xranges.
Mark Dickinson [Fri, 28 Sep 2012 19:36:36 +0000 (20:36 +0100)]
Issues #16029, #16030: Fix pickling and repr of large xranges.

12 years ago#16071: fix email.message links in the mailbox docs.
R David Murray [Fri, 28 Sep 2012 19:21:32 +0000 (15:21 -0400)]
#16071: fix email.message links in the mailbox docs.

12 years agoCloses #15953: Incorrect some fields declaration in the PyTypeObject documentation
Jesus Cea [Fri, 28 Sep 2012 14:33:38 +0000 (16:33 +0200)]
Closes #15953: Incorrect some fields declaration in the PyTypeObject documentation

12 years agoUpdate docs for string.zfill
Andrew Svetlov [Fri, 28 Sep 2012 13:32:27 +0000 (16:32 +0300)]
Update docs for string.zfill

12 years agoUpdate documentation for string.replace. Thanks to docs@
Andrew Svetlov [Fri, 28 Sep 2012 13:31:06 +0000 (16:31 +0300)]
Update documentation for string.replace. Thanks to docs@

12 years agoPass on parameters in unittest.TextTestResult.__init__ super call
Michael Foord [Fri, 28 Sep 2012 11:54:56 +0000 (12:54 +0100)]
Pass on parameters in unittest.TextTestResult.__init__ super call

12 years ago#15222: Fix a test failure on Windows
Petri Lehtinen [Wed, 26 Sep 2012 04:41:11 +0000 (07:41 +0300)]
#15222: Fix a test failure on Windows

12 years agoShow how to close a connection
Raymond Hettinger [Tue, 25 Sep 2012 23:57:50 +0000 (19:57 -0400)]
Show how to close a connection

12 years ago#15222: Insert blank line after each message in mbox mailboxes
Petri Lehtinen [Tue, 25 Sep 2012 18:57:59 +0000 (21:57 +0300)]
#15222: Insert blank line after each message in mbox mailboxes

12 years ago#15222: test_mailbox: End message template in a newline
Petri Lehtinen [Tue, 25 Sep 2012 18:48:51 +0000 (21:48 +0300)]
#15222: test_mailbox: End message template in a newline

12 years agoswitch assertion to an explicit ValueError
Benjamin Peterson [Tue, 25 Sep 2012 15:48:50 +0000 (11:48 -0400)]
switch assertion to an explicit ValueError

12 years ago- Issue #15935: Clarification of argparse docs, re: add_argument() type and
Barry Warsaw [Tue, 25 Sep 2012 14:32:53 +0000 (10:32 -0400)]
- Issue #15935: Clarification of argparse docs, re: add_argument() type and
  default arguments.  Patch contributed by Chris Jerdonek.

12 years agoIssue #16037: Limit httplib's _read_status() function to work around broken
Christian Heimes [Tue, 25 Sep 2012 11:29:30 +0000 (13:29 +0200)]
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.

12 years ago2.7 : Issue #16013: Fix CSV Reader parsing issue with ending quote characters. Patch...
Senthil Kumaran [Tue, 25 Sep 2012 09:48:21 +0000 (02:48 -0700)]
2.7 : Issue #16013: Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka.

12 years agoIssue #16015: Fix NameError doctest example in tutorial introduction.
Chris Jerdonek [Tue, 25 Sep 2012 02:33:32 +0000 (19:33 -0700)]
Issue #16015: Fix NameError doctest example in tutorial introduction.

12 years agoIssue #14167: restore statement about breaks in finally clauses; remove statement...
Mark Dickinson [Mon, 24 Sep 2012 19:25:24 +0000 (20:25 +0100)]
Issue #14167: restore statement about breaks in finally clauses; remove statement about exception chaining.

12 years ago#16019, #16020: fix syntax highlight.
Ezio Melotti [Mon, 24 Sep 2012 14:30:39 +0000 (17:30 +0300)]
#16019, #16020: fix syntax highlight.

12 years ago#16017: capitalize URLs.
Ezio Melotti [Mon, 24 Sep 2012 14:06:11 +0000 (17:06 +0300)]
#16017: capitalize URLs.

12 years ago#16014: fix broken link.
Ezio Melotti [Mon, 24 Sep 2012 13:56:59 +0000 (16:56 +0300)]
#16014: fix broken link.

12 years agoIssue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()
Christian Heimes [Mon, 24 Sep 2012 11:17:08 +0000 (13:17 +0200)]
Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()
method doesn't require an argument again.

12 years ago #15421: fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR...
Ezio Melotti [Fri, 21 Sep 2012 14:26:35 +0000 (17:26 +0300)]
 #15421: fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR.  Patch by Cédric Krier.

12 years ago#15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.
Ezio Melotti [Fri, 21 Sep 2012 13:27:45 +0000 (16:27 +0300)]
#15980: properly escape newlines in docstrings.  Patch by Serhiy Storchaka.

12 years ago- Issue #11715: Fix multiarch detection without having Debian development
doko@ubuntu.com [Fri, 21 Sep 2012 11:51:40 +0000 (13:51 +0200)]
- Issue #11715: Fix multiarch detection without having Debian development
  tools (dpkg-dev) installed.

12 years agoremove gdb noise about linux-vdso
Benjamin Peterson [Fri, 21 Sep 2012 03:48:23 +0000 (23:48 -0400)]
remove gdb noise about linux-vdso

12 years agoIssue 15985: fix round argument names in documentation. Thanks Chris Jerdonek.
Mark Dickinson [Thu, 20 Sep 2012 19:57:37 +0000 (20:57 +0100)]
Issue 15985: fix round argument names in documentation.  Thanks Chris Jerdonek.

12 years agoFix a few quotes/backslashes.
Ezio Melotti [Thu, 20 Sep 2012 06:48:07 +0000 (09:48 +0300)]
Fix a few quotes/backslashes.

12 years agoFix rst markup in timeit docs.
Ezio Melotti [Thu, 20 Sep 2012 03:02:50 +0000 (06:02 +0300)]
Fix rst markup in timeit docs.

12 years ago#15970: xml.etree.ElementTree now serializes correctly the empty HTML elements "meta...
Ezio Melotti [Wed, 19 Sep 2012 05:11:03 +0000 (08:11 +0300)]
#15970: xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param".

12 years ago#15796: Fix \n in readline docstring.
Ezio Melotti [Tue, 18 Sep 2012 04:17:49 +0000 (07:17 +0300)]
#15796: Fix \n in readline docstring.

12 years ago#11643: fix rst markup error in site.rst.
Ezio Melotti [Mon, 17 Sep 2012 06:59:36 +0000 (08:59 +0200)]
#11643: fix rst markup error in site.rst.

12 years ago#15920: fix doctests in Doc/howto/regex.rst. Patch by Chris Jerdonek.
Ezio Melotti [Mon, 17 Sep 2012 02:36:56 +0000 (05:36 +0300)]
#15920: fix doctests in Doc/howto/regex.rst.  Patch by Chris Jerdonek.

12 years ago#15789: mention shell-like parts of the stdlib in the subprocess docs. Patch by...
Ezio Melotti [Sat, 15 Sep 2012 05:33:12 +0000 (08:33 +0300)]
#15789: mention shell-like parts of the stdlib in the subprocess docs.  Patch by Chris Rebert.

12 years ago#15932: use with statement in csv doc examples.
Ezio Melotti [Sat, 15 Sep 2012 02:46:24 +0000 (05:46 +0300)]
#15932: use with statement in csv doc examples.

12 years ago#15831: avoid using 3.x syntax for keyword-only args.
Ezio Melotti [Sat, 15 Sep 2012 01:45:57 +0000 (04:45 +0300)]
#15831: avoid using 3.x syntax for keyword-only args.

12 years ago#15831: document multiple signatures on different lines. Patch by Chris Jerdonek.
Ezio Melotti [Fri, 14 Sep 2012 03:48:32 +0000 (06:48 +0300)]
#15831: document multiple signatures on different lines.  Patch by Chris Jerdonek.

12 years ago#15437, #15439: merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly.
Ezio Melotti [Thu, 13 Sep 2012 22:58:33 +0000 (01:58 +0300)]
#15437, #15439: merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly.

12 years agoA follow up for issue #15906: change the test for calling the type conversion
Barry Warsaw [Wed, 12 Sep 2012 18:34:50 +0000 (14:34 -0400)]
A follow up for issue #15906: change the test for calling the type conversion
on the action's default, reverting it back to previous behavior.  Conversion
is only done on string defaults.

Add a test for this and another test that ensures such type conversions are
only called once.

12 years agoCleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref...
Christian Heimes [Wed, 12 Sep 2012 15:58:10 +0000 (17:58 +0200)]
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.

12 years agoPartly revert ad3824a90261 and add comment about reference ownership
Christian Heimes [Wed, 12 Sep 2012 15:52:46 +0000 (17:52 +0200)]
Partly revert ad3824a90261 and add comment about reference ownership

12 years agoAutomated merge with file:///home/vagrant/3.2
Senthil Kumaran [Wed, 12 Sep 2012 05:16:58 +0000 (22:16 -0700)]
Automated merge with file:///home/vagrant/3.2

12 years agoFix issue #15899 - howto/unicode.rst doctest corrections for 2.7 branch.
Senthil Kumaran [Wed, 12 Sep 2012 05:14:23 +0000 (22:14 -0700)]
Fix issue #15899 -  howto/unicode.rst doctest corrections for 2.7 branch.

12 years ago- Issue #15906: Fix a regression in argparse caused by the preceding change,
Barry Warsaw [Wed, 12 Sep 2012 01:06:29 +0000 (21:06 -0400)]
- Issue #15906: Fix a regression in argparse caused by the preceding change,
  when action='append', type='str' and default=[].

12 years agoCloses #15793: Stack corruption in ssl.RAND_egd(). Python 2.7 hasn't any issue about...
Jesus Cea [Mon, 10 Sep 2012 23:55:04 +0000 (01:55 +0200)]
Closes #15793: Stack corruption in ssl.RAND_egd(). Python 2.7 hasn't any issue about this, but add a test just to be sure

12 years ago#15676: mmap: add empty file check prior to offset check <- Previous patch was incomp...
Jesus Cea [Mon, 10 Sep 2012 20:57:34 +0000 (22:57 +0200)]
#15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete (fix 2)

12 years ago#15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete
Jesus Cea [Mon, 10 Sep 2012 20:45:47 +0000 (22:45 +0200)]
#15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete

12 years agoCloses #15910: MD5 and SHA1 crash when "updated" with strings bigger than 2**32 bytes
Jesus Cea [Mon, 10 Sep 2012 19:39:07 +0000 (21:39 +0200)]
Closes #15910: MD5 and SHA1 crash when "updated" with strings bigger than 2**32 bytes

12 years agoCloses #15908: SHA1 crashes in 64 bits when the string to hash is bigger than 2*...
Jesus Cea [Mon, 10 Sep 2012 19:04:42 +0000 (21:04 +0200)]
Closes #15908: SHA1 crashes in 64 bits when the string to hash is bigger than 2**32 bytes

12 years ago#15676: Proper attribution in Misc/ACKS
Jesus Cea [Mon, 10 Sep 2012 18:18:43 +0000 (20:18 +0200)]
#15676: Proper attribution in Misc/ACKS

12 years ago#14649: add sample files omitted from previous checkin.
R David Murray [Mon, 10 Sep 2012 15:20:47 +0000 (11:20 -0400)]
#14649: add sample files omitted from previous checkin.

12 years agomerge
Christian Heimes [Mon, 10 Sep 2012 15:01:21 +0000 (17:01 +0200)]
merge

12 years agoFixed memory leak in error branch of object_repr which may leak a reference to mod...
Christian Heimes [Mon, 10 Sep 2012 14:57:36 +0000 (16:57 +0200)]
Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371

12 years ago#14649: clarify DocTestSuite error when there are no docstrings.
R David Murray [Mon, 10 Sep 2012 14:17:13 +0000 (10:17 -0400)]
#14649: clarify DocTestSuite error when there are no docstrings.

Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).

Patch by Chris Jerdonek.

12 years agobackport from the trunk, to fix test_tools with srcdir != builddir
doko@ubuntu.com [Mon, 10 Sep 2012 12:34:42 +0000 (14:34 +0200)]
backport from the trunk, to fix test_tools with srcdir != builddir

        changeset:   77827:c23b442b5d5e
        user:        Antoine Pitrou <solipsis@pitrou.net>
        date:        Thu Jun 28 01:20:26 2012 +0200
        summary:     Avoid using scrdir, it's broken.

        changeset:   77826:f0e58e778215
        user:        Neil Schemenauer <nas@arctrix.com>
        date:        Wed Jun 27 15:58:37 2012 -0600
        summary:     Fix bug in test_tools that prevented building is separate directory.

12 years agomerge
Christian Heimes [Mon, 10 Sep 2012 11:19:15 +0000 (13:19 +0200)]
merge

12 years agoAdded missing va_end in error branch of PyArg_UnpackTuple(). CID 486641
Christian Heimes [Mon, 10 Sep 2012 11:16:45 +0000 (13:16 +0200)]
Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641

12 years ago- Mention _heapq in Setup.dist.
doko@ubuntu.com [Mon, 10 Sep 2012 09:56:47 +0000 (11:56 +0200)]
- Mention _heapq in Setup.dist.

12 years agoClosed reference leak of variable 'k' in function ste_new which wasn't decrefed in...
Christian Heimes [Mon, 10 Sep 2012 01:08:46 +0000 (03:08 +0200)]
Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases

12 years agoFixed possible reference leak to mod when type_name() returns NULL
Christian Heimes [Mon, 10 Sep 2012 01:00:14 +0000 (03:00 +0200)]
Fixed possible reference leak to mod when type_name() returns NULL

12 years agoPyTuple_Pack() was missing va_end() in its error branch which lead to a resource...
Christian Heimes [Mon, 10 Sep 2012 00:54:51 +0000 (02:54 +0200)]
PyTuple_Pack() was missing va_end() in its error branch which lead to a resource leak.

12 years agoCloses #15676: mmap: add empty file check prior to offset check
Jesus Cea [Sun, 9 Sep 2012 22:22:39 +0000 (00:22 +0200)]
Closes #15676: mmap: add empty file check prior to offset check

12 years agoIssue #15822: Fix installation of lib2to3 grammar pickles to ensure
Ned Deily [Sun, 9 Sep 2012 01:47:27 +0000 (18:47 -0700)]
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)

12 years agocloses #5088: document behavior of optparse defaults with 'append' action.
R David Murray [Sat, 8 Sep 2012 20:47:24 +0000 (16:47 -0400)]
closes #5088: document behavior of optparse defaults with 'append' action.

12 years ago#15510: clarify textwrap's handling of whitespace, and add confirming tests.
R David Murray [Sat, 8 Sep 2012 17:42:01 +0000 (13:42 -0400)]
#15510: clarify textwrap's handling of whitespace, and add confirming tests.

Patch by Chris Jerdonek.

12 years agoFix for fcc629208842
Christian Heimes [Sat, 8 Sep 2012 17:12:05 +0000 (19:12 +0200)]
Fix for fcc629208842
BSD's make doesn't support some of the features.

12 years ago#15847: allow args to be a tuple in parse_args
R David Murray [Sat, 8 Sep 2012 16:15:25 +0000 (12:15 -0400)]
#15847: allow args to be a tuple in parse_args

This fixes a regression introduced by the fix for issue #13922.  Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.

Patch by Zbyszek Jędrzejewski-Szmek.

12 years agoIssue #15340: Fix importing the random module when /dev/urandom cannot be opened.
Antoine Pitrou [Fri, 7 Sep 2012 21:49:07 +0000 (23:49 +0200)]
Issue #15340: Fix importing the random module when /dev/urandom cannot be opened.
This was a regression caused by the hash randomization patch.

12 years agoFix for fcc629208842
Christian Heimes [Fri, 7 Sep 2012 00:24:58 +0000 (02:24 +0200)]
Fix for fcc629208842
BSD's make doesn't support some of the features.

12 years agoIssue #15591 and Issue #11715: silence output of setup.py when make is run with ...
Christian Heimes [Thu, 6 Sep 2012 22:55:33 +0000 (00:55 +0200)]
Issue #15591 and Issue #11715: silence output of setup.py when make is run with -s option.

12 years agoIssue #15591 and Issue #11715: silence output of setup.py when make is run with ...
Christian Heimes [Thu, 6 Sep 2012 22:58:26 +0000 (00:58 +0200)]
Issue #15591 and Issue #11715: silence output of setup.py when make is run with -s option.

12 years agoIssue #15591: run ctypes' configure in quiet mode when setup.py runs silently
Christian Heimes [Thu, 6 Sep 2012 16:02:49 +0000 (18:02 +0200)]
Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently

12 years agoIssue #13992: The trashcan mechanism is now thread-safe. This eliminates
Antoine Pitrou [Wed, 5 Sep 2012 22:59:49 +0000 (00:59 +0200)]
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.

12 years agoIssue #15841: The readable(), writable() and seekable() methods of io.BytesIO
Antoine Pitrou [Wed, 5 Sep 2012 18:11:49 +0000 (20:11 +0200)]
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.

12 years ago#15802: Fix test logic in TestMaildir.test_create_tmp
Petri Lehtinen [Sat, 1 Sep 2012 11:25:48 +0000 (14:25 +0300)]
#15802: Fix test logic in TestMaildir.test_create_tmp

12 years ago#13769: Enhance docs for ensure_ascii semantics in JSON decoding functions
Petri Lehtinen [Sat, 1 Sep 2012 04:27:58 +0000 (07:27 +0300)]
#13769: Enhance docs for ensure_ascii semantics in JSON decoding functions

12 years ago#12776,#11839: call argparse type function only once.
R David Murray [Sat, 1 Sep 2012 03:15:28 +0000 (23:15 -0400)]
#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.

12 years agoRemove trailing whitespace in order to silence warnings on HP-UX.
Trent Nelson [Fri, 31 Aug 2012 21:15:49 +0000 (17:15 -0400)]
Remove trailing whitespace in order to silence warnings on HP-UX.

12 years agoIssue #15825: fix typo in OrderedDict docs.
Andrew Svetlov [Fri, 31 Aug 2012 10:53:30 +0000 (13:53 +0300)]
Issue #15825: fix typo in OrderedDict docs.

Patch by Mike Hoy.