]> granicus.if.org Git - python/log
python
12 years agoNull merge.
Stefan Krah [Sun, 18 Nov 2012 23:54:50 +0000 (00:54 +0100)]
Null merge.

12 years agoBackport 9dd4638de73b.
Stefan Krah [Sun, 18 Nov 2012 23:54:05 +0000 (00:54 +0100)]
Backport 9dd4638de73b.

12 years agoNull merge.
Stefan Krah [Sun, 18 Nov 2012 23:40:46 +0000 (00:40 +0100)]
Null merge.

12 years agoIssue #6308: Try to fix the termios build failure on HP-UX.
Stefan Krah [Sun, 18 Nov 2012 23:07:18 +0000 (00:07 +0100)]
Issue #6308: Try to fix the termios build failure on HP-UX.

12 years ago#7782: merge with 3.3.
Ezio Melotti [Sun, 18 Nov 2012 21:16:02 +0000 (23:16 +0200)]
#7782: merge with 3.3.

12 years ago#7782: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 21:15:47 +0000 (23:15 +0200)]
#7782: merge with 3.2.

12 years ago#7782: add a test for test_iter.
Ezio Melotti [Sun, 18 Nov 2012 21:14:42 +0000 (23:14 +0200)]
#7782: add a test for test_iter.

12 years agoThe poplib module provides two classes, not one.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:54 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.

12 years agoThe poplib module provides two classes, not one.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:24 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.

12 years agoThe poplib module provides two classes, not one.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:02 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.

12 years agoRegen importlib.h
Brett Cannon [Sun, 18 Nov 2012 15:27:12 +0000 (10:27 -0500)]
Regen importlib.h

12 years agoIssue #15627: Add the compile_source() method to
Brett Cannon [Sun, 18 Nov 2012 15:03:31 +0000 (10:03 -0500)]
Issue #15627: Add the compile_source() method to
importlib.abc.SourceLoader.

This provides an easy hook into the import system to allow for source
transformations, AST optimizations, etc.

12 years ago#16306: merge with 3.3.
Ezio Melotti [Sun, 18 Nov 2012 12:06:54 +0000 (14:06 +0200)]
#16306: merge with 3.3.

12 years ago#16306: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 12:02:08 +0000 (14:02 +0200)]
#16306: merge with 3.2.

12 years ago#16306: Fix multiple error messages when unknown command line parameters where passed...
Ezio Melotti [Sun, 18 Nov 2012 11:55:52 +0000 (13:55 +0200)]
#16306: Fix multiple error messages when unknown command line parameters where passed to the interpreter.  Patch by Hieu Nguyen.

12 years ago#14313: null merge.
Ezio Melotti [Sun, 18 Nov 2012 11:22:55 +0000 (13:22 +0200)]
#14313: null merge.

12 years ago#14313: null merge.
Ezio Melotti [Sun, 18 Nov 2012 11:22:34 +0000 (13:22 +0200)]
#14313: null merge.

12 years ago#14313: zipfile now raises NotImplementedError when the compression type is unknown.
Ezio Melotti [Sun, 18 Nov 2012 11:20:36 +0000 (13:20 +0200)]
#14313: zipfile now raises NotImplementedError when the compression type is unknown.

12 years ago#16053: merge with 3.3.
Ezio Melotti [Sun, 18 Nov 2012 10:56:31 +0000 (12:56 +0200)]
#16053: merge with 3.3.

12 years ago#16053: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 10:56:17 +0000 (12:56 +0200)]
#16053: merge with 3.2.

12 years ago#16053: document csv.Dialect.strict. Patch by Kushal Das.
Ezio Melotti [Sun, 18 Nov 2012 10:55:35 +0000 (12:55 +0200)]
#16053: document csv.Dialect.strict.  Patch by Kushal Das.

12 years agoMerge typo fix from 3.3.
Mark Dickinson [Sun, 18 Nov 2012 10:42:42 +0000 (10:42 +0000)]
Merge typo fix from 3.3.

12 years agoMerge typo fix from 3.2.
Mark Dickinson [Sun, 18 Nov 2012 10:42:27 +0000 (10:42 +0000)]
Merge typo fix from 3.2.

12 years agoTypo fix.
Mark Dickinson [Sun, 18 Nov 2012 10:42:07 +0000 (10:42 +0000)]
Typo fix.

