Thomas Heller
a52b244cc1
Fix compiler warning.
2008-05-29 19:18:12 +00:00
Facundo Batista
4f1b1ed975
Fixed the semantic of timeout for socket.create_connection and
...
all the upper level libraries that use it, including urllib2.
Added and fixed some tests, and changed docs correspondingly.
Thanks to John J Lee for the patch and the pusing, :)
2008-05-29 16:39:26 +00:00
Georg Brandl
f18a707205
Revert #2990 patch; it's not necessary as Armin showed.
2008-05-29 14:35:39 +00:00
Raymond Hettinger
2a9179ac73
Fix two typos.
2008-05-29 08:38:23 +00:00
Georg Brandl
d0b592f8e8
#2985 : allow i8 in XMLRPC responses.
2008-05-29 07:45:26 +00:00
Georg Brandl
b77e888f41
#2988 : add note about catching CookieError when parsing untrusted cookie data.
2008-05-29 07:38:37 +00:00
Georg Brandl
7943a3295d
#2906 : accept lists for options, and some cosmetic fixes in Tkinter.
2008-05-29 07:18:49 +00:00
Georg Brandl
457501bf20
Two fixes in bytearray docs.
2008-05-29 07:18:17 +00:00
Brett Cannon
abb34fe9f3
UserString.MutableString has been removed in Python 3.0.
...
Works on issue #2877 . Thanks Quentin Gallet-Gilles for the patch.
2008-05-29 05:08:50 +00:00
Georg Brandl
5ec330cb2f
#2990 : prevent inconsistent state while updating method cache.
2008-05-28 15:41:36 +00:00
Benjamin Peterson
dee01d8af8
fix spelling
2008-05-28 11:51:41 +00:00
Georg Brandl
74a1deaab3
#2989 : add PyType_Modified().
2008-05-28 11:21:39 +00:00
Mark Hammond
88eeef35d7
bdist_wininst now works correctly when both --skip-build and --plat-name are specified.
2008-05-28 01:54:55 +00:00
Benjamin Peterson
a436878419
update tutorial function with more appropiate one from Eric Smith
2008-05-28 01:12:35 +00:00
Jesus Cea
dbd2f6d8a9
Better integration between Python testing and bsddb3
2008-05-27 13:26:02 +00:00
Lars Gustäbel
b1a54a3530
Do not close external file objects passed to tarfile.open(mode='w:bz2')
...
when the TarFile is closed.
2008-05-27 12:39:23 +00:00
Gregory P. Smith
0902cac4b3
Disable the use of BerkeleyDB 4.6 on platforms that appear to have
...
issues with it.
2008-05-27 08:40:09 +00:00
Benjamin Peterson
1d31023b31
Improvements for test_py3kwarn
...
- Always show warnings so they are always catchable
- Make test_os_path_walk faster by walking a less populous directory
2008-05-27 01:42:29 +00:00
Benjamin Peterson
838c7b3619
remove some __getslice__
2008-05-27 01:18:39 +00:00
Gregory P. Smith
933d3731de
Fix issue2588: Do not execute str[size-1] = '\0' when a 0 size is
...
passed in. (The assert won't prevent this in non-debug builds).
2008-05-26 22:07:28 +00:00
Benjamin Peterson
c1c83bb0de
remove duplication in test module
2008-05-26 21:44:26 +00:00
Gregory P. Smith
23921f00e8
Fix issue2589: there was a potential integer overflow leading to
...
memory corruption on esoteric platforms and incorrect behavior on
normal platforms.
2008-05-26 21:16:34 +00:00
Benjamin Peterson
06abba3558
fix minor grammar typo
2008-05-26 20:43:24 +00:00
Benjamin Peterson
9171bed69a
take Brett's advice on a few warnings
2008-05-26 20:41:45 +00:00
Gregory P. Smith
4036fd4b75
Fixes issue2791: subprocess.Popen.communicate leaked a file descripton until
...
the last reference to the Popen instance was dropped. Adding explicit
close() calls fixes it.
Candidate for backport to release25-maint.
2008-05-26 20:22:14 +00:00
Benjamin Peterson
3aa84a7f28
warn about some members of the commands module
2008-05-26 19:41:53 +00:00
Benjamin Peterson
b17ad2de08
wrap line
2008-05-26 19:37:11 +00:00
Gregory P. Smith
8f1a4a6828
Allow BerlekeyDB up through 4.7. I doubt any of our unixy buildbots even have
...
that installed yet but the module code supports it.
2008-05-26 19:29:14 +00:00
Gregory P. Smith
572226cad8
Define macros so that this still compiles on Python prior to r63675.
2008-05-26 19:03:35 +00:00
Benjamin Peterson
dacde0d6ae
turn PyErr_WarnPy3k into a macro
2008-05-26 17:43:53 +00:00
Benjamin Peterson
eeb2b21ab0
add __all__ to test_support
2008-05-26 16:22:27 +00:00
Benjamin Peterson
2b4b5acf18
add PyByteArray docs
2008-05-26 15:54:26 +00:00
Georg Brandl
8de9119447
Add renaming notices to 3.0 http package members.
2008-05-26 15:01:48 +00:00
Benjamin Peterson
8b12ee1072
fix typo (thank Georg)
2008-05-26 14:51:54 +00:00
Benjamin Peterson
438e9ac4d4
fix a minor typo
2008-05-26 14:29:09 +00:00
Benjamin Peterson
404d182bba
note that PyString and has been aliased to PyBytes
2008-05-26 14:02:09 +00:00
Christian Heimes
36f0a80bce
Used vs9to8.py to port all VS9.0 changes to 8.0
...
Updated VS7.1 and VC6 project files
2008-05-26 13:51:41 +00:00
Christian Heimes
7a9906162b
Updated NEWS
2008-05-26 13:15:11 +00:00
Benjamin Peterson
d7c778477e
put a big note on configure.in asking people to run autoconf
2008-05-26 13:01:25 +00:00
Christian Heimes
44720838eb
Renamed bytesobject.c to bytearrayobject.c
...
Renamed stringobject.c to bytesobject.c
Fixed Windows builds
2008-05-26 13:01:01 +00:00
Christian Heimes
593daf545b
Renamed PyString to PyBytes
2008-05-26 12:51:38 +00:00
Benjamin Peterson
c3cb683d63
some updates to string formatting section in whatsnew
2008-05-26 12:29:46 +00:00
Christian Heimes
3497f94476
First step of the C API rename:
...
renamed Include/bytesobject.h to Include/bytearrayobject.h
renamed Include/stringobject.h to Include/bytesobject.h
added Include/stringobject.h with aliases
2008-05-26 12:29:14 +00:00
Thomas Heller
b4701e638c
On Windows, we must build a debug version iff running a debug build of
...
Python
2008-05-26 11:42:40 +00:00
Georg Brandl
e2caef7646
Add renaming notices to xmlrpc modules.
2008-05-26 10:47:43 +00:00
Georg Brandl
68d3eb9f66
Add renaming notices to 2.6 dbm module docs.
2008-05-26 10:22:15 +00:00
Benjamin Peterson
f9ef9881d7
update the tutorial to use str.format
2008-05-26 00:54:22 +00:00
Benjamin Peterson
c15205e939
rename the section about new formatting 'new-string-formatting'
2008-05-25 20:05:52 +00:00
Martin v. Löwis
bbaa2ebd17
Merged revisions 63634-63643 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r63643 | martin.v.loewis | 2008-05-25 19:18:21 +0200 (So, 25 Mai 2008) | 3 lines
Don't abort on IOErrors caused by saving pickle files.
Fixes #2938 .
........
2008-05-25 17:19:22 +00:00
Martin v. Löwis
367c79a4ad
Create grammar pickle files on installation; remove them on uninstallation.
2008-05-25 16:37:34 +00:00