]> granicus.if.org Git - python/log
python
13 years ago#11363: add missing functions from curses doc. Patch by Sandro Tosi.
Ezio Melotti [Sun, 26 Jun 2011 10:34:56 +0000 (13:34 +0300)]
#11363: add missing functions from curses doc. Patch by Sandro Tosi.

13 years ago#11363: clean up curses doc.
Ezio Melotti [Sun, 26 Jun 2011 10:38:11 +0000 (13:38 +0300)]
#11363: clean up curses doc.

13 years ago#11669: rephrase footnote in the Compound Statements page.
Ezio Melotti [Sun, 26 Jun 2011 08:25:28 +0000 (11:25 +0300)]
#11669: rephrase footnote in the Compound Statements page.

13 years agoUse correct markup in zipimport.rst. Patch by Sara Magliacane.
Ezio Melotti [Sat, 25 Jun 2011 16:40:06 +0000 (19:40 +0300)]
Use correct markup in zipimport.rst. Patch by Sara Magliacane.

13 years agoIssue 11802: filecmp cache was growing without bound.
Raymond Hettinger [Sat, 25 Jun 2011 15:20:21 +0000 (17:20 +0200)]
Issue 11802:  filecmp cache was growing without bound.

13 years agoIssue 12086: add example showing how to use name mangling.
Raymond Hettinger [Sat, 25 Jun 2011 14:30:39 +0000 (16:30 +0200)]
Issue 12086: add example showing how to use name mangling.

13 years agoIssue 11889: Clarify docs for enumerate.
Raymond Hettinger [Sat, 25 Jun 2011 13:00:14 +0000 (15:00 +0200)]
Issue 11889: Clarify docs for enumerate.

13 years agoIssue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro.
Mark Dickinson [Sat, 25 Jun 2011 11:29:14 +0000 (13:29 +0200)]
Issue #12408: Fix relative import in test_future5.py.  Thanks Cesare Di Mauro.

13 years agoMerge #12228
Mark Dickinson [Sat, 25 Jun 2011 10:04:08 +0000 (12:04 +0200)]
Merge #12228

13 years agoIssue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi.
Mark Dickinson [Sat, 25 Jun 2011 10:03:33 +0000 (12:03 +0200)]
Issue #12228: Fix exchanged flag descriptions in stat.rst.  Thanks Sandro Tosi.

13 years agomerge
Raymond Hettinger [Sat, 25 Jun 2011 09:50:00 +0000 (11:50 +0200)]
merge

13 years agoFix typo (reported by Hiro Ashiya).
Raymond Hettinger [Sat, 25 Jun 2011 09:39:00 +0000 (11:39 +0200)]
Fix typo (reported by Hiro Ashiya).

13 years ago#12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi.
Ezio Melotti [Sat, 25 Jun 2011 09:36:38 +0000 (12:36 +0300)]
#12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi.

13 years agoCode simplification suggested by Sven Marnach.
Raymond Hettinger [Sat, 25 Jun 2011 09:30:53 +0000 (11:30 +0200)]
Code simplification suggested by Sven Marnach.

13 years agoIssue 12404: Remove C89 incompatible code from mmap module.
Ross Lagerwall [Sat, 25 Jun 2011 08:02:37 +0000 (10:02 +0200)]
Issue 12404: Remove C89 incompatible code from mmap module.

Patch by Akira Kitada.

13 years ago#10206: add test for previously fixed bug.
R David Murray [Fri, 24 Jun 2011 17:26:31 +0000 (13:26 -0400)]
#10206: add test for previously fixed bug.

Patch by Francisco Martín Brugué.

13 years ago#9921: clarify os.path.join joining algorithm
R David Murray [Fri, 24 Jun 2011 01:26:13 +0000 (21:26 -0400)]
#9921: clarify os.path.join joining algorithm

The new wording is based on the comments in the code, which
match the actual behavior.

13 years agoIssue #11223: skip also test_rlock_acquire_interruption() on FreeBSD6
Victor Stinner [Thu, 23 Jun 2011 12:22:28 +0000 (14:22 +0200)]
Issue #11223: skip also test_rlock_acquire_interruption() on FreeBSD6

13 years agoIssue #11223: skip test_lock_acquire_interruption() on FreeBSD6
Victor Stinner [Thu, 23 Jun 2011 09:57:56 +0000 (11:57 +0200)]
Issue #11223: skip test_lock_acquire_interruption() on FreeBSD6

