]>
granicus.if.org Git - python/log
Éric Araujo [Mon, 5 Mar 2012 16:04:20 +0000 (17:04 +0100)]
Merge 3.2
Éric Araujo [Mon, 5 Mar 2012 16:04:07 +0000 (17:04 +0100)]
Make packaging’ upload command work with bdist_msi products (#13719)
Éric Araujo [Mon, 5 Mar 2012 16:02:31 +0000 (17:02 +0100)]
Fix NameError from #13719 fix
Éric Araujo [Mon, 5 Mar 2012 15:25:40 +0000 (16:25 +0100)]
Branch merge
Éric Araujo [Mon, 5 Mar 2012 15:24:07 +0000 (16:24 +0100)]
Merge 3.2
Éric Araujo [Mon, 5 Mar 2012 15:16:37 +0000 (16:16 +0100)]
Improve packaging.database documentation
É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.
É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.
Benjamin Peterson [Mon, 5 Mar 2012 15:03:51 +0000 (09:03 -0600)]
remove f_yieldfrom access from Python (closes #13970)
É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.
É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.
É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.
Éric Araujo [Mon, 5 Mar 2012 14:45:08 +0000 (15:45 +0100)]
Use raw string for a docstring that uses a backslash
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.
Vinay Sajip [Mon, 5 Mar 2012 12:45:51 +0000 (12:45 +0000)]
Issue #12151: Added more info to diagnostics.
Florent Xicluna [Mon, 5 Mar 2012 11:37:02 +0000 (12:37 +0100)]
xml.dom.minidom: add more __slots__ to limit resource usage.
Florent Xicluna [Mon, 5 Mar 2012 11:35:15 +0000 (12:35 +0100)]
xml.dom: fix typo, drop unused imports.
Florent Xicluna [Mon, 5 Mar 2012 10:42:49 +0000 (11:42 +0100)]
Flatten nested try ... finally, try ... except.
Stefan Krah [Mon, 5 Mar 2012 09:50:11 +0000 (10:50 +0100)]
Merge.
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.
Vinay Sajip [Mon, 5 Mar 2012 09:44:25 +0000 (09:44 +0000)]
Merged upstream changes.
Vinay Sajip [Mon, 5 Mar 2012 09:43:47 +0000 (09:43 +0000)]
Added more diagnostics for diagnosing #12151.
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.
Florent Xicluna [Mon, 5 Mar 2012 09:28:42 +0000 (10:28 +0100)]
Issue #14007: drop unused TreeBuilder().xml.
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.
Georg Brandl [Mon, 5 Mar 2012 07:54:46 +0000 (08:54 +0100)]
3.3.0a1 is done.
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.
Meador Inge [Mon, 5 Mar 2012 04:40:15 +0000 (22:40 -0600)]
Issue #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.
Antoine Pitrou [Sun, 4 Mar 2012 20:16:52 +0000 (21:16 +0100)]
Fix some set algebra methods of WeakSet objects.
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.
Antoine Pitrou [Sun, 4 Mar 2012 19:59:01 +0000 (20:59 +0100)]
Merge
Antoine Pitrou [Sun, 4 Mar 2012 19:55:35 +0000 (20:55 +0100)]
Port 2.7 fix for sporadic failure in test_weakset.
Antoine Pitrou [Sun, 4 Mar 2012 19:47:05 +0000 (20:47 +0100)]
Fix some set algebra methods of WeakSet objects.
Georg Brandl [Sun, 4 Mar 2012 19:36:28 +0000 (20:36 +0100)]
Fix spelling.
Antoine Pitrou [Sun, 4 Mar 2012 19:20:34 +0000 (20:20 +0100)]
Port 2.7 fix for sporadic failure in test_weakset.
Martin v. Löwis [Sun, 4 Mar 2012 19:15:39 +0000 (20:15 +0100)]
Enable PGI/PGO builds for x64 python3.dll
Martin v. Löwis [Sun, 4 Mar 2012 18:48:25 +0000 (19:48 +0100)]
Generate product code UUID from download URL.
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.
Georg Brandl [Sun, 4 Mar 2012 15:26:49 +0000 (16:26 +0100)]
Added tag v3.3.0a1 for changeset
f1a9a6505731
Georg Brandl [Sun, 4 Mar 2012 15:26:19 +0000 (16:26 +0100)]
Update copyright years and version name.
Georg Brandl [Sun, 4 Mar 2012 15:23:53 +0000 (16:23 +0100)]
Bump to 3.3.0a1.
Georg Brandl [Sun, 4 Mar 2012 15:22:05 +0000 (16:22 +0100)]
Sort and clean up suspicious ignore file.
Georg Brandl [Sun, 4 Mar 2012 15:17:05 +0000 (16:17 +0100)]
Fix invalid markup and update suspicious ignores.
Georg Brandl [Sun, 4 Mar 2012 15:12:09 +0000 (16:12 +0100)]
Regenerate pydoc topics.
Georg Brandl [Sun, 4 Mar 2012 15:12:02 +0000 (16:12 +0100)]
Fix encoding handling of the pydoc-topics writer.
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
Armin Ronacher [Sun, 4 Mar 2012 12:33:51 +0000 (12:33 +0000)]
Basic documentation for PEP 414
Armin Ronacher [Sun, 4 Mar 2012 12:04:06 +0000 (12:04 +0000)]
Basic support for PEP 414 without docs or tests.
Eli Bendersky [Sun, 4 Mar 2012 05:15:21 +0000 (07:15 +0200)]
fix trailing whitespace
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.
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.
Vinay Sajip [Sat, 3 Mar 2012 16:20:37 +0000 (16:20 +0000)]
Fixed problem with diagnostic output.
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.
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.
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.
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.
Antoine Pitrou [Fri, 2 Mar 2012 17:22:23 +0000 (18:22 +0100)]
Simplify code in marshal.c.
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).
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).
Eli Bendersky [Fri, 2 Mar 2012 05:43:08 +0000 (07:43 +0200)]
merge 3.2 heads
Eli Bendersky [Fri, 2 Mar 2012 05:41:23 +0000 (07:41 +0200)]
Merge 3.2
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
Vinay Sajip [Fri, 2 Mar 2012 01:24:13 +0000 (01:24 +0000)]
Closes #14158: merged test file resilience fix from 3.2.
Vinay Sajip [Fri, 2 Mar 2012 01:01:13 +0000 (01:01 +0000)]
Closes #14158: improved resilience to test files left behind.
Petri Lehtinen [Thu, 1 Mar 2012 19:49:39 +0000 (21:49 +0200)]
Merge branch '3.2'
Issue #13491.
Petri Lehtinen [Thu, 1 Mar 2012 19:18:34 +0000 (21:18 +0200)]
sqlite3: Port documentation changes from the 2.7 branch
Issue #13491.
Eli Bendersky [Thu, 1 Mar 2012 17:07:55 +0000 (19:07 +0200)]
Add missing 'versionadded' for shlex.quote; closes #14165
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.
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.
Philip Jenvey [Thu, 1 Mar 2012 00:21:25 +0000 (16:21 -0800)]
update skip reason
Philip Jenvey [Thu, 1 Mar 2012 00:16:15 +0000 (16:16 -0800)]
also skip test_device_encoding when stdin isn't a tty
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.
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.
Stefan Krah [Wed, 29 Feb 2012 16:27:21 +0000 (17:27 +0100)]
Add PyMemoryView_FromMemory() to whatsnew/3.3.
Stefan Krah [Wed, 29 Feb 2012 13:14:00 +0000 (14:14 +0100)]
Issue #14152: Merge fix from 3.2.
Stefan Krah [Wed, 29 Feb 2012 13:10:53 +0000 (14:10 +0100)]
Issue #14152: Restore the Include/*.h dependencies for extension builds.
Ezio Melotti [Wed, 29 Feb 2012 12:06:56 +0000 (14:06 +0200)]
#14089: merge with 3.2.
Ezio Melotti [Wed, 29 Feb 2012 12:05:53 +0000 (14:05 +0200)]
#14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.
Ezio Melotti [Wed, 29 Feb 2012 11:40:11 +0000 (13:40 +0200)]
#14155: merge with 3.2.
Ezio Melotti [Wed, 29 Feb 2012 11:39:05 +0000 (13:39 +0200)]
#14155: remove duplication about search vs match in re doc.
Ezio Melotti [Wed, 29 Feb 2012 09:49:45 +0000 (11:49 +0200)]
#10713: merge with 3.2.
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.
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.)
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.)
Nadeem Vawda [Tue, 28 Feb 2012 22:24:46 +0000 (00:24 +0200)]
Merge: Give 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).
Sandro Tosi [Tue, 28 Feb 2012 21:29:08 +0000 (22:29 +0100)]
merge with 3.2
Sandro Tosi [Tue, 28 Feb 2012 21:28:28 +0000 (22:28 +0100)]
s/div/truediv/; thanks to Félix-Antoine Fortin from docs@
Vinay Sajip [Tue, 28 Feb 2012 19:02:43 +0000 (19:02 +0000)]
Added additional diagnostics to help with #12151.
Vinay Sajip [Tue, 28 Feb 2012 08:06:01 +0000 (08:06 +0000)]
Merged cookbook improvement from 3.2.
Vinay Sajip [Tue, 28 Feb 2012 08:05:23 +0000 (08:05 +0000)]
Improved logging cookbook example.
Georg Brandl [Tue, 28 Feb 2012 07:21:49 +0000 (08:21 +0100)]
Merge with 3.2.
Georg Brandl [Tue, 28 Feb 2012 07:21:40 +0000 (08:21 +0100)]
Fix markup errors.
Brett Cannon [Mon, 27 Feb 2012 23:15:42 +0000 (18:15 -0500)]
Update importlib.invalidate_caches() to be more general.
Antoine Pitrou [Mon, 27 Feb 2012 21:01:25 +0000 (22:01 +0100)]
More debug output
Antoine Pitrou [Mon, 27 Feb 2012 19:04:05 +0000 (20:04 +0100)]
Improve debugging output for test failure
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.
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.
Eli Bendersky [Mon, 27 Feb 2012 17:18:35 +0000 (19:18 +0200)]
Some corrections for the Doc/extending documentation. Closes #14129