12 years agoIssue #12005: merge doc patch from 3.3
Mark Dickinson [Sun, 18 Nov 2012 10:22:51 +0000 (10:22 +0000)]
Issue #12005: merge doc patch from 3.3

12 years agoIssue #12005: merge doc patch from 3.2
Mark Dickinson [Sun, 18 Nov 2012 10:22:40 +0000 (10:22 +0000)]
Issue #12005: merge doc patch from 3.2

12 years agoIssue #12005: clarify behaviour of % and // for Decimal objects.
Mark Dickinson [Sun, 18 Nov 2012 10:22:05 +0000 (10:22 +0000)]
Issue #12005: clarify behaviour of % and // for Decimal objects.

12 years agoIssue #10966: Remove the concept of unexpected skipped tests.
Brett Cannon [Sun, 18 Nov 2012 01:46:26 +0000 (20:46 -0500)]
Issue #10966: Remove the concept of unexpected skipped tests.

The concept of what was unexpected was typically defined as "some
depencendy wasn't installed", which isn't unexpected at all as it's
totally optional. Since it confuses new contributors as they think
something is wrong with their installation it seems sensible to get
rid of the concept.

This change also adds the concept of optional tests that are required
to work on a specific platform(s) (e.g. test_winreg on Windows). This
should help catch compile issues instead of a test being blindly
skipped even when it should have run.

The skipped test list in the future can also print out the reason for
being skipped to make it more obvious as to why the skipping occurred.

