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

12 years agoIssue #15615: Add some tests for the json module's handling of invalid input data.
Antoine Pitrou [Sat, 18 Aug 2012 18:46:23 +0000 (20:46 +0200)]
Issue #15615: Add some tests for the json module's handling of invalid input data.
Patch by Kushal Das.

12 years agoIssue #15477: Add workaround for log1p(-0.0) on platforms where it's broken.
Mark Dickinson [Sat, 18 Aug 2012 11:24:30 +0000 (12:24 +0100)]
Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken.

12 years agotutorial typo fix
Eli Bendersky [Sat, 18 Aug 2012 06:50:09 +0000 (09:50 +0300)]
tutorial typo fix

12 years ago#15636: add versionadded for decodebytes
R David Murray [Sat, 18 Aug 2012 00:55:21 +0000 (20:55 -0400)]
#15636: add versionadded for decodebytes

12 years ago#15355: Mention already-executing Exception in generator docs.
R David Murray [Sat, 18 Aug 2012 00:48:59 +0000 (20:48 -0400)]
#15355: Mention already-executing Exception in generator docs.

Patch by Chris Jerdonek.

12 years ago#15694: reflow paragraph.
R David Murray [Sat, 18 Aug 2012 00:39:21 +0000 (20:39 -0400)]
#15694: reflow paragraph.

12 years ago#15694: Link discussion of file objects to glossary entry.
R David Murray [Sat, 18 Aug 2012 00:33:54 +0000 (20:33 -0400)]
#15694: Link discussion of file objects to glossary entry.

This is analogous to the link for `flie objects` in the description of
'open' that exists in the 2.7 docs, and adds a similar link to the
io docs.

Patch by Chris Jerdonek.

12 years agoIssue 15660: Clarify 0 prefix for width field in str.format doc.
Terry Jan Reedy [Fri, 17 Aug 2012 19:40:46 +0000 (15:40 -0400)]
Issue 15660: Clarify 0 prefix for width field in str.format doc.

12 years agoIssue #15412: Remove erroneous note about weakrefs
Richard Oudkerk [Fri, 17 Aug 2012 14:02:47 +0000 (15:02 +0100)]
Issue #15412: Remove erroneous note about weakrefs

12 years agoIssue #14501: Clarify that authentication keys are byte strings
Richard Oudkerk [Fri, 17 Aug 2012 13:39:18 +0000 (14:39 +0100)]
Issue #14501: Clarify that authentication keys are byte strings

12 years agoUpdate the getpeercert() example with a real-world cert showing non-trivial issuer...
Antoine Pitrou [Thu, 16 Aug 2012 20:14:43 +0000 (22:14 +0200)]
Update the getpeercert() example with a real-world cert showing non-trivial issuer, subject and subjectAltName.

12 years ago#11062: Fix universal newline support in Babyl._install_message()
Petri Lehtinen [Thu, 16 Aug 2012 04:22:15 +0000 (07:22 +0300)]
#11062: Fix universal newline support in Babyl._install_message()

When adding a message from a binary file, \r\n was translated to
\r\r\n in the message body.

12 years agoFix str docstring
Nick Coghlan [Thu, 16 Aug 2012 04:13:07 +0000 (14:13 +1000)]
Fix str docstring

12 years agoIssue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Antoine Pitrou [Wed, 15 Aug 2012 21:18:25 +0000 (23:18 +0200)]
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.

12 years agoclarify in/not in in case of infinite iterators; thanks to Sergey Skovorodkin from...
Sandro Tosi [Wed, 15 Aug 2012 19:37:35 +0000 (21:37 +0200)]
clarify in/not in in case of infinite iterators; thanks to Sergey Skovorodkin from docs@

12 years ago#15543: reflow paragraphs.
R David Murray [Wed, 15 Aug 2012 15:05:36 +0000 (11:05 -0400)]
#15543: reflow paragraphs.

