Nick Coghlan
53663a695e
Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful
2008-07-15 14:27:37 +00:00
Jesse Noller
9ace15ca25
multiprocessing/connection.py patch to remove fqdn oddness for issue 3270
2008-07-15 13:47:33 +00:00
Eric Smith
d0c841243c
Added '#' formatting to integers. This adds the 0b, 0o, or 0x prefix for bin, oct, hex. There's still one failing case, and I need to finish the docs. I hope to finish those today.
2008-07-15 10:10:07 +00:00
Benjamin Peterson
a6864e0d9f
fix test_py3kwarns
...
The fact that this was failing and went unnoticed so long seems like a good argument for being able to enable and disble py3kwarnings through Python.
2008-07-14 17:42:17 +00:00
Robert Schuppenies
2ee623b710
Fixed test failure on Win64 machines.
2008-07-14 08:42:18 +00:00
Gregory P. Smith
fb7a50fbb9
Fix posix.fork1() / os.fork1() to only call PyOS_AfterFork() in the child
...
process rather than both parent and child.
Does anyone actually use fork1()? It appears to be a Solaris thing
but if Python is built with pthreads on Solaris, fork1() and fork()
should be the same.
2008-07-14 06:06:48 +00:00
Andrew M. Kuchling
4ec0c27eea
Expand the multiprocessing section
2008-07-14 01:18:31 +00:00
Andrew M. Kuchling
8ea605c204
Typo fix
2008-07-14 01:18:16 +00:00
Andrew M. Kuchling
a2478d9fa0
Typo fix
2008-07-14 00:40:55 +00:00
Andrew M. Kuchling
ded01d1bf0
Typo fixes
2008-07-14 00:35:32 +00:00
Alexandre Vassalotti
bd70476897
Issue #3153 : sqlite leaks on error.
...
Changed statements of the form Py_DECREF(obj), obj = 0 to Py_CLEAR(obj).
2008-07-13 21:47:59 +00:00
Andrew M. Kuchling
b93dc5f0ce
Add various items; move ctypes items into a subsection of their own
2008-07-13 21:43:52 +00:00
Andrew M. Kuchling
00f34c69b3
Re-word
2008-07-13 21:43:25 +00:00
Alexandre Vassalotti
8d412f36b5
Issue #3274 : Use a less common identifier for the temporary variable
...
in Py_CLEAR().
2008-07-13 20:42:44 +00:00
Martin v. Löwis
060cd1e1ea
Add turtle into the module index.
2008-07-13 20:31:49 +00:00
Benjamin Peterson
e79edf5f7c
remove sys.version_info check for 3.0
2008-07-13 18:34:58 +00:00
Benjamin Peterson
2a6087966c
remove bytes alias
2008-07-13 18:25:13 +00:00
Nick Coghlan
b028f50911
Fix issue 3221 by emitting a RuntimeWarning instead of raising SystemError when the parent module can't be found during an absolute import (likely due to non-PEP 361 aware code which sets a module level __package__ attribute)
2008-07-13 14:52:36 +00:00
Nick Coghlan
12c8660cc6
Correct a couple of errors in the updated catch_warning documentation (the Py3k version was fixed before being checked in)
2008-07-13 12:36:42 +00:00
Nick Coghlan
38469e2719
Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for itto test_warnings.
2008-07-13 12:23:47 +00:00
Brett Cannon
3d0b9f095a
dummy_thread.acquire() would return None if no waitflag argument was given. It
...
should have returned True.
Fixes issue #3339 . Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi
for attempting a patch.
2008-07-13 01:15:07 +00:00
Benjamin Peterson
0522a9f1eb
#1778443 robotparser fixes from Aristotelis Mikropoulos
2008-07-12 23:41:19 +00:00
Alexandre Vassalotti
24122593f0
Fixed typo.
2008-07-12 22:06:53 +00:00
Benjamin Peterson
90f36730e2
fix various doc typos #3320
2008-07-12 20:16:19 +00:00
Matthias Klose
9c87a40786
- Fix bashisms in Tools/faqwiz/move-faqwiz.sh
2008-07-12 07:51:48 +00:00
Josiah Carlson
873c3864ba
Fixed test for asyncore.
2008-07-11 23:26:59 +00:00
Josiah Carlson
b65b4c3a47
Fix for the AttributeError in test_asynchat.
2008-07-11 22:17:14 +00:00
Amaury Forgeot d'Arc
2252d11c08
#3342 : In tracebacks, printed source lines were not indented since r62555.
...
#3343 : Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
2008-07-11 21:45:06 +00:00
Amaury Forgeot d'Arc
ae6d2b9175
#3317 in zipfile module, restore the previous names of global variables:
...
some applications relied on them.
Also remove duplicated lines.
2008-07-11 21:28:25 +00:00
Raymond Hettinger
8dbbb96929
Add cautionary note on the use of PySequence_Fast_ITEMS.
2008-07-11 12:00:21 +00:00
Brett Cannon
feef51d988
Fix a minor typo in the last entry made.
2008-07-11 00:50:01 +00:00
Brett Cannon
963ffdb9c9
Doc that robotparse has been renamed urllib.robotparser in Python 3.0.
2008-07-11 00:48:57 +00:00
Brett Cannon
f6afa334b9
Doc that urlparse is named urllib.parse in Python 3.0.
2008-07-11 00:16:30 +00:00
Brett Cannon
97aa1aeebd
Document the fact that urllib2 spans multiple modules with new names in Python
...
3.0.
2008-07-11 00:12:52 +00:00
Brett Cannon
ea40c587d8
Removal an invalid entry as the fixer for urllib is under active development.
2008-07-11 00:10:49 +00:00
Robert Schuppenies
4762902998
Added garbage collector overhead and optional default return value to
...
sys.getsizeof.
2008-07-10 17:13:55 +00:00
Raymond Hettinger
5930d8f05e
Suppress -3 warnings in unittest.py
2008-07-10 16:06:41 +00:00
Raymond Hettinger
930795b7e0
Clear the -3 warnings in optparse.py
2008-07-10 15:37:08 +00:00
Robert Schuppenies
9be2ec109b
Added additional __sizeof__ implementations and addressed comments made in
...
Issue3122.
2008-07-10 15:24:04 +00:00
Andrew M. Kuchling
cc3f2b1d16
Wording changes
2008-07-10 14:43:31 +00:00
Raymond Hettinger
b01713e7dc
Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments.
2008-07-10 14:34:57 +00:00
Raymond Hettinger
3cd1e42dca
Issue 3301: Bisect functions behaved badly when lo was negative.
2008-07-10 14:03:19 +00:00
Robert Schuppenies
d2cd86ddd5
Fixed Issue3122 and extended sys.getsizeof tests for built-in types.
2008-07-10 13:43:26 +00:00
Raymond Hettinger
548db58e02
Use operator.index() instead of n.__index__().
2008-07-10 10:28:41 +00:00
Raymond Hettinger
655d583a49
Issue 3287: Raise correct exception for float inputs.
2008-07-10 09:31:08 +00:00
Nick Coghlan
14ff99432d
Add missing NEWS and ACK entries for r64791
2008-07-08 14:21:42 +00:00
Nick Coghlan
524b7773cc
Issue 2517: Allow unicode messages in Exceptions again by correctly bypassing the instance dictionary when looking up __unicode__ on new-style classes
2008-07-08 14:08:04 +00:00
Georg Brandl
dbc5987e2f
Add missing ABCs to list.
2008-07-08 07:05:23 +00:00
Facundo Batista
1a664419bb
Issue 3306. Better control for a lenght in findmax() function.
2008-07-07 17:02:59 +00:00
Andrew M. Kuchling
10cf7d947d
Fix example to match text
2008-07-07 16:51:09 +00:00