Locks are implemented using a mutex and a condition variable of the pthread
library on FreeBSD6. POSIX condition variables cannot be interrupted by signals
(see pthread_cond_wait manual page).

13 years agoIssue #12383: skip test_empty_env() of subprocess on Windows
Victor Stinner [Wed, 22 Jun 2011 23:02:25 +0000 (01:02 +0200)]
Issue #12383: skip test_empty_env() of subprocess on Windows

Cannot test an empty environment on Windows: Windows requires at least the
SYSTEMROOT environment variable to start Python.

13 years agoIssue #12383: fix test_empty_env() of subprocess on Mac OS X
Victor Stinner [Wed, 22 Jun 2011 19:28:43 +0000 (21:28 +0200)]
Issue #12383: fix test_empty_env() of subprocess on Mac OS X

Mac OS X adds __CF_USER_TEXT_ENCODING variable to an empty environment. Fix
also the test on the Py_ENABLE_SHARED config varible: test that the variable is
present, don't check it's value.

13 years agoIssue #12383: skip test_empty_env() if compiled is compiled in shared mode
Victor Stinner [Tue, 21 Jun 2011 19:59:06 +0000 (21:59 +0200)]
Issue #12383: skip test_empty_env() if compiled is compiled in shared mode

Try also to get more informations about the Mac OS X failure: display the keys
of the environment, instead of just the number of variables.

13 years agoClose #12383: Fix subprocess module with env={}: don't copy the environment
Victor Stinner [Tue, 21 Jun 2011 15:18:38 +0000 (17:18 +0200)]
Close #12383: Fix subprocess module with env={}: don't copy the environment
variables, start with an empty environment.

13 years agofix indentation
Benjamin Peterson [Tue, 21 Jun 2011 03:09:13 +0000 (22:09 -0500)]
fix indentation

13 years agomerge heads
Benjamin Peterson [Tue, 21 Jun 2011 02:40:34 +0000 (21:40 -0500)]
merge heads

13 years agofix indentation
Benjamin Peterson [Tue, 21 Jun 2011 02:40:19 +0000 (21:40 -0500)]
fix indentation

13 years agoIssue #12285: multiprocessing.Pool() raises a ValueError if the number of
Victor Stinner [Mon, 20 Jun 2011 15:53:35 +0000 (17:53 +0200)]
Issue #12285: multiprocessing.Pool() raises a ValueError if the number of
processes if negative or null.

13 years agoFix closes Issue12359 - Removing a confusing sentence from the previous change.
Senthil Kumaran [Mon, 20 Jun 2011 14:30:34 +0000 (07:30 -0700)]
Fix closes Issue12359 - Removing a confusing sentence from the previous change.

13 years agoFix closes issue 12360 - correcting parameter names in asyncore documentation.
Senthil Kumaran [Mon, 20 Jun 2011 01:22:33 +0000 (18:22 -0700)]
Fix closes issue 12360 -  correcting parameter names in asyncore documentation.

13 years agominor space nit.
Senthil Kumaran [Mon, 20 Jun 2011 00:41:33 +0000 (17:41 -0700)]
minor space nit.

13 years agoFix closes Issue12359 - Minor update to module import description.
Senthil Kumaran [Mon, 20 Jun 2011 00:37:06 +0000 (17:37 -0700)]
Fix closes Issue12359 - Minor update to module import description.

13 years agoWhitespace nit fixed using reident.
Senthil Kumaran [Sun, 19 Jun 2011 23:59:41 +0000 (16:59 -0700)]
Whitespace nit fixed using reident.

13 years agoFix closes Issue12315 - Updates to http.client documentation.
Senthil Kumaran [Sun, 19 Jun 2011 23:56:49 +0000 (16:56 -0700)]
Fix closes Issue12315 - Updates to http.client documentation.

13 years agofix uglyNamingConvention
Benjamin Peterson [Sun, 19 Jun 2011 22:49:13 +0000 (17:49 -0500)]
fix uglyNamingConvention

13 years agomerge from 3.1 for issue issue12261.
Senthil Kumaran [Sun, 19 Jun 2011 20:55:48 +0000 (13:55 -0700)]
merge from 3.1 for issue issue12261.