12 years ago#15543: glossary entry for and 'universal newlines', and links to it.
R David Murray [Wed, 15 Aug 2012 14:43:58 +0000 (10:43 -0400)]
#15543: glossary entry for and 'universal newlines', and links to it.

Patch by Chris Jerdonek.

12 years agomerge heads in 3.2 branch
Eli Bendersky [Wed, 15 Aug 2012 11:50:52 +0000 (14:50 +0300)]
merge heads in 3.2 branch

12 years agoIssue #15656: fixing code sample in extending doc
Eli Bendersky [Wed, 15 Aug 2012 11:49:49 +0000 (14:49 +0300)]
Issue #15656: fixing code sample in extending doc

12 years ago#11062: Fix adding a message from file to Babyl mailbox
Petri Lehtinen [Wed, 15 Aug 2012 11:00:40 +0000 (14:00 +0300)]
#11062: Fix adding a message from file to Babyl mailbox

12 years ago#15269: document dircmp.left and right, and add tests for them.
R David Murray [Wed, 15 Aug 2012 01:40:13 +0000 (21:40 -0400)]
#15269: document dircmp.left and right, and add tests for them.

Patch by Chris Jerdonek.

12 years agofix typo
Sandro Tosi [Tue, 14 Aug 2012 17:51:43 +0000 (19:51 +0200)]
fix typo

12 years agoMerge 3.2
Andrew Svetlov [Tue, 14 Aug 2012 15:41:40 +0000 (18:41 +0300)]
Merge 3.2

