]> granicus.if.org Git - python/log
python
13 years agoIssue #14211: Oops, I removed the wrong file :-)
Victor Stinner [Thu, 8 Mar 2012 23:52:07 +0000 (00:52 +0100)]
Issue #14211: Oops, I removed the wrong file :-)

13 years agoIssue #14211: _PyObject_GenericSetAttrWithDict() keeps a strong reference to
Victor Stinner [Thu, 8 Mar 2012 23:44:13 +0000 (00:44 +0100)]
Issue #14211: _PyObject_GenericSetAttrWithDict() keeps a strong reference to
the descriptor because it may be destroyed before being used, destroyed during
the update of the dict for example.

13 years agoClose #14199: _PyType_Lookup() and super_getattro() keep a strong reference to
Victor Stinner [Thu, 8 Mar 2012 23:39:08 +0000 (00:39 +0100)]
Close #14199: _PyType_Lookup() and super_getattro() keep a strong reference to
the type MRO to avoid a crash if the MRO is changed during the lookup.

13 years agoFix indentation.
Georg Brandl [Thu, 8 Mar 2012 19:35:08 +0000 (20:35 +0100)]
Fix indentation.

13 years agoIssue #14205: document the change of dict[key] behaviour if dict is modified
Victor Stinner [Thu, 8 Mar 2012 01:50:17 +0000 (02:50 +0100)]
Issue #14205: document the change of dict[key] behaviour if dict is modified
during the lookup

13 years agomerge 3.2 (null)
Benjamin Peterson [Thu, 8 Mar 2012 01:10:42 +0000 (19:10 -0600)]
merge 3.2 (null)

13 years agoClose #14223: curses.addch() is no more limited to the range 0-255 when the
Victor Stinner [Thu, 8 Mar 2012 01:08:48 +0000 (02:08 +0100)]
Close #14223: curses.addch() is no more limited to the range 0-255 when the
Python curses is not linked to libncursesw. It was a regression introduced in
Python 3.3a1.

