Andrew M. Kuchling
86533776c2
Describe the __hash__ changes
2008-09-02 01:13:42 +00:00
Benjamin Peterson
973e6c2cf3
remove py3k warnings about the threading api; update docs
...
Reviewer: Benjamin Peterson
2008-09-01 23:12:58 +00:00
Jesus Cea
057dfddc88
In Python3.0, "test.test_support" is renamed to "test.support".
2008-09-01 20:48:16 +00:00
Amaury Forgeot d'Arc
3571fbfed7
Issue #3751 : str.rpartition would perform a left-partition when called with
...
a unicode argument.
will backport.
2008-09-01 19:52:00 +00:00
Vinay Sajip
aa5f873980
Bug #3738 : Documentation is now more accurate in describing handler close methods.
2008-09-01 17:44:14 +00:00
Benjamin Peterson
e5c1d294b1
Merged revisions 65887,65889,65967-65968,65981 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65887 | benjamin.peterson | 2008-08-19 17:45:04 -0500 (Tue, 19 Aug 2008) | 1 line
allow the raw_input fixer to handle calls after the raw_input (ie. raw_input().split())
........
r65889 | benjamin.peterson | 2008-08-19 18:11:03 -0500 (Tue, 19 Aug 2008) | 1 line
no need for 2.4 compatibility now
........
r65967 | benjamin.peterson | 2008-08-21 18:43:37 -0500 (Thu, 21 Aug 2008) | 1 line
allow a Call to have no arguments
........
r65968 | benjamin.peterson | 2008-08-21 18:45:13 -0500 (Thu, 21 Aug 2008) | 1 line
add a fixer for sys.exc_info etc by Jeff Balogh #2357
........
r65981 | benjamin.peterson | 2008-08-22 15:41:30 -0500 (Fri, 22 Aug 2008) | 1 line
add a fixer to add parenthese for list and gen comps #2367
........
2008-09-01 17:17:22 +00:00
Benjamin Peterson
f7feaec16c
revert r66114 for Jesse
2008-09-01 17:10:46 +00:00
Jesse Noller
27cc8e1dd2
Submit Nick's patch for issue 3589, reviewed by jnoller
2008-09-01 16:47:25 +00:00
Vinay Sajip
34bfda55d2
Added section about configuring logging in a library. Thanks to Thomas Heller for the idea.
2008-09-01 15:08:07 +00:00
Vinay Sajip
35e3b03e86
logging: fixed lack of use of encoding attribute specified on a stream.
2008-09-01 14:33:59 +00:00
Hirokazu Yamamoto
ed8c6441b5
Issue #3748 : platform.architecture() printed vogus message on windows.
...
Reviewed by Marc-Andre Lemburg.
2008-09-01 14:32:58 +00:00
Vinay Sajip
72ed07843a
logging: fixed lack of use of encoding attribute specified on a stream.
2008-09-01 14:30:10 +00:00
Hirokazu Yamamoto
f7dd75f484
Issue #3732 : Backported r53335 to supress deprecation warning.
...
Reviewed by Benjamin Peterson.
2008-09-01 14:24:04 +00:00
Benjamin Peterson
17f03ca962
Fix compilation when --without-threads is given #3683
...
Reviewer: Georg Brandl, Benjamin Peterson
2008-09-01 14:18:30 +00:00
Georg Brandl
2ba93210e2
#3749 : fix c'n'p errors.
2008-09-01 14:15:55 +00:00
Benjamin Peterson
f22c26ecf4
#3703 unhelpful _fileio.FileIO error message when trying to open a directory
...
Reviewer: Gregory P. Smith
2008-09-01 14:13:43 +00:00
Gregory P. Smith
f07e5a9e4b
issue3715: docstring representation of hex escaped string needs to be double
...
escaped.
2008-08-31 16:34:18 +00:00
Andrew M. Kuchling
51eb7a9daa
Update patch/bug count
2008-08-31 15:48:44 +00:00
Andrew M. Kuchling
ba40fb467d
Last batch of edits; remove the 'other changes' section
2008-08-31 15:41:48 +00:00
Andrew M. Kuchling
fa881f2bd4
Edit the library section, rearranging items to flow better and making lots of edits
2008-08-31 14:29:31 +00:00
Jesus Cea
4907d27c1f
Update bsddb code to version 4.7.3pre2. This code should
...
be compatible with Python 3.0, also.
http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3
2008-08-31 14:00:51 +00:00
Nick Coghlan
82358691f7
Issue 2235: document the ability to block inheritance of __hash__ in the language reference
2008-08-31 13:10:50 +00:00
Andrew M. Kuchling
4d028570c7
More edits
2008-08-31 02:24:08 +00:00
Andrew M. Kuchling
eaa29bb238
More edits; markup fixes
2008-08-30 22:56:54 +00:00
Georg Brandl
9481ba33ff
Fix markup.
2008-08-30 22:00:28 +00:00
Georg Brandl
5c669db194
#3707 : fix inf. recursion in pydoc topic search. Rev'd by Antoine.
2008-08-30 19:03:43 +00:00
Andrew M. Kuchling
5f2dc0bf7b
Edit four more sections
2008-08-30 16:44:54 +00:00
Andrew M. Kuchling
3ffe56398a
Correction from Antoine Pitrou: BufferedWriter and Reader support seek()
2008-08-30 15:25:47 +00:00
Andrew M. Kuchling
bf0a5951c9
Tidy up some sentences
2008-08-30 15:21:23 +00:00
Andrew M. Kuchling
e496493dd8
Partial edits from revision and tidying pass
2008-08-30 15:19:57 +00:00
Georg Brandl
f5a3fb730f
super() actually returns a super object.
2008-08-30 13:17:39 +00:00
Georg Brandl
6140651d93
#3569 : eval() also accepts "exec"able code objects.
2008-08-30 10:03:09 +00:00
Georg Brandl
c176814d82
#3716 : fix typo.
2008-08-30 09:52:44 +00:00
Georg Brandl
cff0b46edc
#3730 : mention "server" attribute explicitly.
2008-08-30 09:49:36 +00:00
Armin Rigo
dcde494114
A collection of crashers, all variants of the idea
...
of issue #3720 .
2008-08-29 21:21:52 +00:00
Antoine Pitrou
d4ae97bc38
#3668 : When PyArg_ParseTuple correctly parses a s* format, but raises an
...
exception afterwards (for a subsequent parameter), the user code will
not call PyBuffer_Release() and memory will leak.
Reviewed by Amaury Forgeot d'Arc.
2008-08-29 18:39:48 +00:00
Georg Brandl
a27e89bd04
#3711 : .dll isn't a valid Python extension anymore.
2008-08-28 09:40:18 +00:00
Andrew M. Kuchling
488a4f0118
Add various items
2008-08-27 02:12:18 +00:00
Andrew M. Kuchling
c9b41106e8
Add an item and a note
2008-08-27 00:45:02 +00:00
Andrew M. Kuchling
d207e230e1
Trim whitespace; add a few updates
2008-08-27 00:27:18 +00:00
Antoine Pitrou
0668c62677
Issue #2534 : speed up isinstance() and issubclass() by 50-70%, so as to
...
match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__
mechanism. In the process, fix a bug where isinstance() and issubclass(),
when given a tuple of classes as second argument, were looking up
__instancecheck__ / __subclasscheck__ on the tuple rather than on each
type object.
Reviewed by Benjamin Peterson and Raymond Hettinger.
2008-08-26 22:42:08 +00:00
Benjamin Peterson
14cb6bcf2b
sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str
2008-08-26 17:08:40 +00:00
Neal Norwitz
e39be53c3c
Try to reduce the flakiness of this test
2008-08-25 03:52:40 +00:00
Neal Norwitz
2a7767a173
Use bytes as return type from recv_bytes() methods. Not sure why this only
...
affects some buildbots.
R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
2008-08-25 03:03:25 +00:00
Neal Norwitz
0c519b3a5e
Fix problem reported by pychecker where AuthenticationError wasn't imported.
...
Add some test coverage to this code. More tests should be added (TODO added).
R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
2008-08-25 01:50:24 +00:00
Brett Cannon
971f10210e
Clarify that some attributes/methods are listed somewhat separately because they are not part of the threading API.
2008-08-24 23:15:19 +00:00
Neal Norwitz
901e4715bd
#3662 : Fix segfault introduced when fixing memory leaks.
...
TESTED=./python -E -tt ./Lib/test/regrtest.py test_fileio
R (approach from bug)=Amaury and Benjamin
2008-08-24 22:03:05 +00:00
Benjamin Peterson
dcf4891210
remove note about unimplemented feature
2008-08-24 21:55:03 +00:00
Georg Brandl
30de77b97d
#3654 : fix duplicate test method name. Review by Benjamin P.
2008-08-24 18:11:07 +00:00
Benjamin Peterson
712ee92309
generate py3k warnings on __getslice__, __delslice__, and __setslice__
...
Reviewer: Brett Cannon
2008-08-24 18:10:20 +00:00