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

13 years agoFix markup: arguments in a class directive are __init__ arguments, not base classes
Éric Araujo [Tue, 31 May 2011 19:50:38 +0000 (21:50 +0200)]
Fix markup: arguments in a class directive are __init__ arguments, not base classes

13 years agoFix error message to use the Python name instead of the C name
Éric Araujo [Tue, 31 May 2011 12:08:26 +0000 (14:08 +0200)]
Fix error message to use the Python name instead of the C name

13 years agoIssue #12057: Add tests for ISO 2022 codecs
Victor Stinner [Mon, 30 May 2011 22:01:24 +0000 (00:01 +0200)]
Issue #12057: Add tests for ISO 2022 codecs

iso2022_jp, iso2022_jp_2 and iso2022_kr

13 years agoIssue #1195: fix the issue number of the NEWS entry
Victor Stinner [Mon, 30 May 2011 21:50:04 +0000 (23:50 +0200)]
Issue #1195: fix the issue number of the NEWS entry

13 years agoIssue #12016: my_fgets() now always clears errors before calling fgets(). Fix
Victor Stinner [Mon, 30 May 2011 21:46:00 +0000 (23:46 +0200)]
Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix
the following case: sys.stdin.read() stopped with CTRL+d (end of file),
raw_input() interrupted by CTRL+c.

13 years agomerge 3.1
Benjamin Peterson [Sun, 29 May 2011 21:43:52 +0000 (16:43 -0500)]
merge 3.1

13 years agoAdded tag v3.1.4rc1 for changeset 32fcb9e94985
Benjamin Peterson [Sun, 29 May 2011 21:10:15 +0000 (16:10 -0500)]
Added tag v3.1.4rc1 for changeset 32fcb9e94985

13 years agoupdate pydoc-topics v3.1.4rc1
Benjamin Peterson [Sun, 29 May 2011 21:09:08 +0000 (16:09 -0500)]
update pydoc-topics

13 years agobump to 3.1.4rc1
Benjamin Peterson [Sun, 29 May 2011 21:06:00 +0000 (16:06 -0500)]
bump to 3.1.4rc1

13 years agoMerge 3.1
Éric Araujo [Sun, 29 May 2011 16:07:12 +0000 (18:07 +0200)]
Merge 3.1

