]> granicus.if.org Git - python/log
python
12 years agoClose open bracket, thanks to Josh Helzer from docs@
Andrew Svetlov [Tue, 2 Oct 2012 15:39:25 +0000 (18:39 +0300)]
Close open bracket, thanks to Josh Helzer from docs@

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

12 years agoFix sqlite3 class markup.
R David Murray [Mon, 1 Oct 2012 00:44:43 +0000 (20:44 -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 agoIssue #15533: Skip test_cwd_with_relative_*() tests on Windows pending resolution...
Chris Jerdonek [Sun, 30 Sep 2012 16:45:00 +0000 (09:45 -0700)]
Issue #15533: Skip test_cwd_with_relative_*() tests on Windows pending resolution of issue.

12 years agoIssue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument.
Chris Jerdonek [Sun, 30 Sep 2012 07:10:28 +0000 (00:10 -0700)]
Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument.

12 years agoSpeed up test_httpservers by avoiding a one-second cleanup wait after each test case.
Antoine Pitrou [Sat, 29 Sep 2012 23:05:30 +0000 (01:05 +0200)]
Speed up test_httpservers by avoiding a one-second cleanup wait after each test case.

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

12 years agoFixes issue #15756: subprocess.poll() now properly handles errno.ECHILD
Gregory P. Smith [Sat, 29 Sep 2012 18:40:38 +0000 (11:40 -0700)]
Fixes 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 ago#16085: Don't promote shadowing builtins in the configparser example.
R David Murray [Sat, 29 Sep 2012 18:40:23 +0000 (14:40 -0400)]
#16085: Don't promote shadowing builtins in the configparser example.

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

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

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

12 years agoClose issue #16073: fix map() example in list comprehension documentation.
Chris Jerdonek [Fri, 28 Sep 2012 14:07:12 +0000 (07:07 -0700)]
Close issue #16073: fix map() example in list comprehension documentation.

Thanks for the e-mail report to docs@.

12 years agoCloses issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ super...
Michael Foord [Fri, 28 Sep 2012 13:14:03 +0000 (14:14 +0100)]
Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ super call

12 years agoIssue #16036: Improve documentation of built-in int()'s signature and arguments.
Chris Jerdonek [Fri, 28 Sep 2012 07:10:44 +0000 (00:10 -0700)]
Issue #16036: Improve documentation of built-in int()'s signature and arguments.

12 years ago#15222: Insert blank line after each message in mbox mailboxes
Petri Lehtinen [Tue, 25 Sep 2012 19:00:32 +0000 (22:00 +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:58:51 +0000 (21:58 +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 agofix test_compileall when run with -O[O]
Benjamin Peterson [Tue, 25 Sep 2012 15:42:35 +0000 (11:42 -0400)]
fix test_compileall when run with -O[O]

12 years agouse modern conditional syntax
Benjamin Peterson [Tue, 25 Sep 2012 15:01:41 +0000 (11:01 -0400)]
use modern conditional syntax

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

12 years agoIssue #16015: Make welcome message more realistic in tutorial example.
Chris Jerdonek [Tue, 25 Sep 2012 11:20:29 +0000 (04:20 -0700)]
Issue #16015: Make welcome message more realistic in tutorial example.

12 years agoIssue #16013: Fix CSV Reader parsing issue with ending quote characters. Patch by...
Senthil Kumaran [Tue, 25 Sep 2012 09:30:27 +0000 (02:30 -0700)]
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:28:59 +0000 (19:28 -0700)]
Issue #16015: Fix NameError doctest example in tutorial introduction.

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

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:07:39 +0000 (17:07 +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 agoIssue #15379: Fix passing of non-BMP characters as integers for the charmap decoder...
Antoine Pitrou [Sun, 23 Sep 2012 17:55:21 +0000 (19:55 +0200)]
Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
Patch by Serhiy Storchaka.

12 years ago#15949, #15899: use \ufffd instead of ?.
Ezio Melotti [Sun, 23 Sep 2012 12:55:14 +0000 (15:55 +0300)]
#15949, #15899: use \ufffd instead of ?.

12 years ago#15949, 15899: avoid using non-latin1 chars in the doc (they break `make all-pdf`).
Ezio Melotti [Sat, 22 Sep 2012 08:23:06 +0000 (11:23 +0300)]
#15949, 15899: avoid using non-latin1 chars in the doc (they break `make all-pdf`).

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#15304: fix wrong warning message in test.support.temp_cwd().
Ezio Melotti [Fri, 21 Sep 2012 13:48:12 +0000 (16:48 +0300)]
#15304: fix wrong warning message in test.support.temp_cwd().

12 years ago#15980: properly escape newlines in docstrings. Patch by Serhiy Storchaka.
Ezio Melotti [Fri, 21 Sep 2012 13:30:22 +0000 (16:30 +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:52:29 +0000 (13:52 +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 #15973: fixed 3.2 backport.
Alexander Belopolsky [Thu, 20 Sep 2012 21:23:46 +0000 (17:23 -0400)]
Issue #15973: fixed 3.2 backport.

12 years agomerge
Alexander Belopolsky [Thu, 20 Sep 2012 20:49:58 +0000 (16:49 -0400)]
merge

12 years agoIssue #15973: Fixed segmentation fault on timezone comparison to other types.
Alexander Belopolsky [Thu, 20 Sep 2012 20:39:33 +0000 (16:39 -0400)]
Issue #15973: Fixed segmentation fault on timezone comparison to other types.

12 years agoIssue 15959: Fix type mismatch for quick{_neg}_int_allocs. Thanks Serhiy Storchaka.
Mark Dickinson [Thu, 20 Sep 2012 20:29:28 +0000 (21:29 +0100)]
Issue 15959: Fix type mismatch for quick{_neg}_int_allocs.  Thanks Serhiy Storchaka.

12 years agoIssue 15985: fix round argument names in documentation. Thanks Chris Jerdonek.
Mark Dickinson [Thu, 20 Sep 2012 19:51:14 +0000 (20:51 +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:47:03 +0000 (09:47 +0300)]
Fix a few quotes/backslashes.

12 years agoFix markup in smtpd.rst.
Ezio Melotti [Thu, 20 Sep 2012 06:06:51 +0000 (09:06 +0300)]
Fix markup in smtpd.rst.

12 years agoFix rst markup in timeit docs.
Ezio Melotti [Thu, 20 Sep 2012 03:13:38 +0000 (06:13 +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:19:12 +0000 (08:19 +0300)]
#15970: xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param".

12 years agoSilence compiler warnings on Solaris 10 via explicit (void *) casts.
Trent Nelson [Wed, 19 Sep 2012 01:58:03 +0000 (21:58 -0400)]
Silence compiler warnings on Solaris 10 via explicit (void *) casts.

(Compiler: Solaris Studio 12.3)

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

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:29:47 +0000 (05:29 +0300)]
#15920: fix doctests in Doc/howto/regex.rst.  Patch by Chris Jerdonek.

12 years agoIssue #15526: try to fix test_startfile's inability to clean up after itself in time.
Antoine Pitrou [Sat, 15 Sep 2012 22:12:50 +0000 (00:12 +0200)]
Issue #15526: try to fix test_startfile's inability to clean up after itself in time.
Patch by Jeremy Kloth.

12 years ago#15789: mention shell-like parts of the stdlib in the subprocess docs. Patch by...
Ezio Melotti [Sat, 15 Sep 2012 05:34:08 +0000 (08:34 +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. Patch by Dario Bertini.
Ezio Melotti [Sat, 15 Sep 2012 02:51:45 +0000 (05:51 +0300)]
#15932: use with statement in csv doc examples.  Patch by Dario Bertini.

12 years agoIssue #15842: the SocketIO.{readable,writable,seekable} methods now raise ValueError...
Antoine Pitrou [Fri, 14 Sep 2012 15:28:10 +0000 (17:28 +0200)]
Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed.
Patch by Alessandro Moura.

12 years ago#15831: document multiple signatures on different lines. Patch by Chris Jerdonek.
Ezio Melotti [Fri, 14 Sep 2012 03:32:35 +0000 (06:32 +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:24:44 +0000 (01:24 +0300)]
#15437, #15439: merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly.

12 years agoUpdate merge from 2.7: s/basetring/str
Barry Warsaw [Wed, 12 Sep 2012 18:42:34 +0000 (14:42 -0400)]
Update merge from 2.7: s/basetring/str

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 agoFix out of bounds read in long_new() for empty bytes with an explicit base. int(b...
Christian Heimes [Wed, 12 Sep 2012 13:31:43 +0000 (15:31 +0200)]
Fix out of bounds read in long_new() for empty bytes with an explicit base. int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359

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

12 years ago#14617: clarify discussion of interrelationship of __eq__ and __hash__.
R David Murray [Tue, 11 Sep 2012 17:01:43 +0000 (13:01 -0400)]
#14617: clarify discussion of interrelationship of __eq__ and __hash__.

12 years agoFix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUni...
Christian Heimes [Tue, 11 Sep 2012 15:30:53 +0000 (17:30 +0200)]
Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815

12 years agoFix issue #15899: Make the unicode.rst doctests pass. Patch by Chris Jerdonek.
Senthil Kumaran [Tue, 11 Sep 2012 10:17:52 +0000 (03:17 -0700)]
Fix issue #15899: Make the unicode.rst doctests pass. Patch by Chris Jerdonek.

12 years agoCloses #15793: Stack corruption in ssl.RAND_egd()
Jesus Cea [Tue, 11 Sep 2012 00:00:58 +0000 (02:00 +0200)]
Closes #15793: Stack corruption in ssl.RAND_egd()

12 years ago#15676: mmap: add empty file check prior to offset check <- Previous patch was incomp...
Jesus Cea [Mon, 10 Sep 2012 20:58:07 +0000 (22:58 +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:49:50 +0000 (22:49 +0200)]
#15676: mmap: add empty file check prior to offset check <- Previous patch was incomplete

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

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 agoFixed memory leak in error branch of parsestrplus. CID 715374 Variable s going out...
Christian Heimes [Mon, 10 Sep 2012 14:52:42 +0000 (16:52 +0200)]
Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s going out of scope leaks the storage it points to.

12 years ago#14649: clarify DocTestSuite error when there are no docstrings.
R David Murray [Mon, 10 Sep 2012 14:15:58 +0000 (10:15 -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:19:42 +0000 (14:19 +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 agoIssue #15901: Change example to use byte string instead of string
Richard Oudkerk [Mon, 10 Sep 2012 12:00:33 +0000 (13:00 +0100)]
Issue #15901: Change example to use byte string instead of string

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 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 agoPy_TYPE() has already dereferenced self before the NULL check. Moved Py_TYPE() after...
Christian Heimes [Mon, 10 Sep 2012 00:45:31 +0000 (02:45 +0200)]
Py_TYPE() has already dereferenced self before the NULL check. Moved Py_TYPE() after the check for self == NULL

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

12 years agoIssue #15881: Added NEWS entry and proper credit.
Alexander Belopolsky [Sun, 9 Sep 2012 18:11:45 +0000 (14:11 -0400)]
Issue #15881: Added NEWS entry and proper credit.

12 years agoIssue #15881: Fixed 3.2 backport.
Alexander Belopolsky [Sun, 9 Sep 2012 17:31:08 +0000 (13:31 -0400)]
Issue #15881: Fixed 3.2 backport.

12 years agoFixed whitespace
Alexander Belopolsky [Sun, 9 Sep 2012 17:22:45 +0000 (13:22 -0400)]
Fixed whitespace

12 years agoIssue #15881: Fixed atexit hook in multiprocessing.
Alexander Belopolsky [Sun, 9 Sep 2012 17:16:15 +0000 (13:16 -0400)]
Issue #15881: Fixed atexit hook in multiprocessing.

12 years agoIssue #15822: Fix installation of lib2to3 grammar pickles to ensure
Ned Deily [Sun, 9 Sep 2012 01:50:56 +0000 (18:50 -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 ago#5088: document behavior of optparse defaults with 'append' action.
R David Murray [Sat, 8 Sep 2012 20:45:35 +0000 (16:45 -0400)]
#5088: document behavior of optparse defaults with 'append' action.

12 years agoMerge heads.
Ezio Melotti [Sat, 8 Sep 2012 17:52:19 +0000 (20:52 +0300)]
Merge heads.

12 years ago#15865: add "*" in the signature to document keyword-only args in the docs. Patch...
Ezio Melotti [Sat, 8 Sep 2012 17:46:01 +0000 (20:46 +0300)]
#15865: add "*" in the signature to document keyword-only args in the docs.  Patch by Chris Jerdonek.

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

Patch by Chris Jerdonek.

12 years ago#15847: allow args to be a tuple in parse_args
R David Murray [Sat, 8 Sep 2012 16:08:01 +0000 (12:08 -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 #15868: Fix refleak in bytesio.c (Coverity #715365).
Stefan Krah [Sat, 8 Sep 2012 09:12:33 +0000 (11:12 +0200)]
Issue #15868: Fix refleak in bytesio.c (Coverity #715365).

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: 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 3.2.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 3.2.3 and earlier. However, extension modules
compiled for 3.2.3 and earlier will be loadable by 3.2.4.

12 years agoIssue #15841: The readable(), writable() and seekable() methods of BytesIO
Antoine Pitrou [Wed, 5 Sep 2012 18:11:49 +0000 (20:11 +0200)]
Issue #15841: The readable(), writable() and seekable() methods of BytesIO
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.

12 years agoIssue #15855: added docstrings for memoryview methods and data descriptors.
Alexander Belopolsky [Mon, 3 Sep 2012 20:29:11 +0000 (16:29 -0400)]
Issue #15855: added docstrings for memoryview methods and data descriptors.

12 years ago#15509: If %action substitution produces a null string, drop it.
R David Murray [Mon, 3 Sep 2012 16:30:12 +0000 (12:30 -0400)]
#15509: If %action substitution produces a null string, drop it.

Patch by Anton Barkovsky, comment addition by me.

This showed up as a bug in 3.3 because the definition for Chrome
produced such an empty string.  This fix is tested in 3.3+;
backporting the new test suite is more trouble than it is worth.