12 years agoAdd test to explicit check the absence regression in subprocess (issue #15592).
Andrew Svetlov [Tue, 14 Aug 2012 15:35:17 +0000 (18:35 +0300)]
Add test to explicit check the absence regression in subprocess (issue #15592).

Patch by Chris Jerdonek.

12 years agoModules/socketmodule.c: netdb_lock: define static.
Matthias Klose [Tue, 14 Aug 2012 15:29:04 +0000 (17:29 +0200)]
Modules/socketmodule.c: netdb_lock: define static.

12 years agoIssue #14167: Document return statement in finally blocks.
Andrew Svetlov [Tue, 14 Aug 2012 12:38:15 +0000 (15:38 +0300)]
Issue #14167: Document return statement in finally blocks.

Patch by Yury Selivanov.

12 years agoIssue #15646: Prevent equivalent of a fork bomb when using multiprocessing
Richard Oudkerk [Tue, 14 Aug 2012 10:41:32 +0000 (11:41 +0100)]
Issue #15646: Prevent equivalent of a fork bomb when using multiprocessing
on Windows without the "if __name__ == '__main__'" idiom.

12 years agoRestore original line lengths.
Georg Brandl [Tue, 14 Aug 2012 07:39:07 +0000 (09:39 +0200)]
Restore original line lengths.

12 years agoFix #15496. Add directory removal helpers to make Windows tests more reliable. Patch...
Brian Curtin [Mon, 13 Aug 2012 22:05:57 +0000 (17:05 -0500)]
Fix #15496. Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth

12 years agoIssue #15497: Correct characters in TextWrapper.replace_whitespace docs.
Andrew Svetlov [Mon, 13 Aug 2012 20:22:23 +0000 (23:22 +0300)]
Issue #15497: Correct characters in TextWrapper.replace_whitespace docs.

Patch by Chris Jerdonek.

12 years agoIssue #15561: Update subprocess docs to reference io.TextIOWrapper.
Andrew Svetlov [Mon, 13 Aug 2012 19:09:04 +0000 (22:09 +0300)]
Issue #15561: Update subprocess docs to reference io.TextIOWrapper.

Patch by Chris Jerdonek.

12 years agoIssue #15624: clarify newline documentation for open and io.TextIOWrapper
Andrew Svetlov [Mon, 13 Aug 2012 09:58:02 +0000 (12:58 +0300)]
Issue #15624: clarify newline documentation for open and io.TextIOWrapper

Thanks to Chris Jerdonek

12 years agoIssue #15630: Add an example for "continue" statement in the tutorial. Patch by
Senthil Kumaran [Sun, 12 Aug 2012 19:01:47 +0000 (12:01 -0700)]
Issue #15630: Add an example for "continue" statement in the tutorial. Patch by
Daniel Ellis.

12 years agoadd usage example from cli; thanks to Christian Clauss from docs@
Sandro Tosi [Sun, 12 Aug 2012 15:34:00 +0000 (17:34 +0200)]
add usage example from cli; thanks to Christian Clauss from docs@

12 years agoescape '\'; thanks to Steve Holden from docs@
Sandro Tosi [Sun, 12 Aug 2012 13:35:25 +0000 (15:35 +0200)]
escape '\'; thanks to Steve Holden from docs@

12 years agoit's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
Sandro Tosi [Sun, 12 Aug 2012 13:12:15 +0000 (15:12 +0200)]
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@

12 years agoadd missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@
Sandro Tosi [Sun, 12 Aug 2012 10:35:14 +0000 (12:35 +0200)]
add missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@

12 years agoupdate Geany URL; thanks to Karl Tarbet from docs@
Sandro Tosi [Sun, 12 Aug 2012 09:02:03 +0000 (11:02 +0200)]
update Geany URL; thanks to Karl Tarbet from docs@

12 years agoadd missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:49:26 +0000 (10:49 +0200)]
add missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@

12 years agozip() returns an iterator, make a list() of it; thanks to Martin from docs@
Sandro Tosi [Sun, 12 Aug 2012 08:24:50 +0000 (10:24 +0200)]
zip() returns an iterator, make a list() of it; thanks to Martin from docs@

12 years agoIssue #15444: Use proper spelling for non-ASCII contributor names.
Antoine Pitrou [Sat, 11 Aug 2012 14:51:50 +0000 (16:51 +0200)]
Issue #15444: Use proper spelling for non-ASCII contributor names.
Patch by Serhiy Storchaka.

12 years agoRemove unused variables in parsetok().
Georg Brandl [Sat, 11 Aug 2012 09:16:18 +0000 (11:16 +0200)]
Remove unused variables in parsetok().

12 years agoRevert 961a15aff2a6, this is already checked in another way.
Georg Brandl [Sat, 11 Aug 2012 09:02:14 +0000 (11:02 +0200)]
Revert 961a15aff2a6, this is already checked in another way.

12 years agoCloses #15620: check for presence of readline.clear_history(), which is apparently...
Georg Brandl [Sat, 11 Aug 2012 08:59:23 +0000 (10:59 +0200)]
Closes #15620: check for presence of readline.clear_history(), which is apparently missing on some readline versions, before calling it in the test.

12 years agoIssue #15424: Add a __sizeof__ implementation for array objects.
Meador Inge [Sat, 11 Aug 2012 03:35:45 +0000 (22:35 -0500)]
Issue #15424: Add a __sizeof__ implementation for array objects.

Patch by Ludwig Hähne.

12 years agofix docs for c-api memory functions
Andrew Svetlov [Thu, 9 Aug 2012 18:26:34 +0000 (21:26 +0300)]
fix docs for c-api memory functions

12 years agoIssue #15501: Document exception classes in subprocess module.
Andrew Svetlov [Thu, 9 Aug 2012 12:20:45 +0000 (15:20 +0300)]
Issue #15501: Document exception classes in subprocess module.

Initial patch by Anton Barkovsky.

12 years agoIssue #14992: Prevent test_os test_exist_ok_s_isgid_directory test case
Ned Deily [Thu, 9 Aug 2012 03:57:24 +0000 (20:57 -0700)]
Issue #14992: Prevent test_os test_exist_ok_s_isgid_directory test case
failure on OS X built with 10.4 ABI.