]> granicus.if.org Git - python/log
python
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.

12 years agoput * in the normal place
Benjamin Peterson [Sun, 2 Sep 2012 20:36:01 +0000 (16:36 -0400)]
put * in the normal place

12 years agomove variable decl to the top of the function
Benjamin Peterson [Sun, 2 Sep 2012 18:38:08 +0000 (14:38 -0400)]
move variable decl to the top of the function

12 years agoprevert ast errors from being normalized before ast_error_finish is called (closes...
Benjamin Peterson [Sun, 2 Sep 2012 18:23:15 +0000 (14:23 -0400)]
prevert ast errors from being normalized before ast_error_finish is called (closes #15846)

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

12 years ago#12776,#11839: call argparse type function only once.
R David Murray [Sat, 1 Sep 2012 02:45:20 +0000 (22:45 -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:11:39 +0000 (17:11 -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:54:54 +0000 (13:54 +0300)]
Issue #15825: fix typo in OrderedDict docs.

Patch by Mike Hoy.

12 years agoIssue #15819: Fix out-of-tree builds from a readonly source.
Trent Nelson [Thu, 30 Aug 2012 14:32:02 +0000 (14:32 +0000)]
Issue #15819: Fix out-of-tree builds from a readonly source.

12 years agoIssue #15800: fix the closing of input / output files when gzip is used as a script.
Antoine Pitrou [Wed, 29 Aug 2012 22:29:24 +0000 (00:29 +0200)]
Issue #15800: fix the closing of input / output files when gzip is used as a script.

12 years agoAdd missing comma.
Ezio Melotti [Wed, 29 Aug 2012 14:50:42 +0000 (17:50 +0300)]
Add missing comma.

12 years agouse the stricter PyMapping_Check (closes #15801)
Benjamin Peterson [Tue, 28 Aug 2012 21:55:35 +0000 (17:55 -0400)]
use the stricter PyMapping_Check (closes #15801)

12 years ago- fix paste error (whitespace) from previous commit
Matthias Klose [Tue, 28 Aug 2012 17:07:38 +0000 (19:07 +0200)]
- fix paste error (whitespace) from previous commit

12 years ago- Issue #15591: Fix parsing MAKEFLAGS in the sharedmods target.
Matthias Klose [Tue, 28 Aug 2012 16:55:07 +0000 (18:55 +0200)]
- Issue #15591: Fix parsing MAKEFLAGS in the sharedmods target.

12 years ago#11964: Document a change in v3.2 to the json indent parameter
Petri Lehtinen [Tue, 28 Aug 2012 04:08:44 +0000 (07:08 +0300)]
#11964: Document a change in v3.2 to the json indent parameter

12 years agoFix a JSON doc typo
Petri Lehtinen [Mon, 27 Aug 2012 17:27:30 +0000 (20:27 +0300)]
Fix a JSON doc typo

12 years ago#15788: fix broken links in subprocess doc. Patch by Chris Rebert.
Ezio Melotti [Mon, 27 Aug 2012 07:00:05 +0000 (10:00 +0300)]
#15788: fix broken links in subprocess doc.  Patch by Chris Rebert.

12 years agoFix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using...
Ronald Oussoren [Sat, 25 Aug 2012 09:19:14 +0000 (11:19 +0200)]
Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using the clang compiler

12 years agoFix wrong way of adding Error information in shutil.copytree.
Georg Brandl [Sat, 25 Aug 2012 08:11:57 +0000 (10:11 +0200)]
Fix wrong way of adding Error information in shutil.copytree.

12 years agoRemove overeager test (don't depend on the sign of a nan; cf. issue #14521)
Mark Dickinson [Fri, 24 Aug 2012 19:31:33 +0000 (20:31 +0100)]
Remove overeager test (don't depend on the sign of a nan;  cf. issue #14521)

12 years agoRemove incorrect lines (meant for cdecimal) from recently added Decimal tests.
Mark Dickinson [Fri, 24 Aug 2012 18:51:00 +0000 (19:51 +0100)]
Remove incorrect lines (meant for cdecimal) from recently added Decimal tests.

12 years agoIssue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.
Mark Dickinson [Fri, 24 Aug 2012 18:32:13 +0000 (19:32 +0100)]
Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.

12 years agoAdd glossary references
Antoine Pitrou [Fri, 24 Aug 2012 17:49:08 +0000 (19:49 +0200)]
Add glossary references

12 years agoIssue #14674: Add a discussion of the json module's standard compliance.
Antoine Pitrou [Fri, 24 Aug 2012 17:37:23 +0000 (19:37 +0200)]
Issue #14674: Add a discussion of the json module's standard compliance.
Patch by Chris Rebert.

12 years agoCloses #9374: add back now-unused module attributes; removing them is a backward...
Georg Brandl [Fri, 24 Aug 2012 16:15:29 +0000 (18:15 +0200)]
Closes #9374: add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name.

12 years ago#15249: Mangle From lines correctly when body contains invalid bytes.
R David Murray [Fri, 24 Aug 2012 15:14:13 +0000 (11:14 -0400)]
#15249: Mangle From lines correctly when body contains invalid bytes.

Fix by Colin Su.  Test by me, based on a test written by Petri Lehtinen.

12 years agoIssue 15777: Fix a refleak in _posixsubprocess.
Ross Lagerwall [Fri, 24 Aug 2012 11:25:59 +0000 (13:25 +0200)]
Issue 15777: Fix a refleak in _posixsubprocess.

It was exposed by 03c98d05b140 and dbbf3ccf72e8.

12 years agoIssue #15645: Ensure 2to3 grammar pickles are properly installed.
Ned Deily [Thu, 23 Aug 2012 06:27:26 +0000 (23:27 -0700)]
Issue #15645: Ensure 2to3 grammar pickles are properly installed.
(Patch by Ronald Oussoren)

12 years agoFix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set on Mac...
Ronald Oussoren [Wed, 22 Aug 2012 12:24:14 +0000 (14:24 +0200)]
Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set on Mac OS X.

This is due to an off-by-one error: the allocated buffer didn't have room for a NUL
character at the end of the mbstowcs result.

12 years agoIssue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
Trent Nelson [Tue, 21 Aug 2012 23:41:43 +0000 (23:41 +0000)]
Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.

This is necessary for ZFS systems, which don't support UF_IMMUTABLE.

12 years ago#15752: s/assertRaisesRegexp/assertRaisesRegex/g
Ezio Melotti [Tue, 21 Aug 2012 08:38:41 +0000 (11:38 +0300)]
#15752: s/assertRaisesRegexp/assertRaisesRegex/g

12 years agoIssue #15736: Fix overflow in _PySequence_BytesToCharpArray().
Stefan Krah [Tue, 21 Aug 2012 06:16:09 +0000 (08:16 +0200)]
Issue #15736: Fix overflow in _PySequence_BytesToCharpArray().

12 years agoIssue #15285: Refactor connect timeout test in test_timeout.
Trent Nelson [Tue, 21 Aug 2012 01:22:59 +0000 (21:22 -0400)]
Issue #15285: Refactor connect timeout test in test_timeout.

12 years agoIssue #14954: Clarify the interaction of weak references and garbage collection.
Antoine Pitrou [Mon, 20 Aug 2012 22:07:07 +0000 (00:07 +0200)]
Issue #14954: Clarify the interaction of weak references and garbage collection.
Patch by Ethan Furman.

12 years ago#15199: Fix JavaScript's default MIME type to application/javascript
Petri Lehtinen [Mon, 20 Aug 2012 18:05:56 +0000 (21:05 +0300)]
#15199: Fix JavaScript's default MIME type to application/javascript

12 years ago#15742: clarify sqlite parameter substitution example.
R David Murray [Mon, 20 Aug 2012 18:14:18 +0000 (14:14 -0400)]
#15742: clarify sqlite parameter substitution example.

Suggestion and patch by Mike Hoy.

12 years agoIssue #15726: Fix incorrect bounds checking in PyState_FindModule.
Antoine Pitrou [Mon, 20 Aug 2012 17:30:46 +0000 (19:30 +0200)]
Issue #15726: Fix incorrect bounds checking in PyState_FindModule.
Patch by Robin Schreiber.

12 years agoIssue #15741: Fix potential NULL dereference. Found by Coverity.
Stefan Krah [Mon, 20 Aug 2012 15:19:50 +0000 (17:19 +0200)]
Issue #15741: Fix potential NULL dereference. Found by Coverity.

12 years agoIssue #15738: Fix a missing NULL check in subprocess_fork_exec().
Stefan Krah [Mon, 20 Aug 2012 12:36:47 +0000 (14:36 +0200)]
Issue #15738: Fix a missing NULL check in subprocess_fork_exec().

12 years agoIssue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray().
Stefan Krah [Mon, 20 Aug 2012 09:04:24 +0000 (11:04 +0200)]
Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray().
Found by Coverity.

12 years ago#13579: teach string.Formatter about 'a'.
R David Murray [Sun, 19 Aug 2012 21:26:34 +0000 (17:26 -0400)]
#13579: teach string.Formatter about 'a'.

Patch by Francisco Martín Brugué.

12 years agoIssue #15595: Fix subprocess.Popen(universal_newlines=True)
Andrew Svetlov [Sun, 19 Aug 2012 19:13:41 +0000 (22:13 +0300)]
Issue #15595: Fix subprocess.Popen(universal_newlines=True)
for certain locales (utf-16 and utf-32 family).

Patch by Chris Jerdonek.

12 years agoCheck for NULL return value in PyStructSequence_NewType(). Found by Coverity.
Stefan Krah [Sun, 19 Aug 2012 09:20:41 +0000 (11:20 +0200)]
Check for NULL return value in PyStructSequence_NewType(). Found by Coverity.

12 years agoAllow redemo.py to be used from the command line like other demos.
Ned Deily [Sat, 18 Aug 2012 19:21:17 +0000 (12:21 -0700)]
Allow redemo.py to be used from the command line like other demos.