13 years agomerge 3.2 (#3787e896dbe9)
Benjamin Peterson [Thu, 8 Mar 2012 00:52:52 +0000 (18:52 -0600)]
merge 3.2 (#3787e896dbe9)

13 years agothis stuff will actually be new in 3.2.4
Benjamin Peterson [Thu, 8 Mar 2012 00:49:43 +0000 (18:49 -0600)]
this stuff will actually be new in 3.2.4

13 years agoallow cycles throught the __dict__ slot to be cleared (closes #1469629)
Benjamin Peterson [Thu, 8 Mar 2012 00:41:11 +0000 (18:41 -0600)]
allow cycles throught the __dict__ slot to be cleared (closes #1469629)

Patch from Armin, test from me.

13 years agomake gi_running a boolean
Benjamin Peterson [Thu, 8 Mar 2012 00:17:03 +0000 (18:17 -0600)]
make gi_running a boolean

13 years agoindicate we're not running as we leave this block
Benjamin Peterson [Thu, 8 Mar 2012 00:11:31 +0000 (18:11 -0600)]
indicate we're not running as we leave this block

13 years agomake delegating generators say they running (closes #14220)
Benjamin Peterson [Wed, 7 Mar 2012 23:57:04 +0000 (17:57 -0600)]
make delegating generators say they running (closes #14220)

13 years agomerge 3.2 (#14212)
Benjamin Peterson [Wed, 7 Mar 2012 20:59:13 +0000 (14:59 -0600)]
merge 3.2 (#14212)

13 years agomerge heads
Benjamin Peterson [Wed, 7 Mar 2012 20:50:35 +0000 (14:50 -0600)]
merge heads

13 years agokeep the buffer object around while we're using it (closes #14212)
Benjamin Peterson [Wed, 7 Mar 2012 20:50:25 +0000 (14:50 -0600)]
keep the buffer object around while we're using it (closes #14212)

13 years agoRemove buggy change for #13719 in packaging
Éric Araujo [Wed, 7 Mar 2012 19:56:18 +0000 (20:56 +0100)]
Remove buggy change for #13719 in packaging

13 years agoMerge 3.2
Éric Araujo [Wed, 7 Mar 2012 19:50:06 +0000 (20:50 +0100)]
Merge 3.2

13 years agoBackout buggy patch committed for #13719
Éric Araujo [Wed, 7 Mar 2012 19:48:55 +0000 (20:48 +0100)]
Backout buggy patch committed for #13719

13 years agoUse ANSI C prototype instead of K&R style.
Ross Lagerwall [Wed, 7 Mar 2012 18:06:33 +0000 (20:06 +0200)]
Use ANSI C prototype instead of K&R style.

13 years agoUse PEP-8 style in logging example
Jason R. Coombs [Wed, 7 Mar 2012 15:26:08 +0000 (10:26 -0500)]
Use PEP-8 style in logging example

13 years agoIssue #10951: Fix compiler warnings in _sre.c
Ross Lagerwall [Tue, 6 Mar 2012 19:48:57 +0000 (21:48 +0200)]
Issue #10951: Fix compiler warnings in _sre.c

13 years agoIssue #10951: Fix warnings in the socket module.
Ross Lagerwall [Tue, 6 Mar 2012 19:36:18 +0000 (21:36 +0200)]
Issue #10951: Fix warnings in the socket module.

13 years agoMerge: Use PEP-8 style in logging example
Jason R. Coombs [Wed, 7 Mar 2012 15:27:07 +0000 (10:27 -0500)]
Merge: Use PEP-8 style in logging example

13 years agoAdd todo item about hash randomization.
Georg Brandl [Wed, 7 Mar 2012 07:55:52 +0000 (08:55 +0100)]
Add todo item about hash randomization.

13 years agomerge
Brett Cannon [Tue, 6 Mar 2012 20:33:24 +0000 (15:33 -0500)]
merge

13 years agoRemove uuids, as they are now computed.
Martin v. Löwis [Tue, 6 Mar 2012 16:54:06 +0000 (17:54 +0100)]
Remove uuids, as they are now computed.

13 years agoUse hg manifest to compute list of library files to include.
Martin v. Löwis [Tue, 6 Mar 2012 16:53:12 +0000 (17:53 +0100)]
Use hg manifest to compute list of library files to include.

13 years agoWhitespace.
Stefan Krah [Tue, 6 Mar 2012 14:37:36 +0000 (15:37 +0100)]
Whitespace.

13 years agoWhitespace.
Stefan Krah [Tue, 6 Mar 2012 14:27:31 +0000 (15:27 +0100)]
Whitespace.

13 years agoIssue #14181: Improve clarity in the documentation for the multi-purpose
Stefan Krah [Tue, 6 Mar 2012 13:55:06 +0000 (14:55 +0100)]
Issue #14181: Improve clarity in the documentation for the multi-purpose
Py_buffer.obj field.

13 years agoMerge
Antoine Pitrou [Tue, 6 Mar 2012 12:45:57 +0000 (13:45 +0100)]
Merge

13 years agoRemove a couple of local imports.
Antoine Pitrou [Tue, 6 Mar 2012 12:43:24 +0000 (13:43 +0100)]
Remove a couple of local imports.

13 years agoReap processes at test end to avoid false positives in reference leak detection.
Antoine Pitrou [Tue, 6 Mar 2012 12:42:35 +0000 (13:42 +0100)]
Reap processes at test end to avoid false positives in reference leak detection.

13 years agoAdd some simple examples to the PEP 380 section of What's New
Nick Coghlan [Tue, 6 Mar 2012 12:31:12 +0000 (22:31 +1000)]
Add some simple examples to the PEP 380 section of What's New

13 years agoAdd PEP 414 to What's New, consolidate memoryview entries
Nick Coghlan [Tue, 6 Mar 2012 11:50:13 +0000 (21:50 +1000)]
Add PEP 414 to What's New, consolidate memoryview entries

13 years agoIssue #14200: Add benchmark results to text flow.
Martin v. Löwis [Tue, 6 Mar 2012 07:42:17 +0000 (08:42 +0100)]
Issue #14200: Add benchmark results to text flow.

13 years agoFix a comment: PySequence_Fast() creates a list, not a tuple.
Larry Hastings [Tue, 6 Mar 2012 06:59:13 +0000 (22:59 -0800)]
Fix a comment: PySequence_Fast() creates a list, not a tuple.

13 years agoRemove an unused variable
Victor Stinner [Tue, 6 Mar 2012 01:06:01 +0000 (02:06 +0100)]
Remove an unused variable

13 years agotest_pty: fix ResourceWarning warnings
Victor Stinner [Tue, 6 Mar 2012 01:04:58 +0000 (02:04 +0100)]
test_pty: fix ResourceWarning warnings

13 years agoClose #14205: dict lookup raises a RuntimeError if the dict is modified during
Victor Stinner [Tue, 6 Mar 2012 00:03:13 +0000 (01:03 +0100)]
Close #14205: dict lookup raises a RuntimeError if the dict is modified during
a lookup.

"if you want to make a sandbox on top of CPython, you have to fix segfaults"
so let's fix segfaults!

13 years agoMove entry to right section. Mention minidom.
Martin v. Löwis [Mon, 5 Mar 2012 21:02:28 +0000 (22:02 +0100)]
Move entry to right section. Mention minidom.

13 years agoAdded delay before record creation.
Vinay Sajip [Mon, 5 Mar 2012 20:02:53 +0000 (20:02 +0000)]
Added delay before record creation.

13 years agoIssue #12328: Fix multiprocessing's use of overlapped I/O on Windows.
Antoine Pitrou [Mon, 5 Mar 2012 18:28:37 +0000 (19:28 +0100)]
Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows.
Also, add a multiprocessing.connection.wait(rlist, timeout=None) function
for polling multiple objects at once.  Patch by sbt.

Complete changelist from sbt's patch:

* Adds a wait(rlist, timeout=None) function for polling multiple
  objects at once.  On Unix this is just a wrapper for
  select(rlist, [], [], timeout=None).

* Removes use of the SentinelReady exception and the sentinels argument
  to certain methods.  concurrent.futures.process has been changed to
  use wait() instead of SentinelReady.

* Fixes bugs concerning PipeConnection.poll() and messages of zero
  length.

* Fixes PipeListener.accept() to call ConnectNamedPipe() with
  overlapped=True.

* Fixes Queue.empty() and SimpleQueue.empty() so that they are
  threadsafe on Windows.

* Now PipeConnection.poll() and wait() will not modify the pipe except
  possibly by consuming a zero length message.  (Previously poll()
  could consume a partial message.)

* All of multiprocesing's pipe related blocking functions/methods are
  now interruptible by SIGINT on Windows.

13 years agoMerge.
Stefan Krah [Mon, 5 Mar 2012 16:48:21 +0000 (17:48 +0100)]
Merge.

13 years agoIssue #14181: Preserve backwards compatibility for getbufferprocs that a) do
Stefan Krah [Mon, 5 Mar 2012 16:45:17 +0000 (17:45 +0100)]
Issue #14181: Preserve backwards compatibility for getbufferprocs that a) do
not adhere to the new documentation and b) manage to clobber view->obj before
returning failure.

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.