]> granicus.if.org Git - python/log
python
12 years agoMerge debug print removal with 3.3.
Ezio Melotti [Fri, 23 Nov 2012 20:17:02 +0000 (22:17 +0200)]
Merge debug print removal with 3.3.

12 years agoMerge debug print removal with 3.2.
Ezio Melotti [Fri, 23 Nov 2012 20:16:45 +0000 (22:16 +0200)]
Merge debug print removal with 3.2.

12 years agoRemove debug print.
Ezio Melotti [Fri, 23 Nov 2012 20:16:07 +0000 (22:16 +0200)]
Remove debug print.

12 years agoMerged upstream changes.
Vinay Sajip [Fri, 23 Nov 2012 19:22:39 +0000 (19:22 +0000)]
Merged upstream changes.

12 years agoCloses #16519: Merged fix from 3.3.
Vinay Sajip [Fri, 23 Nov 2012 19:21:46 +0000 (19:21 +0000)]
Closes #16519: Merged fix from 3.3.

12 years agoIssue #16519: Used os.path.abspath, removed unnecessary code for executable_name.
Vinay Sajip [Fri, 23 Nov 2012 19:16:49 +0000 (19:16 +0000)]
Issue #16519: Used os.path.abspath, removed unnecessary code for executable_name.

12 years agoIssue #4473: Add a POP3.stls() to switch a clear-text POP3 session into an encrypted...
Antoine Pitrou [Fri, 23 Nov 2012 19:13:48 +0000 (20:13 +0100)]
Issue #4473: Add a POP3.stls() to switch a clear-text POP3 session into an encrypted POP3 session, on supported servers.
Patch by Lorenzo Catucci.

12 years agoIssue #4473: Add a POP3.capa() method to query the capabilities advertised by the...
Antoine Pitrou [Fri, 23 Nov 2012 19:07:39 +0000 (20:07 +0100)]
Issue #4473: Add a POP3.capa() method to query the capabilities advertised by the POP3 server.
Patch by Lorenzo Catucci.

12 years agoIssue #4473: Ensure the socket is shutdown cleanly in POP3.close().
Antoine Pitrou [Fri, 23 Nov 2012 19:04:45 +0000 (20:04 +0100)]
Issue #4473: Ensure the socket is shutdown cleanly in POP3.close().
Patch by Lorenzo Catucci.

12 years ago#16530: merge with 3.3.
Ezio Melotti [Fri, 23 Nov 2012 17:46:52 +0000 (19:46 +0200)]
#16530: merge with 3.3.

12 years ago#16530: merge with 3.2.
Ezio Melotti [Fri, 23 Nov 2012 17:46:29 +0000 (19:46 +0200)]
#16530: merge with 3.2.

12 years ago#16530: the "options" arg of os.wait3 is required.
Ezio Melotti [Fri, 23 Nov 2012 17:45:52 +0000 (19:45 +0200)]
#16530: the "options" arg of os.wait3 is required.

12 years ago#16306: merge with 3.3.
Ezio Melotti [Fri, 23 Nov 2012 17:01:42 +0000 (19:01 +0200)]
#16306: merge with 3.3.

12 years ago#16306: merge with 3.2.
Ezio Melotti [Fri, 23 Nov 2012 16:52:39 +0000 (18:52 +0200)]
#16306: merge with 3.2.

12 years ago#16306: report only the first unknown option and add more tests. Patch by Serhiy...
Ezio Melotti [Fri, 23 Nov 2012 16:48:32 +0000 (18:48 +0200)]
#16306: report only the first unknown option and add more tests.  Patch by Serhiy Storchaka.

12 years agoMerge issue #16538: correctly describe MAKE_CLOSURE in docs.
Andrew Svetlov [Fri, 23 Nov 2012 13:29:48 +0000 (15:29 +0200)]
Merge issue #16538: correctly describe MAKE_CLOSURE in docs.

Patch by Daniel Urban

12 years agoIssue #16538: correctly describe MAKE_CLOSURE in docs.
Andrew Svetlov [Fri, 23 Nov 2012 13:28:34 +0000 (15:28 +0200)]
Issue #16538: correctly describe MAKE_CLOSURE in docs.

Patch by Daniel Urban

12 years ago#16309: avoid using deprecated method and turn docstring in a comment.
Ezio Melotti [Thu, 22 Nov 2012 23:51:20 +0000 (01:51 +0200)]
#16309: avoid using deprecated method and turn docstring in a comment.

12 years agoMerge 3.3.
Stefan Krah [Thu, 22 Nov 2012 22:50:25 +0000 (23:50 +0100)]
Merge 3.3.

12 years agoFix more usages of NULL without including stdio.h.
Stefan Krah [Thu, 22 Nov 2012 22:47:32 +0000 (23:47 +0100)]
Fix more usages of NULL without including stdio.h.

12 years agoMerge 3.3.
Stefan Krah [Thu, 22 Nov 2012 21:57:54 +0000 (22:57 +0100)]
Merge 3.3.

