]>
granicus.if.org Git - python/log
Sandro Tosi [Sat, 20 Aug 2011 22:16:49 +0000 (00:16 +0200)]
#5301: merge with 3.2
Sandro Tosi [Sat, 20 Aug 2011 22:16:18 +0000 (00:16 +0200)]
#5301: add image/vnd.microsoft.icon (.ico) MIME type
Victor Stinner [Sat, 20 Aug 2011 22:00:16 +0000 (00:00 +0200)]
Issue #12326: woops, I really mean 'linux', not 'linux2'
Copy/paste (from Python 3.2) failure
Victor Stinner [Sat, 20 Aug 2011 21:39:26 +0000 (23:39 +0200)]
Close #12326: sys.platform is now always 'linux' on Linux
On Linux, sys.platform doesn't contain the major version anymore. It is now
always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version
used to build Python.
Éric Araujo [Sat, 20 Aug 2011 18:02:04 +0000 (20:02 +0200)]
Merge 3.2
Éric Araujo [Sat, 20 Aug 2011 18:00:07 +0000 (20:00 +0200)]
Branch merge
Éric Araujo [Sat, 20 Aug 2011 17:57:42 +0000 (19:57 +0200)]
Branch merge
Éric Araujo [Sat, 20 Aug 2011 17:55:58 +0000 (19:55 +0200)]
Branch merge
Éric Araujo [Sat, 20 Aug 2011 17:52:07 +0000 (19:52 +0200)]
Fix sdist test on Windows (#12678). Patch by Jeremy Kloth.
Antoine Pitrou [Sat, 20 Aug 2011 17:50:32 +0000 (19:50 +0200)]
Issue #12213: make it clear that BufferedRWPair shouldn't be called with the
same object as reader and writer, and deemphasize it in document order.
Antoine Pitrou [Sat, 20 Aug 2011 17:48:43 +0000 (19:48 +0200)]
Issue #12213: make it clear that BufferedRWPair shouldn't be called with the
same object as reader and writer, and deemphasize it in document order.
Sandro Tosi [Sat, 20 Aug 2011 15:06:38 +0000 (17:06 +0200)]
#12787: merge with 3.2
Sandro Tosi [Sat, 20 Aug 2011 15:05:56 +0000 (17:05 +0200)]
#12787: link original MultiCall proposal to webarchive and in a footnote
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.
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.
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.
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.
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.
Éric Araujo [Sat, 20 Aug 2011 07:31:25 +0000 (09:31 +0200)]
Add a simple test for the packaging RECORD file.
The existing test_record is not easily extendable to add script files or
extension modules: it collects all files from fake_dists and generates a
RECORD file at runtime. I felt more comfortable adding a new test
written from scratch more self-contained (just one project with
well-defined files) and more stupid (the checksums and sizes are
computed once and hard-coded).
Éric Araujo [Sat, 20 Aug 2011 07:19:25 +0000 (09:19 +0200)]
Minor cleanup
- Rename an attribute and create it in initialize_options instead of
finalize_options to match the other install_* classes
- Remove unnecessary method call in tests
Éric Araujo [Sat, 20 Aug 2011 05:42:56 +0000 (07:42 +0200)]
Add a test for extension modules in the old-style record file
Éric Araujo [Sat, 20 Aug 2011 05:34:43 +0000 (07:34 +0200)]
Rework test_old_record a bit to make the test more exact
(i.e. to check the files found are what we expect)
Éric Araujo [Sat, 20 Aug 2011 05:27:47 +0000 (07:27 +0200)]
Refactor the copying of xxmodule.c in packaging tests (#12141).
I need to copy this file in another test too, so I moved the support
code to distutils.tests.support and improved it to use proper skip
machinery instead of custom print/return/test suite fiddling.
Contrary to my similar change in distutils tests, I did not add support
for finding xxmodule.c when running a test from the tests directory,
because in that case my compiler didn’t find Python.h, so I figured it’s
better to skip than to fail.
Éric Araujo [Sat, 20 Aug 2011 05:25:39 +0000 (07:25 +0200)]
Dedent example in docstring
Éric Araujo [Sat, 20 Aug 2011 05:10:54 +0000 (07:10 +0200)]
Merge 3.2
Éric Araujo [Sat, 20 Aug 2011 05:08:51 +0000 (07:08 +0200)]
Add a test for extension modules in the distutils record file.
I made a note a month ago that install --record wrote incorrect entries
for extension modules (I think the problem was that the first character
of the file was stripped), so I’m now adding a test to try to reproduce
that in the current versions.
Éric Araujo [Sat, 20 Aug 2011 05:00:41 +0000 (07:00 +0200)]
Rework test_record a bit to make the test more exact
Éric Araujo [Sat, 20 Aug 2011 04:27:18 +0000 (06:27 +0200)]
Refactor the copying of xxmodule.c in distutils tests (#12141).
I need to copy this file in another test too, so I moved the support
code to distutils.tests.support and improved it:
- don’t skip when run from the Lib/distutils/tests directory
- use proper skip machinery instead of custom print/return/test suite
fiddling.
Antoine Pitrou [Sat, 20 Aug 2011 01:19:34 +0000 (03:19 +0200)]
Fix compilation under Windows
Sandro Tosi [Fri, 19 Aug 2011 20:55:24 +0000 (22:55 +0200)]
merge with 3.2
Sandro Tosi [Fri, 19 Aug 2011 20:54:50 +0000 (22:54 +0200)]
fix description of \r; thanks to Thomas Waldmann from docs@
Antoine Pitrou [Fri, 19 Aug 2011 18:33:11 +0000 (20:33 +0200)]
Fix typo in test names
Antoine Pitrou [Fri, 19 Aug 2011 18:32:34 +0000 (20:32 +0200)]
Fix typo in test names
Sandro Tosi [Fri, 19 Aug 2011 16:40:56 +0000 (18:40 +0200)]
merge with 3.2
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@
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.
Éric Araujo [Fri, 19 Aug 2011 15:47:52 +0000 (17:47 +0200)]
Restore $HOME after test has run (should fix #12765)
Éric Araujo [Fri, 19 Aug 2011 12:23:47 +0000 (14:23 +0200)]
Merge 3.2
Éric Araujo [Fri, 19 Aug 2011 12:22:52 +0000 (14:22 +0200)]
Branch merge
Éric Araujo [Fri, 19 Aug 2011 12:22:28 +0000 (14:22 +0200)]
Branch merge
Éric Araujo [Fri, 19 Aug 2011 07:36:59 +0000 (09:36 +0200)]
Merge fixes for #12256 and typos from 3.2
Éric Araujo [Fri, 19 Aug 2011 07:28:46 +0000 (09:28 +0200)]
Typo
É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.
Vinay Sajip [Fri, 19 Aug 2011 06:15:45 +0000 (07:15 +0100)]
Issue #12780: Merged fix from 3.2.
Vinay Sajip [Fri, 19 Aug 2011 06:14:40 +0000 (07:14 +0100)]
Issue #12780: Removed checks in logging for .pyc/.pyo in __file__.
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
Eli Bendersky [Fri, 19 Aug 2011 03:29:51 +0000 (06:29 +0300)]
Issue #12672: remove confusing part of sentence in documentation
Nadeem Vawda [Fri, 19 Aug 2011 03:14:40 +0000 (05:14 +0200)]
Merge: Fix ResourceWarnings in test_subprocess.
Nadeem Vawda [Fri, 19 Aug 2011 03:12:01 +0000 (05:12 +0200)]
Fix ResourceWarnings in test_subprocess.
Éric Araujo [Fri, 19 Aug 2011 01:53:51 +0000 (03:53 +0200)]
Mark abc.abstractproperty as a property
Éric Araujo [Fri, 19 Aug 2011 01:44:36 +0000 (03:44 +0200)]
Fix typo in command name
Éric Araujo [Fri, 19 Aug 2011 01:19:36 +0000 (03:19 +0200)]
Merge 3.2
Éric Araujo [Fri, 19 Aug 2011 01:12:38 +0000 (03:12 +0200)]
Fix instance I missed in
59f7bbe1236c (#
1626300 )
Éric Araujo [Fri, 19 Aug 2011 00:55:11 +0000 (02:55 +0200)]
Make logging call lazy
É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.
Éric Araujo [Fri, 19 Aug 2011 00:17:03 +0000 (02:17 +0200)]
Link isinstance/issubclass to the ABC glossary entry (#12256)
É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).
Éric Araujo [Thu, 18 Aug 2011 23:30:26 +0000 (01:30 +0200)]
Don’t use “arg” for “argument”
É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.
Éric Araujo [Thu, 18 Aug 2011 22:53:20 +0000 (00:53 +0200)]
Fix typo
Éric Araujo [Thu, 18 Aug 2011 22:53:04 +0000 (00:53 +0200)]
Remove class that was only useful with Sphinx autodoc
É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
É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.
Éric Araujo [Thu, 18 Aug 2011 22:41:23 +0000 (00:41 +0200)]
Fix markup to get a target instead of a comment
Éric Araujo [Thu, 18 Aug 2011 22:40:46 +0000 (00:40 +0200)]
Fix a typo and touch up blank lines
Éric Araujo [Thu, 18 Aug 2011 22:39:57 +0000 (00:39 +0200)]
Add missing reST target for one section of this file
Éric Araujo [Thu, 18 Aug 2011 22:39:19 +0000 (00:39 +0200)]
Avoid splitting a word between a link and text
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.
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.
Benjamin Peterson [Thu, 18 Aug 2011 18:55:38 +0000 (13:55 -0500)]
merge heads
Benjamin Peterson [Thu, 18 Aug 2011 18:55:31 +0000 (13:55 -0500)]
merge 3.2
Benjamin Peterson [Thu, 18 Aug 2011 18:54:16 +0000 (13:54 -0500)]
merge heads
Benjamin Peterson [Thu, 18 Aug 2011 18:52:19 +0000 (13:52 -0500)]
merge 3.2
Benjamin Peterson [Thu, 18 Aug 2011 18:51:47 +0000 (13:51 -0500)]
the named of the character is actually NUL
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.
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.
Benjamin Peterson [Thu, 18 Aug 2011 15:49:16 +0000 (10:49 -0500)]
merge 3.2
Benjamin Peterson [Thu, 18 Aug 2011 15:48:50 +0000 (10:48 -0500)]
NUL -> NULL
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.
Benjamin Peterson [Wed, 17 Aug 2011 17:05:13 +0000 (12:05 -0500)]
change word
Benjamin Peterson [Wed, 17 Aug 2011 17:03:47 +0000 (12:03 -0500)]
make __doc__ mutable on heaptypes (closes #12773)
Benjamin Peterson [Wed, 17 Aug 2011 16:54:03 +0000 (11:54 -0500)]
factor out common checks for setting special type attributes
Benjamin Peterson [Wed, 17 Aug 2011 16:48:23 +0000 (11:48 -0500)]
improve test name
Benjamin Peterson [Wed, 17 Aug 2011 03:28:23 +0000 (22:28 -0500)]
crush other possible refleaks in this section
Benjamin Peterson [Wed, 17 Aug 2011 03:27:42 +0000 (22:27 -0500)]
merge 3.2
Benjamin Peterson [Wed, 17 Aug 2011 03:26:48 +0000 (22:26 -0500)]
fix possible refleaks
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)
Benjamin Peterson [Tue, 16 Aug 2011 22:46:44 +0000 (17:46 -0500)]
merge heads
Benjamin Peterson [Tue, 16 Aug 2011 22:46:04 +0000 (17:46 -0500)]
some *nixes decided not to call init process 1 (closes #12763)
Sandro Tosi [Tue, 16 Aug 2011 18:08:04 +0000 (20:08 +0200)]
merge heads
Sandro Tosi [Tue, 16 Aug 2011 18:03:50 +0000 (20:03 +0200)]
merge with 3.2
Sandro Tosi [Tue, 16 Aug 2011 18:03:11 +0000 (20:03 +0200)]
#12761: fix wording of zlib license section
Antoine Pitrou [Tue, 16 Aug 2011 18:02:26 +0000 (20:02 +0200)]
Use -n for tests under Windows
Éric Araujo [Tue, 16 Aug 2011 17:13:58 +0000 (19:13 +0200)]
Branch merge
Éric Araujo [Tue, 16 Aug 2011 17:11:00 +0000 (19:11 +0200)]
Merge Makefile fix from 3.2 (thanks Georg)
É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
Éric Araujo [Tue, 16 Aug 2011 17:09:56 +0000 (19:09 +0200)]
Fix typo
É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
Ezio Melotti [Tue, 16 Aug 2011 16:03:41 +0000 (19:03 +0300)]
#9723: refactor regex.
Ezio Melotti [Mon, 15 Aug 2011 11:28:46 +0000 (14:28 +0300)]
#12204: merge with 3.2.