Commit Graph

53727 Commits

Author SHA1 Message Date
Victor Stinner d74782b0ac 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.
2012-03-09 00:39:08 +01:00
Georg Brandl 4dcf474337 Fix indentation. 2012-03-08 20:35:08 +01:00
Victor Stinner 50dbb3f2cf Issue #14205: document the change of dict[key] behaviour if dict is modified
during the lookup
2012-03-08 02:50:17 +01:00
Benjamin Peterson 704cae5097 merge 3.2 (null) 2012-03-07 19:10:42 -06:00
Victor Stinner 8f40860944 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.
2012-03-08 02:08:48 +01:00
Benjamin Peterson 9a6338651e merge 3.2 (#3787e896dbe9) 2012-03-07 18:52:52 -06:00
Benjamin Peterson dae9f8334e this stuff will actually be new in 3.2.4 2012-03-07 18:49:43 -06:00
Benjamin Peterson 52c424343d allow cycles throught the __dict__ slot to be cleared (closes #1469629)
Patch from Armin, test from me.
2012-03-07 18:41:11 -06:00
Benjamin Peterson 657e9ebef5 make gi_running a boolean 2012-03-07 18:17:03 -06:00
Benjamin Peterson 9fc309083a indicate we're not running as we leave this block 2012-03-07 18:11:31 -06:00
Benjamin Peterson 099a78fe6d make delegating generators say they running (closes #14220) 2012-03-07 17:57:04 -06:00
Benjamin Peterson 33d21a24fa merge 3.2 (#14212) 2012-03-07 14:59:13 -06:00
Benjamin Peterson 1ae230aa1a merge heads 2012-03-07 14:50:35 -06:00
Benjamin Peterson e48944b69c keep the buffer object around while we're using it (closes #14212) 2012-03-07 14:50:25 -06:00
Éric Araujo 2fa0cbc9ae Remove buggy change for #13719 in packaging 2012-03-07 20:56:18 +01:00
Éric Araujo 00b41fc828 Merge 3.2 2012-03-07 20:50:06 +01:00
Éric Araujo a420c820fe Backout buggy patch committed for #13719 2012-03-07 20:48:55 +01:00
Ross Lagerwall 7f4fdb266a Use ANSI C prototype instead of K&R style. 2012-03-07 20:06:33 +02:00
Jason R. Coombs 30b8e5461d Use PEP-8 style in logging example 2012-03-07 10:26:08 -05:00
Ross Lagerwall 88748d7bfe Issue #10951: Fix compiler warnings in _sre.c 2012-03-06 21:48:57 +02:00
Ross Lagerwall 8c159761de Issue #10951: Fix warnings in the socket module. 2012-03-06 21:36:18 +02:00
Jason R. Coombs 8a56085b51 Merge: Use PEP-8 style in logging example 2012-03-07 10:27:07 -05:00
Georg Brandl d6c4340f77 Add todo item about hash randomization. 2012-03-07 08:55:52 +01:00
Brett Cannon f67e494ca8 merge 2012-03-06 15:33:24 -05:00
Martin v. Löwis 0119e4753e Remove uuids, as they are now computed. 2012-03-06 17:54:06 +01:00
Martin v. Löwis 41add01317 Use hg manifest to compute list of library files to include. 2012-03-06 17:53:12 +01:00
Stefan Krah 2318699f59 Whitespace. 2012-03-06 15:37:36 +01:00
Stefan Krah 4e14174e24 Whitespace. 2012-03-06 15:27:31 +01:00
Stefan Krah abd887d690 Issue #14181: Improve clarity in the documentation for the multi-purpose
Py_buffer.obj field.
2012-03-06 14:55:06 +01:00
Antoine Pitrou 2d627980d5 Merge 2012-03-06 13:45:57 +01:00
Antoine Pitrou 5bb9a8f237 Remove a couple of local imports. 2012-03-06 13:43:24 +01:00
Antoine Pitrou 6c64cc1973 Reap processes at test end to avoid false positives in reference leak detection. 2012-03-06 13:42:35 +01:00
Nick Coghlan b9b281b787 Add some simple examples to the PEP 380 section of What's New 2012-03-06 22:31:12 +10:00
Nick Coghlan 98e20701cb Add PEP 414 to What's New, consolidate memoryview entries 2012-03-06 21:50:13 +10:00
Martin v. Löwis de157cc5bc Issue #14200: Add benchmark results to text flow. 2012-03-06 08:42:17 +01:00
Larry Hastings 064474134c Fix a comment: PySequence_Fast() creates a list, not a tuple. 2012-03-05 22:59:13 -08:00
Victor Stinner 0d03478b88 Remove an unused variable 2012-03-06 02:06:01 +01:00
Victor Stinner b1f7f6343b test_pty: fix ResourceWarning warnings 2012-03-06 02:04:58 +01:00
Victor Stinner 198b291df7 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!
2012-03-06 01:03:13 +01:00
Martin v. Löwis b2c7cca0cf Move entry to right section. Mention minidom. 2012-03-05 22:02:28 +01:00
Vinay Sajip b2fcd3a989 Added delay before record creation. 2012-03-05 20:02:53 +00:00
Antoine Pitrou bdb1cf1ca5 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.
2012-03-05 19:28:37 +01:00
Stefan Krah 1e88f3faa6 Merge. 2012-03-05 17:48:21 +01:00
Stefan Krah 1649c1b33a 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.
2012-03-05 17:45:17 +01:00
Éric Araujo c53d624235 Merge 3.2 2012-03-05 17:04:20 +01:00
Éric Araujo b8e280d225 Make packaging’ upload command work with bdist_msi products (#13719) 2012-03-05 17:04:07 +01:00
Éric Araujo c3705d3ac4 Fix NameError from #13719 fix 2012-03-05 17:02:31 +01:00
Éric Araujo d1671239a4 Branch merge 2012-03-05 16:25:40 +01:00
Éric Araujo 6a59b70cba Merge 3.2 2012-03-05 16:24:07 +01:00
Éric Araujo 80f7102d43 Improve packaging.database documentation 2012-03-05 16:16:37 +01:00