12 years agoIssue #13057: Include stdio.h when NULL is used in configure.ac.
Stefan Krah [Thu, 22 Nov 2012 21:49:11 +0000 (22:49 +0100)]
Issue #13057: Include stdio.h when NULL is used in configure.ac.

12 years ago#16522: s/always 1/at most 1/.
R David Murray [Thu, 22 Nov 2012 11:22:41 +0000 (06:22 -0500)]
#16522: s/always 1/at most 1/.

Correction thanks to Joey Geralnik.

12 years agoMerge #13424 followup from 3.3
Éric Araujo [Thu, 22 Nov 2012 05:14:28 +0000 (00:14 -0500)]
Merge #13424 followup from 3.3

12 years agoAddress reviews for open’s opener argument doc patch (#13424).
Éric Araujo [Thu, 22 Nov 2012 05:13:49 +0000 (00:13 -0500)]
Address reviews for open’s opener argument doc patch (#13424).

* Remove example deemed not helpful.
* Simplify the other one.
* Add missing target to ref.

12 years ago#16522: Add FAIL_FAST flag to doctest.
R David Murray [Wed, 21 Nov 2012 20:09:21 +0000 (15:09 -0500)]
#16522: Add FAIL_FAST flag to doctest.

Patch by me, most of the work (doc and tests) by Daniel Urban.

12 years agoNull merge with 3.3.
Ezio Melotti [Wed, 21 Nov 2012 16:37:12 +0000 (18:37 +0200)]
Null merge with 3.3.

12 years agoNull merge with 3.2.
Ezio Melotti [Wed, 21 Nov 2012 16:36:52 +0000 (18:36 +0200)]
Null merge with 3.2.

12 years agoRemove unused variabile "plain" in builtin_exec.
Ezio Melotti [Wed, 21 Nov 2012 16:36:08 +0000 (18:36 +0200)]
Remove unused variabile "plain" in builtin_exec.

12 years agoNull merge from 3.3.
Chris Jerdonek [Wed, 21 Nov 2012 13:36:10 +0000 (05:36 -0800)]
Null merge from 3.3.

12 years agoNull merge from 3.2.
Chris Jerdonek [Wed, 21 Nov 2012 13:34:26 +0000 (05:34 -0800)]
Null merge from 3.2.

12 years agoFix label in docs (from issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 13:32:44 +0000 (05:32 -0800)]
Fix label in docs (from issue #13538).

12 years agoMerge from 3.3: Improve str() and object.__str__() docs (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:53:17 +0000 (17:53 -0800)]
Merge from 3.3: Improve str() and object.__str__() docs (issue #13538).

12 years agoImprove str() and object.__str__() documentation (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:45:51 +0000 (17:45 -0800)]
Improve str() and object.__str__() documentation (issue #13538).

12 years agoNull merge from 3.2 (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:44:02 +0000 (17:44 -0800)]
Null merge from 3.2 (issue #13538).

12 years agoImprove str() and object.__str__() documentation (issue #13538).
Chris Jerdonek [Wed, 21 Nov 2012 01:31:02 +0000 (17:31 -0800)]
Improve str() and object.__str__() documentation (issue #13538).

12 years agonull merge
Barry Warsaw [Tue, 20 Nov 2012 22:12:06 +0000 (17:12 -0500)]
null merge

12 years agonull merge
Barry Warsaw [Tue, 20 Nov 2012 22:11:46 +0000 (17:11 -0500)]
null merge

12 years agoDo a better job of preserving the state of sys.modules.
Barry Warsaw [Tue, 20 Nov 2012 22:10:39 +0000 (17:10 -0500)]
Do a better job of preserving the state of sys.modules.

12 years agoDo 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.

12 years agoDo a better job of ensuring test reproducibility and clean up.
Barry Warsaw [Tue, 20 Nov 2012 22:05:41 +0000 (17:05 -0500)]
Do a better job of ensuring test reproducibility and clean up.

12 years agoMerge test from issue #1160.
Antoine Pitrou [Tue, 20 Nov 2012 21:37:04 +0000 (22:37 +0100)]
Merge test from issue #1160.

12 years agoMerge test from issue #1160.
Antoine Pitrou [Tue, 20 Nov 2012 21:35:53 +0000 (22:35 +0100)]
Merge test from issue #1160.

12 years agoIssue #1160: Fix compiling large regular expressions on UCS2 builds.
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.

12 years ago- Issue #16514: Fix regression causing a traceback when sys.path[0] is None
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).

12 years ago- Issue #16514: Fix regression causing a traceback when sys.path[0] is None
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).

12 years agoMerge: fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@
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@

12 years agoFix 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@

12 years agoremove unused flag (closes #16505)
Benjamin Peterson [Mon, 19 Nov 2012 02:49:39 +0000 (20:49 -0600)]
remove unused flag (closes #16505)

12 years agoRemove sys.platform == 'riscos' checks from some Python and test files. #16501
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

12 years agoMerge.
Stefan Krah [Sun, 18 Nov 2012 23:57:20 +0000 (00:57 +0100)]
Merge.

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 agoRISCOS support has been removed a long time ago. Remove last remains in sys.flags...
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.

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.