]> granicus.if.org Git - python/log
python
13 years ago#12787: merge with 3.2
Sandro Tosi [Sat, 20 Aug 2011 15:06:38 +0000 (17:06 +0200)]
#12787: merge with 3.2

13 years ago#12787: link original MultiCall proposal to webarchive and in a footnote
Sandro Tosi [Sat, 20 Aug 2011 15:05:56 +0000 (17:05 +0200)]
#12787: link original MultiCall proposal to webarchive and in a footnote

13 years agoIssue #12213: Fix a buffering bug with interleaved reads and writes that
Antoine Pitrou [Sat, 20 Aug 2011 12:52:04 +0000 (14:52 +0200)]
Issue #12213: Fix a buffering bug with interleaved reads and writes that
could appear on BufferedRandom streams.

13 years agoIssue #12213: Fix a buffering bug with interleaved reads and writes that
Antoine Pitrou [Sat, 20 Aug 2011 12:39:23 +0000 (14:39 +0200)]
Issue #12213: Fix a buffering bug with interleaved reads and writes that
could appear on BufferedRandom streams.

13 years agoIssue #12791: Break reference cycles early when a generator exits with an exception.
Antoine Pitrou [Sat, 20 Aug 2011 12:18:25 +0000 (14:18 +0200)]
Issue #12791: Break reference cycles early when a generator exits with an exception.

13 years agoIssue #12791: Break reference cycles early when a generator exits with an exception.
Antoine Pitrou [Sat, 20 Aug 2011 12:15:03 +0000 (14:15 +0200)]
Issue #12791: Break reference cycles early when a generator exits with an exception.

13 years agoIssue #12326: sys.platform is now always 'linux2' on Linux
Victor Stinner [Sat, 20 Aug 2011 12:01:05 +0000 (14:01 +0200)]
Issue #12326: sys.platform is now always 'linux2' on Linux

Even if Python is compiled on Linux 3.

13 years agoFix compilation under Windows
Antoine Pitrou [Sat, 20 Aug 2011 01:19:34 +0000 (03:19 +0200)]
Fix compilation under Windows

13 years agomerge with 3.2
Sandro Tosi [Fri, 19 Aug 2011 20:55:24 +0000 (22:55 +0200)]
merge with 3.2

13 years agofix description of \r; thanks to Thomas Waldmann from docs@
Sandro Tosi [Fri, 19 Aug 2011 20:54:50 +0000 (22:54 +0200)]
fix description of \r; thanks to Thomas Waldmann from docs@

13 years agoFix typo in test names
Antoine Pitrou [Fri, 19 Aug 2011 18:33:11 +0000 (20:33 +0200)]
Fix typo in test names

13 years agoFix typo in test names
Antoine Pitrou [Fri, 19 Aug 2011 18:32:34 +0000 (20:32 +0200)]
Fix typo in test names

13 years agomerge with 3.2
Sandro Tosi [Fri, 19 Aug 2011 16:40:56 +0000 (18:40 +0200)]
merge with 3.2

13 years agomention RFC1123 as origin of 4-year digit; thanks to John Haxby from docs@
Sandro Tosi [Fri, 19 Aug 2011 16:40:21 +0000 (18:40 +0200)]
mention RFC1123 as origin of 4-year digit; thanks to John Haxby from docs@

13 years agoIssue #12778: Reduce memory consumption when JSON-encoding a large container of many...
Antoine Pitrou [Fri, 19 Aug 2011 16:03:14 +0000 (18:03 +0200)]
Issue #12778: Reduce memory consumption when JSON-encoding a large container of many small objects.

