]>
granicus.if.org Git - python/log
Barry Warsaw [Tue, 20 Nov 2012 22:10:39 +0000 (17:10 -0500)]
Do a better job of preserving the state of sys.modules.
Barry Warsaw [Tue, 20 Nov 2012 22:10:10 +0000 (17:10 -0500)]
Do a better job of preserving the state of sys.modules.
Antoine Pitrou [Tue, 20 Nov 2012 21:37:04 +0000 (22:37 +0100)]
Merge test from issue #1160.
Antoine Pitrou [Tue, 20 Nov 2012 21:35:53 +0000 (22:35 +0100)]
Merge test from issue #1160.
Antoine Pitrou [Tue, 20 Nov 2012 21:30:42 +0000 (22:30 +0100)]
Issue #1160: Fix compiling large regular expressions on UCS2 builds.
Patch by Serhiy Storchaka.
Barry Warsaw [Tue, 20 Nov 2012 20:35:27 +0000 (15:35 -0500)]
- Issue #16514: Fix regression causing a traceback when sys.path[0] is None
(actually, any non-string or non-bytes type).
Barry Warsaw [Tue, 20 Nov 2012 20:22:51 +0000 (15:22 -0500)]
- Issue #16514: Fix regression causing a traceback when sys.path[0] is None
(actually, any non-string or non-bytes type).
Andrew Svetlov [Tue, 20 Nov 2012 14:13:54 +0000 (16:13 +0200)]
Merge: fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@
Andrew Svetlov [Tue, 20 Nov 2012 14:12:38 +0000 (16:12 +0200)]
Fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@
Benjamin Peterson [Mon, 19 Nov 2012 02:49:39 +0000 (20:49 -0600)]
remove unused flag (closes #16505)
Christian Heimes [Sun, 18 Nov 2012 23:59:39 +0000 (00:59 +0100)]
Remove sys.platform == 'riscos' checks from some Python and test files. #16501
Stefan Krah [Sun, 18 Nov 2012 23:57:20 +0000 (00:57 +0100)]
Merge.
Stefan Krah [Sun, 18 Nov 2012 23:54:50 +0000 (00:54 +0100)]
Null merge.
Stefan Krah [Sun, 18 Nov 2012 23:54:05 +0000 (00:54 +0100)]
Christian Heimes [Sun, 18 Nov 2012 23:44:37 +0000 (00:44 +0100)]
RISCOS support has been removed a long time ago. Remove last remains in sys.flags code. #16501 can be closed, too.
Stefan Krah [Sun, 18 Nov 2012 23:40:46 +0000 (00:40 +0100)]
Null merge.
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.
Ezio Melotti [Sun, 18 Nov 2012 21:16:02 +0000 (23:16 +0200)]
#7782: merge with 3.3.
Ezio Melotti [Sun, 18 Nov 2012 21:15:47 +0000 (23:15 +0200)]
#7782: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 21:14:42 +0000 (23:14 +0200)]
#7782: add a test for test_iter.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:54 +0000 (18:37 +0100)]
The 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.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:02 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.
Brett Cannon [Sun, 18 Nov 2012 15:27:12 +0000 (10:27 -0500)]
Regen importlib.h
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.
Ezio Melotti [Sun, 18 Nov 2012 12:06:54 +0000 (14:06 +0200)]
#16306: merge with 3.3.
Ezio Melotti [Sun, 18 Nov 2012 12:02:08 +0000 (14:02 +0200)]
#16306: merge with 3.2.
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.
Ezio Melotti [Sun, 18 Nov 2012 11:22:55 +0000 (13:22 +0200)]
#14313: null merge.
Ezio Melotti [Sun, 18 Nov 2012 11:22:34 +0000 (13:22 +0200)]
#14313: null merge.
Ezio Melotti [Sun, 18 Nov 2012 11:20:36 +0000 (13:20 +0200)]
#14313: zipfile now raises NotImplementedError when the compression type is unknown.
Ezio Melotti [Sun, 18 Nov 2012 10:56:31 +0000 (12:56 +0200)]
#16053: merge with 3.3.
Ezio Melotti [Sun, 18 Nov 2012 10:56:17 +0000 (12:56 +0200)]
#16053: merge with 3.2.
Ezio Melotti [Sun, 18 Nov 2012 10:55:35 +0000 (12:55 +0200)]
#16053: document csv.Dialect.strict. Patch by Kushal Das.
Mark Dickinson [Sun, 18 Nov 2012 10:42:42 +0000 (10:42 +0000)]
Merge typo fix from 3.3.
Mark Dickinson [Sun, 18 Nov 2012 10:42:27 +0000 (10:42 +0000)]
Merge typo fix from 3.2.
Mark Dickinson [Sun, 18 Nov 2012 10:42:07 +0000 (10:42 +0000)]
Typo fix.
Mark Dickinson [Sun, 18 Nov 2012 10:22:51 +0000 (10:22 +0000)]
Issue #12005: merge doc patch from 3.3
Mark Dickinson [Sun, 18 Nov 2012 10:22:40 +0000 (10:22 +0000)]
Issue #12005: merge doc patch from 3.2
Mark Dickinson [Sun, 18 Nov 2012 10:22:05 +0000 (10:22 +0000)]
Issue #12005: clarify behaviour of % and // for Decimal objects.
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.
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.
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.
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.
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.
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.
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.
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.
Ezio Melotti [Sat, 17 Nov 2012 17:30:48 +0000 (19:30 +0200)]
#16157: merge with 3.3.
Ezio Melotti [Sat, 17 Nov 2012 17:29:12 +0000 (19:29 +0200)]
#16157: fix links in the whatsnew files.
Ezio Melotti [Sat, 17 Nov 2012 16:56:15 +0000 (18:56 +0200)]
#11981: remove duplicate line. Patch by Johan Euphrosine.
Ezio Melotti [Sat, 17 Nov 2012 15:39:11 +0000 (17:39 +0200)]
#16420: merge with 3.3.
Ezio Melotti [Sat, 17 Nov 2012 15:38:58 +0000 (17:38 +0200)]
#16420: merge with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 15:38:11 +0000 (17:38 +0200)]
#16420: document a way to escape metacharacters in glob/fnmatch.
Brett Cannon [Sat, 17 Nov 2012 14:33:14 +0000 (09:33 -0500)]
Merge fix for #16489 from 3.3
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.
Ezio Melotti [Sat, 17 Nov 2012 10:56:29 +0000 (12:56 +0200)]
Merge updates about dir() with 3.3.
Ezio Melotti [Sat, 17 Nov 2012 10:54:45 +0000 (12:54 +0200)]
Merge updates about dir() with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 10:50:14 +0000 (12:50 +0200)]
Update section about dir() in the tutorial.
Ezio Melotti [Sat, 17 Nov 2012 10:06:44 +0000 (12:06 +0200)]
Merge rephrasing with 3.3.
Ezio Melotti [Sat, 17 Nov 2012 10:06:26 +0000 (12:06 +0200)]
Merge rephrasing with 3.2.
Ezio Melotti [Sat, 17 Nov 2012 10:06:01 +0000 (12:06 +0200)]
Rephrase a sentence in the set and dict comprehensions tutorial page.
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.
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.
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.
Ezio Melotti [Fri, 16 Nov 2012 11:17:59 +0000 (13:17 +0200)]
#16478: merge with 3.3.
Ezio Melotti [Fri, 16 Nov 2012 11:17:42 +0000 (13:17 +0200)]
#16478: merge with 3.2.
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.
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.
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.
Brett Cannon [Thu, 15 Nov 2012 21:13:00 +0000 (16:13 -0500)]
merge
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.
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 .
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.
Richard Oudkerk [Thu, 15 Nov 2012 18:22:23 +0000 (18:22 +0000)]
Issue #16481: Merge
Richard Oudkerk [Thu, 15 Nov 2012 18:16:35 +0000 (18:16 +0000)]
Issue #16481: multiprocessing no longer leaks process handles on Windows.
Andrew Svetlov [Thu, 15 Nov 2012 14:30:30 +0000 (16:30 +0200)]
Merge heads
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
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
Vinay Sajip [Thu, 15 Nov 2012 14:20:18 +0000 (14:20 +0000)]
Allow configuration of handler properties.
Philip Jenvey [Wed, 14 Nov 2012 22:51:44 +0000 (14:51 -0800)]
merge 3.3
Philip Jenvey [Wed, 14 Nov 2012 22:49:49 +0000 (14:49 -0800)]
merge 3.2
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)
Brett Cannon [Wed, 14 Nov 2012 20:49:55 +0000 (15:49 -0500)]
Fix a typo
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).
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).
Brett Cannon [Wed, 14 Nov 2012 20:22:56 +0000 (15:22 -0500)]
merge
Brett Cannon [Wed, 14 Nov 2012 20:16:53 +0000 (15:16 -0500)]
Clean up the messages used by some tests.
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.
Chris Jerdonek [Wed, 14 Nov 2012 20:12:30 +0000 (12:12 -0800)]
Update the description of which package versions PyPI displays (issue #16400).
Brett Cannon [Wed, 14 Nov 2012 18:42:51 +0000 (13:42 -0500)]
Use importlib instead of calling __import__ directly.
Mark Dickinson [Wed, 14 Nov 2012 17:08:31 +0000 (17:08 +0000)]
Issue #16290: __complex__ must now always return an instance of complex.
Vinay Sajip [Wed, 14 Nov 2012 11:19:42 +0000 (11:19 +0000)]
Closes #16378: Merged docstring changes from 3.3.
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.
Antoine Pitrou [Tue, 13 Nov 2012 20:36:21 +0000 (21:36 +0100)]
Fix whitespace.
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.
Philip Jenvey [Tue, 13 Nov 2012 20:28:39 +0000 (12:28 -0800)]
merge 3.3
Philip Jenvey [Tue, 13 Nov 2012 20:27:56 +0000 (12:27 -0800)]
merge 3.2
Philip Jenvey [Tue, 13 Nov 2012 20:26:31 +0000 (12:26 -0800)]
add gc_collects to weakref tests
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