12 years agoIssue #16408: Fix file descriptors not being closed in error conditions in the zipfil...
Antoine Pitrou [Sat, 17 Nov 2012 22:54:40 +0000 (23:54 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.

12 years agoIssue #16408: Fix file descriptors not being closed in error conditions in the zipfil...
Antoine Pitrou [Sat, 17 Nov 2012 22:52:05 +0000 (23:52 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.

12 years agoIssue #16408: Fix file descriptors not being closed in error conditions in the zipfil...
Antoine Pitrou [Sat, 17 Nov 2012 22:50:08 +0000 (23:50 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.

12 years agoIssue #16215: Fix potential double memory free in str.replace().
Antoine Pitrou [Sat, 17 Nov 2012 22:29:28 +0000 (23:29 +0100)]
Issue #16215: Fix potential double memory free in str.replace().
Patch by Serhiy Storchaka.

12 years agoIssue #16215: Fix potential double memory free in str.replace().
Antoine Pitrou [Sat, 17 Nov 2012 22:28:17 +0000 (23:28 +0100)]
Issue #16215: Fix potential double memory free in str.replace().
Patch by Serhiy Storchaka.

12 years agoIssue #16451: Refactor to remove duplication between range and slice in slice index...
Mark Dickinson [Sat, 17 Nov 2012 19:18:10 +0000 (19:18 +0000)]
Issue #16451: Refactor to remove duplication between range and slice in slice index computations.

12 years agoIssue #14631: Add a new :class:`weakref.WeakMethod` to simulate weak references to...
Antoine Pitrou [Sat, 17 Nov 2012 17:57:38 +0000 (18:57 +0100)]
Issue #14631: Add a new :class:`weakref.WeakMethod` to simulate weak references to bound methods.

12 years ago#16157: merge with 3.3.
Ezio Melotti [Sat, 17 Nov 2012 17:30:48 +0000 (19:30 +0200)]
#16157: merge with 3.3.

12 years ago#16157: fix links in the whatsnew files.
Ezio Melotti [Sat, 17 Nov 2012 17:29:12 +0000 (19:29 +0200)]
#16157: fix links in the whatsnew files.

12 years ago#11981: remove duplicate line. Patch by Johan Euphrosine.
Ezio Melotti [Sat, 17 Nov 2012 16:56:15 +0000 (18:56 +0200)]
#11981: remove duplicate line.  Patch by Johan Euphrosine.

12 years ago#16420: merge with 3.3.
Ezio Melotti [Sat, 17 Nov 2012 15:39:11 +0000 (17:39 +0200)]
#16420: merge with 3.3.

12 years ago#16420: merge with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 15:38:58 +0000 (17:38 +0200)]
#16420: merge with 3.2.

12 years ago#16420: document a way to escape metacharacters in glob/fnmatch.
Ezio Melotti [Sat, 17 Nov 2012 15:38:11 +0000 (17:38 +0200)]
#16420: document a way to escape metacharacters in glob/fnmatch.

12 years agoMerge fix for #16489 from 3.3
Brett Cannon [Sat, 17 Nov 2012 14:33:14 +0000 (09:33 -0500)]
Merge fix for #16489 from 3.3

12 years agoIssue #16489: Make it clearer that importlib.find_loader() requires
Brett Cannon [Sat, 17 Nov 2012 14:30:55 +0000 (09:30 -0500)]
Issue #16489: Make it clearer that importlib.find_loader() requires
the user to import any parent packages.

12 years agoMerge updates about dir() with 3.3.
Ezio Melotti [Sat, 17 Nov 2012 10:56:29 +0000 (12:56 +0200)]
Merge updates about dir() with 3.3.

12 years agoMerge updates about dir() with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 10:54:45 +0000 (12:54 +0200)]
Merge updates about dir() with 3.2.

12 years agoUpdate section about dir() in the tutorial.
Ezio Melotti [Sat, 17 Nov 2012 10:50:14 +0000 (12:50 +0200)]
Update section about dir() in the tutorial.

12 years agoMerge rephrasing with 3.3.
Ezio Melotti [Sat, 17 Nov 2012 10:06:44 +0000 (12:06 +0200)]
Merge rephrasing with 3.3.

12 years agoMerge rephrasing with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 10:06:26 +0000 (12:06 +0200)]
Merge rephrasing with 3.2.

12 years agoRephrase a sentence in the set and dict comprehensions tutorial page.
Ezio Melotti [Sat, 17 Nov 2012 10:06:01 +0000 (12:06 +0200)]
Rephrase a sentence in the set and dict comprehensions tutorial page.

12 years agoMERGE: Closes #16461: Wave library should be able to deal with 4GB wav files, and...
Jesus Cea [Sat, 17 Nov 2012 02:43:15 +0000 (03:43 +0100)]
MERGE: Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.

12 years agoMERGE: Closes #16461: Wave library should be able to deal with 4GB wav files, and...
Jesus Cea [Sat, 17 Nov 2012 02:42:41 +0000 (03:42 +0100)]
MERGE: Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.

12 years agoCloses #16461: Wave library should be able to deal with 4GB wav files, and sample...
Jesus Cea [Sat, 17 Nov 2012 02:41:54 +0000 (03:41 +0100)]
Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.

12 years ago#16478: merge with 3.3.
Ezio Melotti [Fri, 16 Nov 2012 11:17:59 +0000 (13:17 +0200)]
#16478: merge with 3.3.

12 years ago#16478: merge with 3.2.
Ezio Melotti [Fri, 16 Nov 2012 11:17:42 +0000 (13:17 +0200)]
#16478: merge with 3.2.

12 years ago#16478: use floor division in tabnanny and fix a ResourceWarning. Patch by Serhiy...
Ezio Melotti [Fri, 16 Nov 2012 11:17:08 +0000 (13:17 +0200)]
#16478: use floor division in tabnanny and fix a ResourceWarning.  Patch by Serhiy Storchaka.

12 years agoIssue #15894: Document why we don't worry about re-acquiring the
Brett Cannon [Fri, 16 Nov 2012 02:39:36 +0000 (21:39 -0500)]
Issue #15894: Document why we don't worry about re-acquiring the
global import lock after forking.

12 years agoAdd NEWS entries for the removal of Misc/Vim and Misc/TextMate.
Brett Cannon [Thu, 15 Nov 2012 21:16:45 +0000 (16:16 -0500)]
Add NEWS entries for the removal of Misc/Vim and Misc/TextMate.

Also merged two duplicate sections of Tools/Demos.

12 years agomerge
Brett Cannon [Thu, 15 Nov 2012 21:13:00 +0000 (16:13 -0500)]
merge

12 years agoRemove the TextMate bundle.
Brett Cannon [Thu, 15 Nov 2012 21:12:19 +0000 (16:12 -0500)]
Remove the TextMate bundle.

It had not been updated since May 2008 (6 months before Python 3 was
released!).

This now removes any special editor support by python-dev, alleviating
those burdens.

12 years agoRemove the Vim syntax files.
Brett Cannon [Thu, 15 Nov 2012 21:10:16 +0000 (16:10 -0500)]
Remove the Vim syntax files.

They had become extremely stale (the script to generate the file was
Python 2 compatible!). Plus the community took the work and made
improvements that are available on www.vim.org.

If you want to update Vim's runtime files to the latest available,
follow the instructions at http://www.vim.org/runtime.php .

12 years agoIssue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError...
Mark Dickinson [Thu, 15 Nov 2012 20:58:40 +0000 (20:58 +0000)]
Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError and OverflowError (resp.), not TypeError.

12 years agoIssue #16481: Merge
Richard Oudkerk [Thu, 15 Nov 2012 18:22:23 +0000 (18:22 +0000)]
Issue #16481: Merge

12 years agoIssue #16481: multiprocessing no longer leaks process handles on Windows.
Richard Oudkerk [Thu, 15 Nov 2012 18:16:35 +0000 (18:16 +0000)]
Issue #16481: multiprocessing no longer leaks process handles on Windows.

12 years agoMerge heads
Andrew Svetlov [Thu, 15 Nov 2012 14:30:30 +0000 (16:30 +0200)]
Merge heads

12 years agoMerge issue #16144: Fix misleading sentence in reference/import.
Andrew Svetlov [Thu, 15 Nov 2012 14:28:48 +0000 (16:28 +0200)]
Merge issue #16144: Fix misleading sentence in reference/import.

Patch by Manuel Pégourié-Gonnard

12 years agoIssue #16144: Fix misleading sentence in reference/import.
Andrew Svetlov [Thu, 15 Nov 2012 14:28:21 +0000 (16:28 +0200)]
Issue #16144: Fix misleading sentence in reference/import.

Patch by Manuel Pégourié-Gonnard

12 years agoAllow configuration of handler properties.
Vinay Sajip [Thu, 15 Nov 2012 14:20:18 +0000 (14:20 +0000)]
Allow configuration of handler properties.

12 years agomerge 3.3
Philip Jenvey [Wed, 14 Nov 2012 22:51:44 +0000 (14:51 -0800)]
merge 3.3

12 years agomerge 3.2
Philip Jenvey [Wed, 14 Nov 2012 22:49:49 +0000 (14:49 -0800)]
merge 3.2

12 years agodon't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)
Philip Jenvey [Wed, 14 Nov 2012 22:37:24 +0000 (14:37 -0800)]
don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)

12 years agoFix a typo
Brett Cannon [Wed, 14 Nov 2012 20:49:55 +0000 (15:49 -0500)]
Fix a typo

12 years agoMerge from 3.3: update the PyPI docs regarding listing versions (issue #16400).
Chris Jerdonek [Wed, 14 Nov 2012 20:28:38 +0000 (12:28 -0800)]
Merge from 3.3: update the PyPI docs regarding listing versions (issue #16400).

12 years agoMerge from 3.2: update the PyPI docs regarding listing versions (issue #16400).
Chris Jerdonek [Wed, 14 Nov 2012 20:24:21 +0000 (12:24 -0800)]
Merge from 3.2: update the PyPI docs regarding listing versions (issue #16400).

12 years agomerge
Brett Cannon [Wed, 14 Nov 2012 20:22:56 +0000 (15:22 -0500)]
merge

12 years agoClean up the messages used by some tests.
Brett Cannon [Wed, 14 Nov 2012 20:16:53 +0000 (15:16 -0500)]
Clean up the messages used by some tests.

12 years agoClean up test_sundry and have it error out when a module has grown
Brett Cannon [Wed, 14 Nov 2012 20:16:53 +0000 (15:16 -0500)]
Clean up test_sundry and have it error out when a module has grown
proper tests.

12 years agoUpdate the description of which package versions PyPI displays (issue #16400).
Chris Jerdonek [Wed, 14 Nov 2012 20:12:30 +0000 (12:12 -0800)]
Update the description of which package versions PyPI displays (issue #16400).

12 years agoUse importlib instead of calling __import__ directly.
Brett Cannon [Wed, 14 Nov 2012 18:42:51 +0000 (13:42 -0500)]
Use importlib instead of calling __import__ directly.

12 years agoIssue #16290: __complex__ must now always return an instance of complex.
Mark Dickinson [Wed, 14 Nov 2012 17:08:31 +0000 (17:08 +0000)]
Issue #16290: __complex__ must now always return an instance of complex.

12 years agoCloses #16378: Merged docstring changes from 3.3.
Vinay Sajip [Wed, 14 Nov 2012 11:19:42 +0000 (11:19 +0000)]
Closes #16378: Merged docstring changes from 3.3.

12 years agoIssue #16378: Updated docstrings to reflect the defaults present in the code.
Vinay Sajip [Wed, 14 Nov 2012 11:18:35 +0000 (11:18 +0000)]
Issue #16378: Updated docstrings to reflect the defaults present in the code.

12 years agoFix whitespace.
Antoine Pitrou [Tue, 13 Nov 2012 20:36:21 +0000 (21:36 +0100)]
Fix whitespace.

12 years agoIssue #12428: Add a pure Python implementation of functools.partial().
Antoine Pitrou [Tue, 13 Nov 2012 20:35:40 +0000 (21:35 +0100)]
Issue #12428: Add a pure Python implementation of functools.partial().
Patch by Brian Thorne.

12 years agomerge 3.3
Philip Jenvey [Tue, 13 Nov 2012 20:28:39 +0000 (12:28 -0800)]
merge 3.3

12 years agomerge 3.2
Philip Jenvey [Tue, 13 Nov 2012 20:27:56 +0000 (12:27 -0800)]
merge 3.2

12 years agoadd gc_collects to weakref tests
Philip Jenvey [Tue, 13 Nov 2012 20:26:31 +0000 (12:26 -0800)]
add gc_collects to weakref tests

12 years agoIssue #15478: os.lchflags() is not always available when os.chflags() is available
Victor Stinner [Tue, 13 Nov 2012 08:31:51 +0000 (09:31 +0100)]
Issue #15478: os.lchflags() is not always available when os.chflags() is available

12 years agoIssue #16416: Fix Misc/NEWS entry, mention Mac OS X
Victor Stinner [Mon, 12 Nov 2012 22:52:04 +0000 (23:52 +0100)]
Issue #16416: Fix Misc/NEWS entry, mention Mac OS X

12 years agoIssue #16416: Fix error handling in _Py_wchar2char() _Py_char2wchar() functions
Victor Stinner [Mon, 12 Nov 2012 22:32:21 +0000 (23:32 +0100)]
Issue #16416: Fix error handling in _Py_wchar2char() _Py_char2wchar() functions

12 years agomerge heads
Benjamin Peterson [Mon, 12 Nov 2012 22:04:43 +0000 (17:04 -0500)]
merge heads

12 years agomerge 3.3 (sort of)
Benjamin Peterson [Mon, 12 Nov 2012 22:04:28 +0000 (17:04 -0500)]
merge 3.3 (sort of)

12 years agoIssue #16416: OS data are now always encoded/decoded to/from
Victor Stinner [Mon, 12 Nov 2012 22:04:02 +0000 (23:04 +0100)]
Issue #16416: OS data are now always encoded/decoded to/from
UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no
locale environment variable is set), to avoid inconsistencies with
os.fsencode() and os.fsdecode() functions which are already using
UTF-8/surrogateescape.

12 years agorecompile importlib.h
Benjamin Peterson [Mon, 12 Nov 2012 22:02:32 +0000 (17:02 -0500)]
recompile importlib.h

12 years agomerge 3.3
Benjamin Peterson [Mon, 12 Nov 2012 21:48:25 +0000 (16:48 -0500)]
merge 3.3

12 years agomissing letter
Benjamin Peterson [Mon, 12 Nov 2012 21:48:17 +0000 (16:48 -0500)]
missing letter

12 years agoMerge 3.3.
Stefan Krah [Mon, 12 Nov 2012 19:24:09 +0000 (20:24 +0100)]
Merge 3.3.

12 years agoIssue #15835: Define PATH_MAX on HP-UX.
Stefan Krah [Mon, 12 Nov 2012 19:14:36 +0000 (20:14 +0100)]
Issue #15835: Define PATH_MAX on HP-UX.

12 years agoMerge 3.3: null merge
Victor Stinner [Mon, 12 Nov 2012 00:23:51 +0000 (01:23 +0100)]
Merge 3.3: null merge

12 years agoIssue #16218, #16444: Backport improvment on tests for non-ASCII characters
Victor Stinner [Mon, 12 Nov 2012 00:23:15 +0000 (01:23 +0100)]
Issue #16218, #16444: Backport improvment on tests for non-ASCII characters

12 years agoAdd a test for hashing of unaligned memory buffers (from issue #16427).
Antoine Pitrou [Sun, 11 Nov 2012 19:11:15 +0000 (20:11 +0100)]
Add a test for hashing of unaligned memory buffers (from issue #16427).