13 years agoFix closes issue12261 - Minor documention changes in the urllib.parse.rst
Senthil Kumaran [Sun, 19 Jun 2011 20:52:49 +0000 (13:52 -0700)]
Fix closes issue12261 - Minor documention changes in the urllib.parse.rst

13 years ago#6771: fix docs: curses.wrapper is exposed as a function, not a module
R David Murray [Sat, 18 Jun 2011 23:34:12 +0000 (19:34 -0400)]
#6771: fix docs: curses.wrapper is exposed as a function, not a module

Patch by July Tikhonov.

13 years ago#11584: make Header and make_header handle binary unknown-8bit input
R David Murray [Sat, 18 Jun 2011 16:57:28 +0000 (12:57 -0400)]
#11584: make Header and make_header handle binary unknown-8bit input

Analogous to the decode_header fix, this fix makes Header.append and
make_header correctly handle the unknown-8bit charset introduced by email5.1,
when the input to them is binary strings.  Previous to this fix the
make_header(decode_header(x)) == x invariant was broken in the face of the
unknown-8bit charset.

13 years ago#11584: make decode_header handle Header objects correctly
R David Murray [Sat, 18 Jun 2011 16:30:55 +0000 (12:30 -0400)]
#11584: make decode_header handle Header objects correctly

This updates b21fdfa0019c, which fixed this bug incorrectly.

13 years ago#11700: proxy object close methods can now be called multiple times
R David Murray [Sat, 18 Jun 2011 02:24:05 +0000 (22:24 -0400)]
#11700: proxy object close methods can now be called multiple times

This makes them work like the close provided by regular file objects.

13 years ago#11767: use context manager to close file in __getitem__ to prevent FD leak
R David Murray [Fri, 17 Jun 2011 16:54:56 +0000 (12:54 -0400)]
#11767: use context manager to close file in __getitem__ to prevent FD leak

All of the other methods in mailbox that create message objects take care to
close the file descriptors they use, so it seems to make sense to have
__getitem__ do so as well.

Patch by Filip Gruszczyński.

13 years agoposixmodule.c: fix function name in argument parsing
Victor Stinner [Fri, 17 Jun 2011 13:15:38 +0000 (15:15 +0200)]
posixmodule.c: fix function name in argument parsing

Fix os.fchown() and os.open()

Remove also trailing spaces and replace tabs by spaces.

13 years agoIssue #10883: test_urllib2net closes socket explicitly
Victor Stinner [Fri, 17 Jun 2011 12:53:02 +0000 (14:53 +0200)]
Issue #10883: test_urllib2net closes socket explicitly

13 years agoIssue #12133: fix a ResourceWarning in urllib.request
Victor Stinner [Fri, 17 Jun 2011 12:01:18 +0000 (14:01 +0200)]
Issue #12133: fix a ResourceWarning in urllib.request

AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if
its getresponse() method fails with a socket error. Patch written by Ezio
Melotti.

13 years agoIssue #12310: finalize the old process after _run_after_forkers()
Victor Stinner [Fri, 17 Jun 2011 10:31:49 +0000 (12:31 +0200)]
Issue #12310: finalize the old process after _run_after_forkers()

multiprocessing: Process._bootstrap() keeps a reference to the old process to
delay its finalization until after _run_after_forkers() as been executed. This
change should fix a crash on Mac OS X Tiger when a lock is released after a
fork.

Patch written by Charles-François Nataliv and Antoine Pitrou.

13 years agomerge heads
Benjamin Peterson [Thu, 16 Jun 2011 23:51:24 +0000 (18:51 -0500)]
merge heads

