]> granicus.if.org Git - python/log
python
13 years agoMerge 3.2
Éric Araujo [Mon, 5 Mar 2012 16:04:20 +0000 (17:04 +0100)]
Merge 3.2

13 years agoMake packaging’ upload command work with bdist_msi products (#13719)
Éric Araujo [Mon, 5 Mar 2012 16:04:07 +0000 (17:04 +0100)]
Make packaging’ upload command work with bdist_msi products (#13719)

13 years agoFix NameError from #13719 fix
Éric Araujo [Mon, 5 Mar 2012 16:02:31 +0000 (17:02 +0100)]
Fix NameError from #13719 fix

13 years agoBranch merge
Éric Araujo [Mon, 5 Mar 2012 15:25:40 +0000 (16:25 +0100)]
Branch merge

13 years agoMerge 3.2
Éric Araujo [Mon, 5 Mar 2012 15:24:07 +0000 (16:24 +0100)]
Merge 3.2

13 years agoImprove packaging.database documentation
Éric Araujo [Mon, 5 Mar 2012 15:16:37 +0000 (16:16 +0100)]
Improve packaging.database documentation

13 years agoBackport minidom attribute tests from default (73c76466cf44).
Éric Araujo [Mon, 5 Mar 2012 15:11:41 +0000 (16:11 +0100)]
Backport minidom attribute tests from default (73c76466cf44).

Some minidom code changed between 3.2 and 3.3, so to be sure to avoid
differenced in behavior I’m backporting these tests added by MvL.

13 years agoMake distutils’ upload command work with bdist_msi products (#13719).
Éric Araujo [Mon, 5 Mar 2012 15:09:29 +0000 (16:09 +0100)]
Make distutils’ upload command work with bdist_msi products (#13719).

Patch by Ralf Schmitt.

13 years agoremove f_yieldfrom access from Python (closes #13970)
Benjamin Peterson [Mon, 5 Mar 2012 15:03:51 +0000 (09:03 -0600)]
remove f_yieldfrom access from Python (closes #13970)

13 years agoMove xml.etree higher and xml.parsers.expat lower in the markup ToC.
Éric Araujo [Mon, 5 Mar 2012 15:01:41 +0000 (16:01 +0100)]
Move xml.etree higher and xml.parsers.expat lower in the markup ToC.

I assume that most users looking at this page are looking for a library
to process XML, not a low-level parser.  First proposed in #11379.

13 years agoUse source reST role instead of file where it makes sense.
Éric Araujo [Mon, 5 Mar 2012 14:50:37 +0000 (15:50 +0100)]
Use source reST role instead of file where it makes sense.

source generates a nifty link to the Mercurial web viewer.

13 years agoRemove mention of defunct file.
Éric Araujo [Mon, 5 Mar 2012 14:47:32 +0000 (15:47 +0100)]
Remove mention of defunct file.

Misc/COPYRIGHT was renamed twelve years ago to LICENSE and later copied
to the main docs, to which there is already a link.

13 years agoUse raw string for a docstring that uses a backslash
Éric Araujo [Mon, 5 Mar 2012 14:45:08 +0000 (15:45 +0100)]
Use raw string for a docstring that uses a backslash

13 years agoIssue #14181: Test creating memoryviews from a static exporter with both
Stefan Krah [Mon, 5 Mar 2012 13:37:34 +0000 (14:37 +0100)]
Issue #14181: Test creating memoryviews from a static exporter with both
view.obj==NULL and view.obj==base.

13 years agoIssue #12151: Added more info to diagnostics.
Vinay Sajip [Mon, 5 Mar 2012 12:45:51 +0000 (12:45 +0000)]
Issue #12151: Added more info to diagnostics.

13 years agoxml.dom.minidom: add more __slots__ to limit resource usage.
Florent Xicluna [Mon, 5 Mar 2012 11:37:02 +0000 (12:37 +0100)]
xml.dom.minidom: add more __slots__ to limit resource usage.

13 years agoxml.dom: fix typo, drop unused imports.
Florent Xicluna [Mon, 5 Mar 2012 11:35:15 +0000 (12:35 +0100)]
xml.dom: fix typo, drop unused imports.

13 years agoFlatten nested try ... finally, try ... except.
Florent Xicluna [Mon, 5 Mar 2012 10:42:49 +0000 (11:42 +0100)]
Flatten nested try ... finally, try ... except.

13 years agoMerge.
Stefan Krah [Mon, 5 Mar 2012 09:50:11 +0000 (10:50 +0100)]
Merge.

13 years agoIssue #10181: The decision was to raise a buffer error in memory_exit()
Stefan Krah [Mon, 5 Mar 2012 09:45:31 +0000 (10:45 +0100)]
Issue #10181: The decision was to raise a buffer error in memory_exit()
if the view has exported buffers. Make this official by uncommenting
a test case.

13 years agoMerged upstream changes.
Vinay Sajip [Mon, 5 Mar 2012 09:44:25 +0000 (09:44 +0000)]
Merged upstream changes.

13 years agoAdded more diagnostics for diagnosing #12151.
Vinay Sajip [Mon, 5 Mar 2012 09:43:47 +0000 (09:43 +0000)]
Added more diagnostics for diagnosing #12151.

13 years agoIssue #14007: accept incomplete TreeBuilder objects (missing start/end/data/close...
Florent Xicluna [Mon, 5 Mar 2012 09:42:19 +0000 (10:42 +0100)]
Issue #14007: accept incomplete TreeBuilder objects (missing start/end/data/close) for the Python implementation as well. Add disabled tests for the doctype() method.

13 years agoIssue #14007: drop unused TreeBuilder().xml.
Florent Xicluna [Mon, 5 Mar 2012 09:28:42 +0000 (10:28 +0100)]
Issue #14007: drop unused TreeBuilder().xml.

13 years agoIssue #14181: Allow memoryview construction from an object that uses the
Stefan Krah [Mon, 5 Mar 2012 08:30:47 +0000 (09:30 +0100)]
Issue #14181: Allow memoryview construction from an object that uses the
getbuffer redirection scheme.

13 years ago3.3.0a1 is done.
Georg Brandl [Mon, 5 Mar 2012 07:54:46 +0000 (08:54 +0100)]
3.3.0a1 is done.

13 years agoIssue #14168: Check for presence of _attrs before accessing it.
Martin v. Löwis [Mon, 5 Mar 2012 06:01:49 +0000 (07:01 +0100)]
Issue #14168: Check for presence of _attrs before accessing it.

13 years agoIssue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
Meador Inge [Mon, 5 Mar 2012 04:40:15 +0000 (22:40 -0600)]
Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.

13 years agoIssue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
Meador Inge [Mon, 5 Mar 2012 04:15:38 +0000 (22:15 -0600)]
Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.

13 years agoFix some set algebra methods of WeakSet objects.
Antoine Pitrou [Sun, 4 Mar 2012 20:16:52 +0000 (21:16 +0100)]
Fix some set algebra methods of WeakSet objects.

13 years agoIssue #14171: Add valgrind suppressions for OpenSSL issue.
Martin v. Löwis [Sun, 4 Mar 2012 20:16:39 +0000 (21:16 +0100)]
Issue #14171: Add valgrind suppressions for OpenSSL issue.
Patch by Zooko O'Whielacronx.

13 years agoMerge
Antoine Pitrou [Sun, 4 Mar 2012 19:59:01 +0000 (20:59 +0100)]
Merge

13 years agoPort 2.7 fix for sporadic failure in test_weakset.
Antoine Pitrou [Sun, 4 Mar 2012 19:55:35 +0000 (20:55 +0100)]
Port 2.7 fix for sporadic failure in test_weakset.

13 years agoFix some set algebra methods of WeakSet objects.
Antoine Pitrou [Sun, 4 Mar 2012 19:47:05 +0000 (20:47 +0100)]
Fix some set algebra methods of WeakSet objects.

13 years agoFix spelling.
Georg Brandl [Sun, 4 Mar 2012 19:36:28 +0000 (20:36 +0100)]
Fix spelling.

13 years agoPort 2.7 fix for sporadic failure in test_weakset.
Antoine Pitrou [Sun, 4 Mar 2012 19:20:34 +0000 (20:20 +0100)]
Port 2.7 fix for sporadic failure in test_weakset.

13 years agoEnable PGI/PGO builds for x64 python3.dll
Martin v. Löwis [Sun, 4 Mar 2012 19:15:39 +0000 (20:15 +0100)]
Enable PGI/PGO builds for x64 python3.dll

13 years agoGenerate product code UUID from download URL.
Martin v. Löwis [Sun, 4 Mar 2012 18:48:25 +0000 (19:48 +0100)]
Generate product code UUID from download URL.

13 years agoIssue #14166: Pickler objects now have an optional `dispatch_table` attribute which...
Antoine Pitrou [Sun, 4 Mar 2012 17:31:48 +0000 (18:31 +0100)]
Issue #14166: Pickler objects now have an optional `dispatch_table` attribute which allows to set custom per-pickler reduction functions.
Patch by sbt.

13 years agoAdded tag v3.3.0a1 for changeset f1a9a6505731
Georg Brandl [Sun, 4 Mar 2012 15:26:49 +0000 (16:26 +0100)]
Added tag v3.3.0a1 for changeset f1a9a6505731

13 years agoUpdate copyright years and version name. v3.3.0a1
Georg Brandl [Sun, 4 Mar 2012 15:26:19 +0000 (16:26 +0100)]
Update copyright years and version name.

13 years agoBump to 3.3.0a1.
Georg Brandl [Sun, 4 Mar 2012 15:23:53 +0000 (16:23 +0100)]
Bump to 3.3.0a1.

13 years agoSort and clean up suspicious ignore file.
Georg Brandl [Sun, 4 Mar 2012 15:22:05 +0000 (16:22 +0100)]
Sort and clean up suspicious ignore file.

13 years agoFix invalid markup and update suspicious ignores.
Georg Brandl [Sun, 4 Mar 2012 15:17:05 +0000 (16:17 +0100)]
Fix invalid markup and update suspicious ignores.

13 years agoRegenerate pydoc topics.
Georg Brandl [Sun, 4 Mar 2012 15:12:09 +0000 (16:12 +0100)]
Regenerate pydoc topics.

13 years agoFix encoding handling of the pydoc-topics writer.
Georg Brandl [Sun, 4 Mar 2012 15:12:02 +0000 (16:12 +0100)]
Fix encoding handling of the pydoc-topics writer.

13 years agoUpdated tokenize to support the inverse byte literals new in 3.3
Armin Ronacher [Sun, 4 Mar 2012 13:07:57 +0000 (13:07 +0000)]
Updated tokenize to support the inverse byte literals new in 3.3

13 years agoBasic documentation for PEP 414
Armin Ronacher [Sun, 4 Mar 2012 12:33:51 +0000 (12:33 +0000)]
Basic documentation for PEP 414

13 years agoBasic support for PEP 414 without docs or tests.
Armin Ronacher [Sun, 4 Mar 2012 12:04:06 +0000 (12:04 +0000)]
Basic support for PEP 414 without docs or tests.

13 years agofix trailing whitespace
Eli Bendersky [Sun, 4 Mar 2012 05:15:21 +0000 (07:15 +0200)]
fix trailing whitespace

13 years agoIssue #14128: Exposing Element as an actual type from _elementtree, rather than a...
Eli Bendersky [Sun, 4 Mar 2012 05:14:03 +0000 (07:14 +0200)]
Issue #14128: Exposing Element as an actual type from _elementtree, rather than a factory function.

This makes the C implementation more aligned with the Python implementation.
Also added some tests to ensure that Element is now a type and that it can
be subclassed.

13 years agoClose #14085: remove assertions from PyUnicode_WRITE macro
Victor Stinner [Sun, 4 Mar 2012 00:34:37 +0000 (01:34 +0100)]
Close #14085: remove assertions from PyUnicode_WRITE macro

Add checks in PyUnicode_WriteChar() and convert PyUnicode_New() assertion to a
test raising a Python exception.

13 years agoFixed problem with diagnostic output.
Vinay Sajip [Sat, 3 Mar 2012 16:20:37 +0000 (16:20 +0000)]
Fixed problem with diagnostic output.

13 years ago- Issue #14177: marshal.loads() now raises TypeError when given an unicode
Antoine Pitrou [Sat, 3 Mar 2012 01:38:37 +0000 (02:38 +0100)]
- Issue #14177: marshal.loads() now raises TypeError when given an unicode
  string.  Patch by Guilherme Gonçalves.

13 years agoIssue #14177: marshal.loads() now raises TypeError when given an unicode string.
Antoine Pitrou [Sat, 3 Mar 2012 01:35:32 +0000 (02:35 +0100)]
Issue #14177: marshal.loads() now raises TypeError when given an unicode string.
Patch by Guilherme Gonçalves.

13 years agoClose #13550: Remove the debug machinery from the threading module: remove
Victor Stinner [Sat, 3 Mar 2012 00:32:57 +0000 (01:32 +0100)]
Close #13550: Remove the debug machinery from the threading module: remove
verbose arguments from all threading classes and functions.

13 years agoIssue #13964: signal.sigtimedwait() timeout is now a float instead of a tuple
Victor Stinner [Fri, 2 Mar 2012 21:54:03 +0000 (22:54 +0100)]
Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tuple

Add a private API to convert an int or float to a C timespec structure.

13 years agoSimplify code in marshal.c.
Antoine Pitrou [Fri, 2 Mar 2012 17:22:23 +0000 (18:22 +0100)]
Simplify code in marshal.c.

13 years agoIssue #14172: Fix reference leak when marshalling a buffer-like object (other than...
Antoine Pitrou [Fri, 2 Mar 2012 17:16:38 +0000 (18:16 +0100)]
Issue #14172: Fix reference leak when marshalling a buffer-like object (other than a bytes object).

13 years agoIssue #14172: Fix reference leak when marshalling a buffer-like object (other than...
Antoine Pitrou [Fri, 2 Mar 2012 17:12:43 +0000 (18:12 +0100)]
Issue #14172: Fix reference leak when marshalling a buffer-like object (other than a bytes object).

13 years agomerge 3.2 heads
Eli Bendersky [Fri, 2 Mar 2012 05:43:08 +0000 (07:43 +0200)]
merge 3.2 heads

13 years agoMerge 3.2
Eli Bendersky [Fri, 2 Mar 2012 05:41:23 +0000 (07:41 +0200)]
Merge 3.2

13 years agoIssue #11379: add a note in xml.dom.minidom suggesting to use etree in some cases
Eli Bendersky [Fri, 2 Mar 2012 05:37:13 +0000 (07:37 +0200)]
Issue #11379: add a note in xml.dom.minidom suggesting to use etree in some cases

13 years agoCloses #14158: merged test file resilience fix from 3.2.
Vinay Sajip [Fri, 2 Mar 2012 01:24:13 +0000 (01:24 +0000)]
Closes #14158: merged test file resilience fix from 3.2.

13 years agoCloses #14158: improved resilience to test files left behind.
Vinay Sajip [Fri, 2 Mar 2012 01:01:13 +0000 (01:01 +0000)]
Closes #14158: improved resilience to test files left behind.

13 years agoMerge branch '3.2'
Petri Lehtinen [Thu, 1 Mar 2012 19:49:39 +0000 (21:49 +0200)]
Merge branch '3.2'

Issue #13491.

13 years agosqlite3: Port documentation changes from the 2.7 branch
Petri Lehtinen [Thu, 1 Mar 2012 19:18:34 +0000 (21:18 +0200)]
sqlite3: Port documentation changes from the 2.7 branch

Issue #13491.

13 years agoAdd missing 'versionadded' for shlex.quote; closes #14165
Eli Bendersky [Thu, 1 Mar 2012 17:07:55 +0000 (19:07 +0200)]
Add missing 'versionadded' for shlex.quote; closes #14165

13 years agoIssue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValue...
Antoine Pitrou [Thu, 1 Mar 2012 15:28:14 +0000 (16:28 +0100)]
Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying.
Moreover, the implementation is now O(1) rather than O(n).
Thanks to Yury Selivanov for reporting.

13 years agoIssue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValue...
Antoine Pitrou [Thu, 1 Mar 2012 15:26:35 +0000 (16:26 +0100)]
Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying.
Moreover, the implementation is now O(1) rather than O(n).
Thanks to Yury Selivanov for reporting.

13 years agoupdate skip reason
Philip Jenvey [Thu, 1 Mar 2012 00:21:25 +0000 (16:21 -0800)]
update skip reason

13 years agoalso skip test_device_encoding when stdin isn't a tty
Philip Jenvey [Thu, 1 Mar 2012 00:16:15 +0000 (16:16 -0800)]
also skip test_device_encoding when stdin isn't a tty

13 years agoIssue #14153 Create _Py_device_encoding() to prevent _io from having to import
Brett Cannon [Wed, 29 Feb 2012 23:31:31 +0000 (18:31 -0500)]
Issue #14153 Create _Py_device_encoding() to prevent _io from having to import
the os module.

13 years agoIssue #10181: Add warning that structure layouts in memoryobject.h and
Stefan Krah [Wed, 29 Feb 2012 16:47:21 +0000 (17:47 +0100)]
Issue #10181: Add warning that structure layouts in memoryobject.h and
object.h have changed.

13 years agoAdd PyMemoryView_FromMemory() to whatsnew/3.3.
Stefan Krah [Wed, 29 Feb 2012 16:27:21 +0000 (17:27 +0100)]
Add PyMemoryView_FromMemory() to whatsnew/3.3.

13 years agoIssue #14152: Merge fix from 3.2.
Stefan Krah [Wed, 29 Feb 2012 13:14:00 +0000 (14:14 +0100)]
Issue #14152: Merge fix from 3.2.

13 years agoIssue #14152: Restore the Include/*.h dependencies for extension builds.
Stefan Krah [Wed, 29 Feb 2012 13:10:53 +0000 (14:10 +0100)]
Issue #14152: Restore the Include/*.h dependencies for extension builds.

13 years ago#14089: merge with 3.2.
Ezio Melotti [Wed, 29 Feb 2012 12:06:56 +0000 (14:06 +0200)]
#14089: merge with 3.2.

13 years ago#14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.
Ezio Melotti [Wed, 29 Feb 2012 12:05:53 +0000 (14:05 +0200)]
#14089: increase coverage of the fractions module.  Patch by Oleg Plakhotnyuk.

13 years ago#14155: merge with 3.2.
Ezio Melotti [Wed, 29 Feb 2012 11:40:11 +0000 (13:40 +0200)]
#14155: merge with 3.2.

13 years ago#14155: remove duplication about search vs match in re doc.
Ezio Melotti [Wed, 29 Feb 2012 11:39:05 +0000 (13:39 +0200)]
#14155: remove duplication about search vs match in re doc.

13 years ago#10713: merge with 3.2.
Ezio Melotti [Wed, 29 Feb 2012 09:49:45 +0000 (11:49 +0200)]
#10713: merge with 3.2.

13 years ago#10713: Improve documentation for \b and \B and add a few tests. Initial patch and...
Ezio Melotti [Wed, 29 Feb 2012 09:48:44 +0000 (11:48 +0200)]
#10713: Improve documentation for \b and \B and add a few tests.  Initial patch and tests by Martin Pool.

13 years agoMerge: Propagate changes for issues #13053 and #13086 from 2.7 to 3.2.
Larry Hastings [Wed, 29 Feb 2012 00:30:31 +0000 (16:30 -0800)]
Merge: Propagate changes for issues #13053 and #13086 from 2.7 to 3.2.
(Doc only.)

13 years agoPropagate changes for issues #13053 and #13086 from 2.7 to 3.2. (Doc only.)
Larry Hastings [Wed, 29 Feb 2012 00:21:47 +0000 (16:21 -0800)]
Propagate changes for issues #13053 and #13086 from 2.7 to 3.2.  (Doc only.)

13 years agoMerge: Give better failure messages in test_strptime (cf. issue #14113).
Nadeem Vawda [Tue, 28 Feb 2012 22:24:46 +0000 (00:24 +0200)]
Merge: Give better failure messages in test_strptime (cf. issue #14113).

13 years agoGive better failure messages in test_strptime (cf. issue #14113).
Nadeem Vawda [Tue, 28 Feb 2012 22:22:09 +0000 (00:22 +0200)]
Give better failure messages in test_strptime (cf. issue #14113).

13 years agomerge with 3.2
Sandro Tosi [Tue, 28 Feb 2012 21:29:08 +0000 (22:29 +0100)]
merge with 3.2

13 years agos/div/truediv/; thanks to Félix-Antoine Fortin from docs@
Sandro Tosi [Tue, 28 Feb 2012 21:28:28 +0000 (22:28 +0100)]
s/div/truediv/; thanks to Félix-Antoine Fortin from docs@

13 years agoAdded additional diagnostics to help with #12151.
Vinay Sajip [Tue, 28 Feb 2012 19:02:43 +0000 (19:02 +0000)]
Added additional diagnostics to help with #12151.

13 years agoMerged cookbook improvement from 3.2.
Vinay Sajip [Tue, 28 Feb 2012 08:06:01 +0000 (08:06 +0000)]
Merged cookbook improvement from 3.2.

13 years agoImproved logging cookbook example.
Vinay Sajip [Tue, 28 Feb 2012 08:05:23 +0000 (08:05 +0000)]
Improved logging cookbook example.

13 years agoMerge with 3.2.
Georg Brandl [Tue, 28 Feb 2012 07:21:49 +0000 (08:21 +0100)]
Merge with 3.2.

13 years agoFix markup errors.
Georg Brandl [Tue, 28 Feb 2012 07:21:40 +0000 (08:21 +0100)]
Fix markup errors.

13 years agoUpdate importlib.invalidate_caches() to be more general.
Brett Cannon [Mon, 27 Feb 2012 23:15:42 +0000 (18:15 -0500)]
Update importlib.invalidate_caches() to be more general.

13 years agoMore debug output
Antoine Pitrou [Mon, 27 Feb 2012 21:01:25 +0000 (22:01 +0100)]
More debug output

13 years agoImprove debugging output for test failure
Antoine Pitrou [Mon, 27 Feb 2012 19:04:05 +0000 (20:04 +0100)]
Improve debugging output for test failure

13 years agoIssue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.
Antoine Pitrou [Mon, 27 Feb 2012 18:56:37 +0000 (19:56 +0100)]
Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.
Patch by Mikhail Novikov.

13 years agoIssue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.
Antoine Pitrou [Mon, 27 Feb 2012 18:55:36 +0000 (19:55 +0100)]
Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.
Patch by Mikhail Novikov.

13 years agoSome corrections for the Doc/extending documentation. Closes #14129
Eli Bendersky [Mon, 27 Feb 2012 17:18:35 +0000 (19:18 +0200)]
Some corrections for the Doc/extending documentation. Closes #14129