13 years agoBranch merge
Éric Araujo [Sun, 29 May 2011 16:05:53 +0000 (18:05 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Sun, 29 May 2011 15:56:20 +0000 (17:56 +0200)]
Branch merge

13 years agoRecord null merge of Issue #12205
Ned Deily [Sun, 29 May 2011 09:42:28 +0000 (02:42 -0700)]
Record null merge of Issue #12205

13 years agoIssue #12205: Fix test_subprocess failure due to uninstalled test data.
Ned Deily [Sun, 29 May 2011 09:39:02 +0000 (02:39 -0700)]
Issue #12205: Fix test_subprocess failure due to uninstalled test data.

13 years agoFix typo in 0311f62714f7
Éric Araujo [Sun, 29 May 2011 01:48:49 +0000 (03:48 +0200)]
Fix typo in 0311f62714f7

13 years agoDon’t misuse “package data” in pprint example
Éric Araujo [Sun, 29 May 2011 01:46:31 +0000 (03:46 +0200)]
Don’t misuse “package data” in pprint example

13 years agoFix typos in Misc/NEWS
Éric Araujo [Sun, 29 May 2011 01:43:59 +0000 (03:43 +0200)]
Fix typos in Misc/NEWS

13 years agoMerge doc touch-ups and fixes for #9831 and #9223 from 3.1
Éric Araujo [Sat, 28 May 2011 22:29:56 +0000 (00:29 +0200)]
Merge doc touch-ups and fixes for #9831 and #9223 from 3.1

13 years agoRe-add missing doc stub for the distutils check command
Éric Araujo [Sat, 28 May 2011 22:22:06 +0000 (00:22 +0200)]
Re-add missing doc stub for the distutils check command

13 years agoMinor touch-ups in distutils.cmd.Command doc
Éric Araujo [Sat, 28 May 2011 22:14:45 +0000 (00:14 +0200)]
Minor touch-ups in distutils.cmd.Command doc

13 years agoFix test_build_py when sys.dont_write_bytecode is true (#9831).
Éric Araujo [Sat, 28 May 2011 21:32:50 +0000 (23:32 +0200)]
Fix test_build_py when sys.dont_write_bytecode is true (#9831).

The tests now pass all combinations of -O/-OO and -B.  See also #7071
and #6292 for previous variations on the same theme.

test_versionpredicate needs a skip when sys.flags.optimize is true, but
I don’t know how to make that work with a DocTestSuite.

13 years agoFix ProcessTestCasePOSIXPurePython to test the module from import when
Gregory P. Smith [Sat, 28 May 2011 16:06:02 +0000 (09:06 -0700)]
Fix ProcessTestCasePOSIXPurePython to test the module from import when
_posixsubprocess doesn't exist rather than simply stubbing it out
after the fact.  This adds coverage for the RuntimeWarning as well as
using the pure python _create_pipe instead of using
_posixsubprocess.cloexec_pipe unintentionally with the pure python
code.

Ironically: I don't think any platform should ever actually _use_ the
pure Python subprocess code on POSIX platforms anymore.  This at least
tests it properly in this stable branch.  The pure python code for
this is likely to be removed in 3.3.

13 years agoIssue #11217: For 64-bit/32-bit Mac OS X universal framework builds,
Ned Deily [Sat, 28 May 2011 12:59:55 +0000 (05:59 -0700)]
Issue #11217: For 64-bit/32-bit Mac OS X universal framework builds,
ensure "make install" creates symlinks in --prefix bin for the "-32"
files in the framework bin directory like the installer does.

13 years agoIssue #985064: Make plistlib more resilient to faulty input plists.
Ned Deily [Sat, 28 May 2011 10:02:30 +0000 (03:02 -0700)]
Issue #985064: Make plistlib more resilient to faulty input plists.
Patch by Mher Movsisyan.

13 years agoIssue #985064: Make plistlib more resilient to faulty input plists.
Ned Deily [Sat, 28 May 2011 09:19:19 +0000 (02:19 -0700)]
Issue #985064: Make plistlib more resilient to faulty input plists.
Patch by Mher Movsisyan.

13 years agoIssue #9670: Increase the default stack size for secondary threads on
Ned Deily [Sat, 28 May 2011 07:36:12 +0000 (00:36 -0700)]
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren)

13 years agoIssue #9670: Increase the default stack size for secondary threads on
Ned Deily [Sat, 28 May 2011 07:19:56 +0000 (00:19 -0700)]
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren)

13 years agomerge 3.1
Benjamin Peterson [Fri, 27 May 2011 19:17:19 +0000 (14:17 -0500)]
merge 3.1

13 years agofix spacing
Benjamin Peterson [Fri, 27 May 2011 19:17:04 +0000 (14:17 -0500)]
fix spacing

13 years agomerge 3.1
Benjamin Peterson [Fri, 27 May 2011 19:10:36 +0000 (14:10 -0500)]
merge 3.1

13 years agofix indentation
Benjamin Peterson [Fri, 27 May 2011 19:10:24 +0000 (14:10 -0500)]
fix indentation

13 years agoMinor doc addition for clarity
Éric Araujo [Fri, 27 May 2011 02:42:47 +0000 (04:42 +0200)]
Minor doc addition for clarity

13 years agoAdd missing closing paren
Éric Araujo [Fri, 27 May 2011 02:36:52 +0000 (04:36 +0200)]
Add missing closing paren

13 years agoMerge 3.1
Éric Araujo [Thu, 26 May 2011 14:50:31 +0000 (16:50 +0200)]
Merge 3.1

13 years agoBranch merge
Éric Araujo [Thu, 26 May 2011 14:50:19 +0000 (16:50 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Thu, 26 May 2011 14:49:59 +0000 (16:49 +0200)]
Branch merge

13 years agoIssue #12090: backport 79fcd71d0356
Stefan Krah [Wed, 25 May 2011 22:37:45 +0000 (00:37 +0200)]
Issue #12090: backport 79fcd71d0356

13 years ago(Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read()
Victor Stinner [Wed, 25 May 2011 20:49:15 +0000 (22:49 +0200)]
(Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read()
returns None.

13 years agoIssue #12175: RawIOBase.readall() now returns None if read() returns None.
Victor Stinner [Wed, 25 May 2011 20:47:16 +0000 (22:47 +0200)]
Issue #12175: RawIOBase.readall() now returns None if read() returns None.

13 years ago(Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead of
Victor Stinner [Wed, 25 May 2011 20:11:55 +0000 (22:11 +0200)]
(Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead of
an IOError if the file is closed.

13 years agoIssue #12175: FileIO.readall() now raises a ValueError instead of an IOError if
Victor Stinner [Wed, 25 May 2011 20:09:03 +0000 (22:09 +0200)]
Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if
the file is closed.

13 years agoMerge 3.1
Éric Araujo [Wed, 25 May 2011 16:13:49 +0000 (18:13 +0200)]
Merge 3.1

13 years agoFix two typos
Éric Araujo [Wed, 25 May 2011 16:13:29 +0000 (18:13 +0200)]
Fix two typos

13 years agoBranch merge
Éric Araujo [Wed, 25 May 2011 16:12:22 +0000 (18:12 +0200)]
Branch merge

13 years ago(Merge 3.1) Issue #12057: Add cjkencodings directory to the Makefile and
Victor Stinner [Tue, 24 May 2011 23:15:59 +0000 (01:15 +0200)]
(Merge 3.1) Issue #12057: Add cjkencodings directory to the Makefile and
Tools/msi/msi.py

13 years agoIssue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py
Victor Stinner [Tue, 24 May 2011 23:13:59 +0000 (01:13 +0200)]
Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py

13 years ago(Merge 3.1) Issue #12057: Add tests for the HZ encoding
Victor Stinner [Tue, 24 May 2011 22:16:43 +0000 (00:16 +0200)]
(Merge 3.1) Issue #12057: Add tests for the HZ encoding

13 years agoIssue #12057: Add tests for the HZ encoding
Victor Stinner [Tue, 24 May 2011 22:06:51 +0000 (00:06 +0200)]
Issue #12057: Add tests for the HZ encoding

13 years agoIssue #12070: Fix the Makefile parser of the sysconfig module to handle
Victor Stinner [Tue, 24 May 2011 21:37:07 +0000 (23:37 +0200)]
Issue #12070: Fix the Makefile parser of the sysconfig module to handle
correctly references to "bogus variable" (e.g. "prefix=$/opt/python").

13 years ago(Merge 3.1) Issue #12100: Don't reset incremental encoders of CJK codecs at
Victor Stinner [Tue, 24 May 2011 20:22:17 +0000 (22:22 +0200)]
(Merge 3.1) Issue #12100: Don't reset incremental encoders of CJK codecs at
each call to their encode() method anymore, but continue to call the reset()
method if the final argument is True.

13 years agoIssue #12100: Don't reset incremental encoders of CJK codecs at each call to
Victor Stinner [Tue, 24 May 2011 20:17:55 +0000 (22:17 +0200)]
Issue #12100: Don't reset incremental encoders of CJK codecs at each call to
their encode() method anymore, but continue to call the reset() method if the
final argument is True.

13 years agomerge 3.1
Benjamin Peterson [Tue, 24 May 2011 17:51:24 +0000 (12:51 -0500)]
merge 3.1

13 years agobackout 8b384de4e780, so a proper fix can be considered (#5715)
Benjamin Peterson [Tue, 24 May 2011 17:50:34 +0000 (12:50 -0500)]
backout 8b384de4e780, so a proper fix can be considered (#5715)

13 years agomerge 3.1
Benjamin Peterson [Tue, 24 May 2011 17:44:26 +0000 (12:44 -0500)]
merge 3.1

13 years agouse '->' to indicate return values
Benjamin Peterson [Tue, 24 May 2011 17:42:51 +0000 (12:42 -0500)]
use '->' to indicate return values

13 years agomerge 3.1
Benjamin Peterson [Tue, 24 May 2011 17:09:26 +0000 (12:09 -0500)]
merge 3.1

13 years agogenerally, sockets should be closed after they're used
Benjamin Peterson [Tue, 24 May 2011 17:06:31 +0000 (12:06 -0500)]
generally, sockets should be closed after they're used

13 years agoIssue #5715: In socketserver, close the server socket in the child process.
Charles-François Natali [Tue, 24 May 2011 16:27:25 +0000 (18:27 +0200)]
Issue #5715: In socketserver, close the server socket in the child process.

13 years agoIssue #5715: In socketserver, close the server socket in the child process.
Charles-François Natali [Tue, 24 May 2011 16:23:15 +0000 (18:23 +0200)]
Issue #5715: In socketserver, close the server socket in the child process.

13 years ago#12074: remove the /0 when there are no failures.
Ezio Melotti [Mon, 23 May 2011 22:00:10 +0000 (01:00 +0300)]
#12074: remove the /0 when there are no failures.

13 years agomerge heads
Benjamin Peterson [Mon, 23 May 2011 21:29:50 +0000 (16:29 -0500)]
merge heads

13 years agomerge 3.1
Benjamin Peterson [Mon, 23 May 2011 21:22:42 +0000 (16:22 -0500)]
merge 3.1

13 years agoIssue #12074: regrtest displays also the current number of failures
Victor Stinner [Mon, 23 May 2011 21:14:05 +0000 (23:14 +0200)]
Issue #12074: regrtest displays also the current number of failures

13 years agocorrectly lookup __dir__
Benjamin Peterson [Mon, 23 May 2011 21:11:05 +0000 (16:11 -0500)]
correctly lookup __dir__

13 years agoClean-up example.
Raymond Hettinger [Mon, 23 May 2011 19:45:34 +0000 (12:45 -0700)]
Clean-up example.

13 years agoMerge 3.1
Victor Stinner [Mon, 23 May 2011 12:57:05 +0000 (14:57 +0200)]
Merge 3.1

13 years agotest_codecs now removes the temporay file (created by the test)
Victor Stinner [Mon, 23 May 2011 12:51:42 +0000 (14:51 +0200)]
test_codecs now removes the temporay file (created by the test)

13 years agoAdd 3.2.1rc2 uuid.
Martin v. Löwis [Mon, 23 May 2011 05:02:07 +0000 (07:02 +0200)]
Add 3.2.1rc2 uuid.

13 years agoIssue #10801: Remove a debug print() from test_zipfile
Victor Stinner [Sun, 22 May 2011 20:12:27 +0000 (22:12 +0200)]
Issue #10801: Remove a debug print() from test_zipfile

13 years agoIssue #12138: fix use of transient_internet() in test_urllibnet
Antoine Pitrou [Sun, 22 May 2011 15:35:17 +0000 (17:35 +0200)]
Issue #12138: fix use of transient_internet() in test_urllibnet

13 years agoAdd 3.2.1rc2 uuid.
Martin v. Loewis [Sun, 22 May 2011 10:59:35 +0000 (12:59 +0200)]
Add 3.2.1rc2 uuid.

13 years agoIssue 12126: removing incorrect claim about return value of select
Eli Bendersky [Sun, 22 May 2011 03:57:17 +0000 (06:57 +0300)]
Issue 12126: removing incorrect claim about return value of select
merge 3.1 -> 3.2

13 years agoIssue 12126: removing incorrect claim about return value of select
Eli Bendersky [Sun, 22 May 2011 03:56:15 +0000 (06:56 +0300)]
Issue 12126: removing incorrect claim about return value of select

13 years agoSimplify example
Raymond Hettinger [Sat, 21 May 2011 16:33:45 +0000 (09:33 -0700)]
Simplify example