13 years agoRestore $HOME after test has run (should fix #12765)
Éric Araujo [Fri, 19 Aug 2011 15:47:52 +0000 (17:47 +0200)]
Restore $HOME after test has run (should fix #12765)

13 years agoMerge 3.2
Éric Araujo [Fri, 19 Aug 2011 12:23:47 +0000 (14:23 +0200)]
Merge 3.2

13 years agoBranch merge
Éric Araujo [Fri, 19 Aug 2011 12:22:52 +0000 (14:22 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Fri, 19 Aug 2011 12:22:28 +0000 (14:22 +0200)]
Branch merge

13 years agoMerge fixes for #12256 and typos from 3.2
Éric Araujo [Fri, 19 Aug 2011 07:36:59 +0000 (09:36 +0200)]
Merge fixes for #12256 and typos from 3.2

13 years agoTypo
Éric Araujo [Fri, 19 Aug 2011 07:28:46 +0000 (09:28 +0200)]
Typo

13 years agoMention virtual subclasses in the glossary entry for ABCs (#12256).
Éric Araujo [Fri, 19 Aug 2011 07:07:46 +0000 (09:07 +0200)]
Mention virtual subclasses in the glossary entry for ABCs (#12256).

I added a link from the term “virtual subclass” to the glossary entry
for ABCs but this was not enough, now the glossary briefly defines
“virtual” and links to the abc module doc which contains more mentions
of virtual subclasses.

13 years agoIssue #12780: Merged fix from 3.2.
Vinay Sajip [Fri, 19 Aug 2011 06:15:45 +0000 (07:15 +0100)]
Issue #12780: Merged fix from 3.2.

13 years agoIssue #12780: Removed checks in logging for .pyc/.pyo in __file__.
Vinay Sajip [Fri, 19 Aug 2011 06:14:40 +0000 (07:14 +0100)]
Issue #12780: Removed checks in logging for .pyc/.pyo in __file__.

13 years agoMerge from 3.2
Eli Bendersky [Fri, 19 Aug 2011 03:31:10 +0000 (06:31 +0300)]
Merge from 3.2
Issue #12672: remove confusing part of sentence in documentation

13 years agoIssue #12672: remove confusing part of sentence in documentation
Eli Bendersky [Fri, 19 Aug 2011 03:29:51 +0000 (06:29 +0300)]
Issue #12672: remove confusing part of sentence in documentation

13 years agoMerge: Fix ResourceWarnings in test_subprocess.
Nadeem Vawda [Fri, 19 Aug 2011 03:14:40 +0000 (05:14 +0200)]
Merge: Fix ResourceWarnings in test_subprocess.

13 years agoFix ResourceWarnings in test_subprocess.
Nadeem Vawda [Fri, 19 Aug 2011 03:12:01 +0000 (05:12 +0200)]
Fix ResourceWarnings in test_subprocess.

13 years agoMark abc.abstractproperty as a property
Éric Araujo [Fri, 19 Aug 2011 01:53:51 +0000 (03:53 +0200)]
Mark abc.abstractproperty as a property

13 years agoFix typo in command name
Éric Araujo [Fri, 19 Aug 2011 01:44:36 +0000 (03:44 +0200)]
Fix typo in command name

13 years agoMerge 3.2
Éric Araujo [Fri, 19 Aug 2011 01:19:36 +0000 (03:19 +0200)]
Merge 3.2

13 years agoFix instance I missed in 59f7bbe1236c (#1626300)
Éric Araujo [Fri, 19 Aug 2011 01:12:38 +0000 (03:12 +0200)]
Fix instance I missed in 59f7bbe1236c (#1626300)

13 years agoMake logging call lazy
Éric Araujo [Fri, 19 Aug 2011 00:55:11 +0000 (02:55 +0200)]
Make logging call lazy

13 years agoRemove obsolete term + indicate how to find the program (#1626300).
Éric Araujo [Fri, 19 Aug 2011 00:30:15 +0000 (02:30 +0200)]
Remove obsolete term + indicate how to find the program (#1626300).

Suggested by Terry J. Reedy.

13 years agoLink isinstance/issubclass to the ABC glossary entry (#12256)
Éric Araujo [Fri, 19 Aug 2011 00:17:03 +0000 (02:17 +0200)]
Link isinstance/issubclass to the ABC glossary entry (#12256)

13 years agoDon’t quote characters twice.
Éric Araujo [Thu, 18 Aug 2011 23:45:12 +0000 (01:45 +0200)]
Don’t quote characters twice.

``code`` markup is enough to mark command-line fragments or to talk
about a character.  ``'c'`` is still used for actual Python string
objects.  I did a similar change in optparse.rst in r86521.

I’ve also ported two minor changes from the 3.3 version of the file
(removing an unnecessary module name in a class directive, adding a
comma).

13 years agoDon’t use “arg” for “argument”
Éric Araujo [Thu, 18 Aug 2011 23:30:26 +0000 (01:30 +0200)]
Don’t use “arg” for “argument”

13 years agoImprove “pysetup create” help messages.
Éric Araujo [Thu, 18 Aug 2011 22:56:57 +0000 (00:56 +0200)]
Improve “pysetup create” help messages.

The example version numbers were invalid and “package” was misused.  I
also made lines shorter, replaced “e-mail” with “email” (more common in
the stdlib and I believe in English generally) and tweaked a few other
things.

13 years agoFix typo
Éric Araujo [Thu, 18 Aug 2011 22:53:20 +0000 (00:53 +0200)]
Fix typo

13 years agoRemove class that was only useful with Sphinx autodoc
Éric Araujo [Thu, 18 Aug 2011 22:53:04 +0000 (00:53 +0200)]
Remove class that was only useful with Sphinx autodoc

13 years agoAdd a few missing source links from 2.7 and harmonize lib docs headers
Éric Araujo [Thu, 18 Aug 2011 22:49:18 +0000 (00:49 +0200)]
Add a few missing source links from 2.7 and harmonize lib docs headers

13 years agoMinor improvements to BadZipFile and BadZipfile docs.
Éric Araujo [Thu, 18 Aug 2011 22:44:31 +0000 (00:44 +0200)]
Minor improvements to BadZipFile and BadZipfile docs.

I made the doc for the compat alias BadZipfile shorter and used a
directive to document deprecation.

I figured there was no point of talking about zipfile.error (“the old
name” that’s older than the other old name BadZipfile) in the 3.x docs
so I just removed it.

13 years agoFix markup to get a target instead of a comment
Éric Araujo [Thu, 18 Aug 2011 22:41:23 +0000 (00:41 +0200)]
Fix markup to get a target instead of a comment

13 years agoFix a typo and touch up blank lines
Éric Araujo [Thu, 18 Aug 2011 22:40:46 +0000 (00:40 +0200)]
Fix a typo and touch up blank lines

13 years agoAdd missing reST target for one section of this file
Éric Araujo [Thu, 18 Aug 2011 22:39:57 +0000 (00:39 +0200)]
Add missing reST target for one section of this file

13 years agoAvoid splitting a word between a link and text
Éric Araujo [Thu, 18 Aug 2011 22:39:19 +0000 (00:39 +0200)]
Avoid splitting a word between a link and text

13 years agoIssue #12650: fix failures on some buildbots, when a subprocess takes a long
Charles-François Natali [Thu, 18 Aug 2011 22:25:07 +0000 (00:25 +0200)]
Issue #12650: fix failures on some buildbots, when a subprocess takes a long
time to spawn.

13 years agoIssue #12650: fix failures on some buildbots, when a subprocess takes a long
Charles-François Natali [Thu, 18 Aug 2011 22:24:00 +0000 (00:24 +0200)]
Issue #12650: fix failures on some buildbots, when a subprocess takes a long
time to spawn.

13 years agomerge heads
Benjamin Peterson [Thu, 18 Aug 2011 18:55:38 +0000 (13:55 -0500)]
merge heads

13 years agomerge 3.2
Benjamin Peterson [Thu, 18 Aug 2011 18:55:31 +0000 (13:55 -0500)]
merge 3.2

13 years agomerge heads
Benjamin Peterson [Thu, 18 Aug 2011 18:54:16 +0000 (13:54 -0500)]
merge heads

13 years agomerge 3.2
Benjamin Peterson [Thu, 18 Aug 2011 18:52:19 +0000 (13:52 -0500)]
merge 3.2

13 years agothe named of the character is actually NUL
Benjamin Peterson [Thu, 18 Aug 2011 18:51:47 +0000 (13:51 -0500)]
the named of the character is actually NUL

13 years agoIssue #12650: Fix a race condition where a subprocess.Popen could leak
Charles-François Natali [Thu, 18 Aug 2011 17:11:29 +0000 (19:11 +0200)]
Issue #12650: Fix a race condition where a subprocess.Popen could leak
resources (FD/zombie) when killed at the wrong time.

13 years agoIssue #12650: Fix a race condition where a subprocess.Popen could leak
Charles-François Natali [Thu, 18 Aug 2011 16:49:39 +0000 (18:49 +0200)]
Issue #12650: Fix a race condition where a subprocess.Popen could leak
resources (FD/zombie) when killed at the wrong time.

13 years agomerge 3.2
Benjamin Peterson [Thu, 18 Aug 2011 15:49:16 +0000 (10:49 -0500)]
merge 3.2

13 years agoNUL -> NULL
Benjamin Peterson [Thu, 18 Aug 2011 15:48:50 +0000 (10:48 -0500)]
NUL -> NULL

13 years agoIssue #12326: don't test the major version of sys.platform
Victor Stinner [Wed, 17 Aug 2011 18:49:41 +0000 (20:49 +0200)]
Issue #12326: don't test the major version of sys.platform

Use startswith, instead of ==, when testing sys.platform to support
new platforms like Linux 3 or OpenBSD 5.

13 years agochange word
Benjamin Peterson [Wed, 17 Aug 2011 17:05:13 +0000 (12:05 -0500)]
change word

13 years agomake __doc__ mutable on heaptypes (closes #12773)
Benjamin Peterson [Wed, 17 Aug 2011 17:03:47 +0000 (12:03 -0500)]
make __doc__ mutable on heaptypes (closes #12773)

13 years agofactor out common checks for setting special type attributes
Benjamin Peterson [Wed, 17 Aug 2011 16:54:03 +0000 (11:54 -0500)]
factor out common checks for setting special type attributes

13 years agoimprove test name
Benjamin Peterson [Wed, 17 Aug 2011 16:48:23 +0000 (11:48 -0500)]
improve test name

13 years agocrush other possible refleaks in this section
Benjamin Peterson [Wed, 17 Aug 2011 03:28:23 +0000 (22:28 -0500)]
crush other possible refleaks in this section

13 years agomerge 3.2
Benjamin Peterson [Wed, 17 Aug 2011 03:27:42 +0000 (22:27 -0500)]
merge 3.2

13 years agofix possible refleaks
Benjamin Peterson [Wed, 17 Aug 2011 03:26:48 +0000 (22:26 -0500)]
fix possible refleaks

13 years agocomplain when a class variable shadows a name in __slots__ (closes #12766)
Benjamin Peterson [Tue, 16 Aug 2011 23:53:26 +0000 (18:53 -0500)]
complain when a class variable shadows a name in __slots__ (closes #12766)

13 years agomerge heads
Benjamin Peterson [Tue, 16 Aug 2011 22:46:44 +0000 (17:46 -0500)]
merge heads

13 years agosome *nixes decided not to call init process 1 (closes #12763)
Benjamin Peterson [Tue, 16 Aug 2011 22:46:04 +0000 (17:46 -0500)]
some *nixes decided not to call init process 1 (closes #12763)

13 years agomerge heads
Sandro Tosi [Tue, 16 Aug 2011 18:08:04 +0000 (20:08 +0200)]
merge heads

13 years agomerge with 3.2
Sandro Tosi [Tue, 16 Aug 2011 18:03:50 +0000 (20:03 +0200)]
merge with 3.2

13 years ago#12761: fix wording of zlib license section
Sandro Tosi [Tue, 16 Aug 2011 18:03:11 +0000 (20:03 +0200)]
#12761: fix wording of zlib license section

13 years agoUse -n for tests under Windows
Antoine Pitrou [Tue, 16 Aug 2011 18:02:26 +0000 (20:02 +0200)]
Use -n for tests under Windows

13 years agoBranch merge
Éric Araujo [Tue, 16 Aug 2011 17:13:58 +0000 (19:13 +0200)]
Branch merge

13 years agoMerge Makefile fix from 3.2 (thanks Georg)
Éric Araujo [Tue, 16 Aug 2011 17:11:00 +0000 (19:11 +0200)]
Merge Makefile fix from 3.2 (thanks Georg)

13 years agoMove versionadded directive to the top level, as we do in other files
Éric Araujo [Tue, 16 Aug 2011 17:10:24 +0000 (19:10 +0200)]
Move versionadded directive to the top level, as we do in other files

13 years agoFix typo
Éric Araujo [Tue, 16 Aug 2011 17:09:56 +0000 (19:09 +0200)]
Fix typo

13 years agoRevert change that was not a syntax fix but actually a behavior change
Éric Araujo [Tue, 16 Aug 2011 17:05:56 +0000 (19:05 +0200)]
Revert change that was not a syntax fix but actually a behavior change

13 years ago#9723: refactor regex.
Ezio Melotti [Tue, 16 Aug 2011 16:03:41 +0000 (19:03 +0300)]
#9723: refactor regex.

13 years ago#12204: merge with 3.2.
Ezio Melotti [Mon, 15 Aug 2011 11:28:46 +0000 (14:28 +0300)]
#12204: merge with 3.2.

13 years ago#12204: document that str.upper().isupper() might be False and add a note about cased...
Ezio Melotti [Mon, 15 Aug 2011 11:27:19 +0000 (14:27 +0300)]
#12204: document that str.upper().isupper() might be False and add a note about cased characters.

13 years ago#12266: merge with 3.2.
Ezio Melotti [Mon, 15 Aug 2011 06:26:28 +0000 (09:26 +0300)]
#12266: merge with 3.2.

13 years ago#12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased...
Ezio Melotti [Mon, 15 Aug 2011 06:09:57 +0000 (09:09 +0300)]
#12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters.

13 years ago#12725: merge with 3.2.
Ezio Melotti [Sun, 14 Aug 2011 05:29:49 +0000 (08:29 +0300)]
#12725: merge with 3.2.

13 years ago#12725: fix working. Patch by Ben Hayden.
Ezio Melotti [Sun, 14 Aug 2011 05:28:57 +0000 (08:28 +0300)]
#12725: fix working. Patch by Ben Hayden.

13 years agoMonotonic, not monotonous
Antoine Pitrou [Sat, 13 Aug 2011 23:51:52 +0000 (01:51 +0200)]
Monotonic, not monotonous

13 years agoFollowup to 8e824e09924a: fix regression on 32-bit builds
Antoine Pitrou [Sat, 13 Aug 2011 18:40:32 +0000 (20:40 +0200)]
Followup to 8e824e09924a: fix regression on 32-bit builds

13 years agoIssue #12744: Fix inefficient representation of integers
Antoine Pitrou [Sat, 13 Aug 2011 18:15:19 +0000 (20:15 +0200)]
Issue #12744: Fix inefficient representation of integers
between 2**31 and 2**63 on systems with a 64-bit C "long".

13 years agoIssue #12669: Fix test_curses so that it can run on the buildbots.
Nadeem Vawda [Sat, 13 Aug 2011 13:43:49 +0000 (15:43 +0200)]
Issue #12669: Fix test_curses so that it can run on the buildbots.

13 years agoFix incorrect comment in zlib.Decompress.flush().
Nadeem Vawda [Sat, 13 Aug 2011 13:42:50 +0000 (15:42 +0200)]
Fix incorrect comment in zlib.Decompress.flush().

Reported by Oleg Oshmyan in issue #12646.

13 years agoIssue #12646: Add an 'eof' attribute to zlib.Decompress.
Nadeem Vawda [Sat, 13 Aug 2011 13:22:40 +0000 (15:22 +0200)]
Issue #12646: Add an 'eof' attribute to zlib.Decompress.

This will make it easier to detect truncated input streams.

Also, make zlib's error messages more consistent.

13 years agoMerge with 3.2.
Georg Brandl [Sat, 13 Aug 2011 09:48:40 +0000 (11:48 +0200)]
Merge with 3.2.

13 years agoFix #11513: wrong exception handling for the case that GzipFile itself raises an...
Georg Brandl [Sat, 13 Aug 2011 09:48:12 +0000 (11:48 +0200)]
Fix #11513: wrong exception handling for the case that GzipFile itself raises an IOError.

13 years agomerge 3.2
Benjamin Peterson [Sat, 13 Aug 2011 05:33:29 +0000 (00:33 -0500)]
merge 3.2

13 years agotokenize is just broken on test_pep3131.py
Benjamin Peterson [Sat, 13 Aug 2011 05:33:21 +0000 (00:33 -0500)]
tokenize is just broken on test_pep3131.py

13 years agomerge 3.2
Benjamin Peterson [Sat, 13 Aug 2011 04:35:46 +0000 (23:35 -0500)]
merge 3.2

13 years agonormalization is different between unicode builds, so use a new non-BMP char and...
Benjamin Peterson [Sat, 13 Aug 2011 04:35:34 +0000 (23:35 -0500)]
normalization is different between unicode builds, so use a new non-BMP char and add normalization test

13 years agoinclude header with PyAST_Validate
Benjamin Peterson [Sat, 13 Aug 2011 04:10:50 +0000 (23:10 -0500)]
include header with PyAST_Validate

13 years agomerge 3.2 (#12732)
Benjamin Peterson [Sat, 13 Aug 2011 03:18:19 +0000 (22:18 -0500)]
merge 3.2 (#12732)

13 years agoin narrow builds, make sure to test codepoints as identifier characters (closes ...
Benjamin Peterson [Sat, 13 Aug 2011 03:17:18 +0000 (22:17 -0500)]
in narrow builds, make sure to test codepoints as identifier characters (closes #12732)

This fixes the use of Unicode identifiers outside the BMP in narrow builds.

13 years agomerge with 3.2
Sandro Tosi [Fri, 12 Aug 2011 22:40:08 +0000 (00:40 +0200)]
merge with 3.2