13 years agoupdate link to pycrypto (closes #12351)
Benjamin Peterson [Thu, 16 Jun 2011 23:49:46 +0000 (18:49 -0500)]
update link to pycrypto (closes #12351)

13 years agoFix typo.
Raymond Hettinger [Thu, 16 Jun 2011 21:32:10 +0000 (22:32 +0100)]
Fix typo.

13 years agoMinor wording improvement
Éric Araujo [Wed, 15 Jun 2011 15:49:20 +0000 (17:49 +0200)]
Minor wording improvement

13 years agoCorrect completely broken os.stat behavior on Windows XP.
Brian Curtin [Tue, 14 Jun 2011 14:52:50 +0000 (09:52 -0500)]
Correct completely broken os.stat behavior on Windows XP.

After 1a3e8db28d49, Windows XP could not os.stat at all due to raising
immediately when GetFinalPathNameByHandle wasn't available (pre-Vista).
The proper behavior in that situation is to just not attempt a traversal
rather than outright rejecting.

This change additionally handles a failed malloc by setting the error code
and returning false.

Patch by Hirokazu Yamamoto.

13 years agobranch merge?
Brian Curtin [Mon, 13 Jun 2011 21:10:32 +0000 (16:10 -0500)]
branch merge?

13 years agoFix #12084. os.stat on Windows wasn't working properly with relative symlinks.
Brian Curtin [Mon, 13 Jun 2011 20:16:04 +0000 (15:16 -0500)]
Fix #12084. os.stat on Windows wasn't working properly with relative symlinks.

Use of DeviceIoControl to obtain the symlink path via the reparse tag was
removed. The code now uses GetFinalPathNameByHandle in the case of a
symbolic link and works properly given the added test which creates a symbolic
link and calls os.stat on it from multiple locations.

Victor Stinner also noticed an issue with os.lstat following the os.stat
code path when being passed bytes. The posix_lstat function was adjusted to
properly hook up win32_lstat instead of the previous STAT macro (win32_stat).

13 years agoUpdated Formatter.formatTime documentation.
Vinay Sajip [Sun, 12 Jun 2011 10:44:28 +0000 (11:44 +0100)]
Updated Formatter.formatTime documentation.

13 years agoIssue #12206: documentation for LogRecord constructor updated re. the level argument.
Vinay Sajip [Sat, 11 Jun 2011 22:03:37 +0000 (23:03 +0100)]
Issue #12206: documentation for LogRecord constructor updated re. the level argument.

13 years agoallow "fake" filenames in findsource (closes #9284)
Benjamin Peterson [Sat, 11 Jun 2011 20:53:11 +0000 (15:53 -0500)]
allow "fake" filenames in findsource (closes #9284)

This allows findsource() to work in doctests.

A patch from Dirkjan Ochtman.

13 years agoonto 3.1.5
Benjamin Peterson [Sat, 11 Jun 2011 16:33:01 +0000 (11:33 -0500)]
onto 3.1.5

13 years agoAdded tag v3.1.4 for changeset c918ec9f3a76
Benjamin Peterson [Sat, 11 Jun 2011 14:59:17 +0000 (09:59 -0500)]
Added tag v3.1.4 for changeset c918ec9f3a76

13 years agobump to 3.1.4 v3.1.4
Benjamin Peterson [Sat, 11 Jun 2011 14:58:58 +0000 (09:58 -0500)]
bump to 3.1.4

13 years agoAdd missing reST target to one heading in the tutorial
Éric Araujo [Sat, 11 Jun 2011 08:34:19 +0000 (10:34 +0200)]
Add missing reST target to one heading in the tutorial

13 years agomerge 3.1
Benjamin Peterson [Sat, 11 Jun 2011 16:34:31 +0000 (11:34 -0500)]
merge 3.1

13 years agomerge 3.1
Benjamin Peterson [Sat, 11 Jun 2011 15:01:14 +0000 (10:01 -0500)]
merge 3.1

13 years agoDocumented change for Issue #12168.
Vinay Sajip [Fri, 10 Jun 2011 17:52:50 +0000 (18:52 +0100)]
Documented change for Issue #12168.

13 years agomerge 3.1 (#12009)
Benjamin Peterson [Fri, 10 Jun 2011 17:29:40 +0000 (12:29 -0500)]
merge 3.1 (#12009)

13 years agofix regression in netrc comment handling (closes #12009)
Benjamin Peterson [Fri, 10 Jun 2011 16:32:52 +0000 (11:32 -0500)]
fix regression in netrc comment handling (closes #12009)

13 years agonull merge 3.1 (patch already applied to 3.2)
Victor Stinner [Fri, 10 Jun 2011 14:37:41 +0000 (16:37 +0200)]
null merge 3.1 (patch already applied to 3.2)

13 years agoIssue #10801: Fix test_unicode_filenames() of test_zipfile
Victor Stinner [Fri, 10 Jun 2011 14:32:54 +0000 (16:32 +0200)]
Issue #10801: Fix test_unicode_filenames() of test_zipfile

Just try to open files from the ZIP for reading, don't extract them to avoid
UnicodeEncodeError if the filename is not encodable to the filesystem encoding
(e.g. ASCII locale encoding).

13 years ago#10694: zipfile now ignores garbage at the end of a zipfile.
R David Murray [Thu, 9 Jun 2011 19:50:51 +0000 (15:50 -0400)]
#10694: zipfile now ignores garbage at the end of a zipfile.

Original fix by 'rep', final patch (with tests) by Xuanji Li.

13 years ago#12283: Fixed regression in smtplib quoting of leading dots in DATA.
R David Murray [Thu, 9 Jun 2011 19:05:57 +0000 (15:05 -0400)]
#12283: Fixed regression in smtplib quoting of leading dots in DATA.

I unfortunately introduced the regression when I refactored the code,
and there were no tests of quoting so it wasn't caught.  Now there
is one.

13 years agoIssue #12168: SysLogHandler now allows NUL termination to be controlled using a new...
Vinay Sajip [Thu, 9 Jun 2011 15:50:49 +0000 (16:50 +0100)]
Issue #12168: SysLogHandler now allows NUL termination to be controlled using a new 'append_nul' attribute on the handler.

13 years agoCorrection to 88e318166eaf - Issue #11583
Brian Curtin [Thu, 9 Jun 2011 14:10:38 +0000 (09:10 -0500)]
Correction to 88e318166eaf - Issue #11583

Rather than wrapping the C _isdir function in a Python function,
just import the C _isdir function directly. Additionally, add in the
docstring which was left out.

13 years agoBranch merge
Éric Araujo [Thu, 9 Jun 2011 11:13:24 +0000 (13:13 +0200)]
Branch merge

13 years agoFix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat.
Brian Curtin [Wed, 8 Jun 2011 23:17:18 +0000 (18:17 -0500)]
Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat.

By changing to the Windows GetFileAttributes API in nt._isdir we can figure
out if the path is a directory without opening the file via os.stat. This has
the minor benefit of speeding up os.path.isdir by at least 2x for regular
files and 10-15x improvements were seen on symbolic links (which opened the
file multiple times during os.stat). Since os.path.isdir is used in
several places on interpreter startup, we get a minor speedup in startup time.

13 years agoFix a few misuses of :option: I missed in r86521.
Éric Araujo [Wed, 8 Jun 2011 03:29:39 +0000 (05:29 +0200)]
Fix a few misuses of :option: I missed in r86521.

Extract of the commit message:

  Fix usage of :option: in the docs (#9312).

  :option: is used to create a link to an option of python, not to mark
  up any instance of any arbitrary command-line option.  These were
  changed to ````.

13 years agoAdd links from builtins module docs to built-in functions and constants docs
Éric Araujo [Wed, 8 Jun 2011 02:53:20 +0000 (04:53 +0200)]
Add links from builtins module docs to built-in functions and constants docs

13 years agoAdd examples that work on Windows to distutils docs (#1626300)
Éric Araujo [Tue, 7 Jun 2011 23:11:36 +0000 (01:11 +0200)]
Add examples that work on Windows to distutils docs (#1626300)

13 years agoRemove outdated bit of advice (584f9c213a6d follow-up)
Éric Araujo [Tue, 7 Jun 2011 22:47:49 +0000 (00:47 +0200)]
Remove outdated bit of advice (584f9c213a6d follow-up)

13 years ago#12274: use proper escaping for % in IDLE config.
Łukasz Langa [Tue, 7 Jun 2011 13:19:44 +0000 (15:19 +0200)]
#12274: use proper escaping for % in IDLE config.

13 years agotest.support: can_symlink() removes the temporary symbolic link
Victor Stinner [Tue, 7 Jun 2011 10:17:15 +0000 (12:17 +0200)]
test.support: can_symlink() removes the temporary symbolic link

13 years agoBranch merge
Éric Araujo [Mon, 6 Jun 2011 15:11:47 +0000 (17:11 +0200)]
Branch merge

13 years agonull merge
Martin v. Löwis [Sun, 5 Jun 2011 17:43:03 +0000 (19:43 +0200)]
null merge

13 years agomerge:Do not add txt files twice
Martin v. Löwis [Sun, 5 Jun 2011 17:42:21 +0000 (19:42 +0200)]
merge:Do not add txt files twice

13 years agoAdd 3.1.4 UUIDs.
Martin v. Löwis [Sun, 5 Jun 2011 08:56:44 +0000 (10:56 +0200)]
Add 3.1.4 UUIDs.

13 years agoDo not add txt files twice.
Martin v. Löwis [Sun, 5 Jun 2011 08:55:57 +0000 (10:55 +0200)]
Do not add txt files twice.

13 years agoRemove unneeded executable bit on two distutils files
Éric Araujo [Sat, 4 Jun 2011 18:47:26 +0000 (20:47 +0200)]
Remove unneeded executable bit on two distutils files

13 years agoImprove glossary entry for ABCs.
Éric Araujo [Sat, 4 Jun 2011 16:42:38 +0000 (18:42 +0200)]
Improve glossary entry for ABCs.

- Rename reST target name for collections ABCs to avoid collisions
- Add link to importlib ABCs (collections, numbers and io ABCs were already
  linked)
- Link to glossary entry from numbers module doc (other modules already do it)

13 years agoIssue #12016: Add test_errorhandle() to TestBase_Mapping of
Victor Stinner [Fri, 3 Jun 2011 21:44:39 +0000 (23:44 +0200)]
Issue #12016: Add test_errorhandle() to TestBase_Mapping of
test_multibytecodec_support. Improve also error message of the
test_errorhandle() of TestBase.

13 years agoIssue #12016: Reindent decoders of HK and JP codecs
Victor Stinner [Fri, 3 Jun 2011 21:34:09 +0000 (23:34 +0200)]
Issue #12016: Reindent decoders of HK and JP codecs

13 years agoRemove link that’s already present at the top of the file
Éric Araujo [Fri, 3 Jun 2011 18:43:42 +0000 (20:43 +0200)]
Remove link that’s already present at the top of the file

13 years agoDocument working dir for “make html” (#12249). Patch by Tshepang Lekhonkhobe.
Éric Araujo [Fri, 3 Jun 2011 17:25:58 +0000 (19:25 +0200)]
Document working dir for “make html” (#12249).  Patch by Tshepang Lekhonkhobe.

13 years agoFix named tuples to work with vars().
Raymond Hettinger [Fri, 3 Jun 2011 06:40:24 +0000 (23:40 -0700)]
Fix named tuples to work with vars().

13 years agoForward port doc updates for builtin functions.
Raymond Hettinger [Wed, 1 Jun 2011 23:17:23 +0000 (16:17 -0700)]
Forward port doc updates for builtin functions.

13 years agoBranch merge
Éric Araujo [Wed, 1 Jun 2011 17:39:27 +0000 (19:39 +0200)]
Branch merge

13 years agoClose #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, the file
Victor Stinner [Wed, 1 Jun 2011 11:13:04 +0000 (13:13 +0200)]
Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, the file
descriptor of a pipe closed in the parent process is valid in the child process
according to fstat(), but the mode of the file descriptor is invalid, and read
or write raise an error.

Add also requires_mac_ver() decorator to test.support.

13 years agomerge 3.1
Benjamin Peterson [Wed, 1 Jun 2011 02:38:49 +0000 (21:38 -0500)]
merge 3.1

13 years agoreturn NULL on error
Benjamin Peterson [Wed, 1 Jun 2011 02:38:15 +0000 (21:38 -0500)]
return NULL on error

13 years agobe extra careful with a borrowed reference when the GIL could be released (closes...
Benjamin Peterson [Wed, 1 Jun 2011 02:31:37 +0000 (21:31 -0500)]
be extra careful with a borrowed reference when the GIL could be released (closes #8578)

13 years agodemote this to a note
Benjamin Peterson [Wed, 1 Jun 2011 02:27:41 +0000 (21:27 -0500)]
demote this to a note

13 years agomerge 3.1 (#12221)
Benjamin Peterson [Wed, 1 Jun 2011 00:06:17 +0000 (19:06 -0500)]
merge 3.1 (#12221)

13 years agosimply use the Python version for pyexpat.__version__ #12221
Benjamin Peterson [Tue, 31 May 2011 23:59:49 +0000 (18:59 -0500)]
simply use the Python version for pyexpat.__version__ #12221

13 years agoClose #12085: Fix an attribute error in subprocess.Popen destructor if the
Victor Stinner [Tue, 31 May 2011 22:57:47 +0000 (00:57 +0200)]
Close #12085: Fix an attribute error in subprocess.Popen destructor if the
constructor has failed, e.g. because of an undeclared keyword argument. Patch
written by Oleg Oshmyan.