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
Martin v. Löwis
f2e23d039c
Merged revisions 62647-63633 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r63047 | alexandre.vassalotti | 2008-05-11 11:03:24 +0200 (So, 11 Mai 2008) | 2 lines
Added import fixer for copy_reg rename.
........
r63081 | alexandre.vassalotti | 2008-05-11 22:06:36 +0200 (So, 11 Mai 2008) | 2 lines
Added import fixer for Queue rename.
........
r63090 | alexandre.vassalotti | 2008-05-11 22:38:16 +0200 (So, 11 Mai 2008) | 2 lines
Added import fixer for PixMapWrapper rename.
........
r63141 | alexandre.vassalotti | 2008-05-12 04:42:03 +0200 (Mo, 12 Mai 2008) | 5 lines
Added fixer for SocketServer renaming.
Removed PixMapWrapper fixer, since the module is actually pending
removal.
........
r63252 | alexandre.vassalotti | 2008-05-15 01:10:20 +0200 (Do, 15 Mai 2008) | 2 lines
Added fixer for ConfigParser rename.
........
r63321 | collin.winter | 2008-05-15 19:42:58 +0200 (Do, 15 Mai 2008) | 1 line
Add a missing comma. Fixes issue 2866.
........
r63356 | alexandre.vassalotti | 2008-05-16 08:55:44 +0200 (Fr, 16 Mai 2008) | 4 lines
Added new tests for fix_imports.
Added refactoring support of from-import statements of the style:
from foo import bar, baz
........
r63362 | alexandre.vassalotti | 2008-05-16 09:17:53 +0200 (Fr, 16 Mai 2008) | 2 lines
Added the repr module import fixer.
........
r63456 | georg.brandl | 2008-05-18 21:51:18 +0200 (So, 18 Mai 2008) | 2 lines
#2908 : fixers for Tkinter rename.
........
r63461 | georg.brandl | 2008-05-18 23:00:20 +0200 (So, 18 Mai 2008) | 2 lines
Fix for last patch.
........
r63525 | alexandre.vassalotti | 2008-05-21 23:43:29 +0200 (Mi, 21 Mai 2008) | 4 lines
Add missing comma in fix_imports.
Bug caught by Quentin Gallet-Gilles.
........
r63532 | brett.cannon | 2008-05-22 05:02:43 +0200 (Do, 22 Mai 2008) | 4 lines
When testing fix_imports, no need to only test a subset of input; test it all!
Do all revisions to the sandbox need to be manually applied to the trunk?
........
r63533 | brett.cannon | 2008-05-22 05:16:45 +0200 (Do, 22 Mai 2008) | 1 line
Add _markupbase to the import fixer.
........
r63612 | georg.brandl | 2008-05-25 09:56:59 +0200 (So, 25 Mai 2008) | 2 lines
Add fixer for _winreg rename.
........
r63627 | georg.brandl | 2008-05-25 14:30:10 +0200 (So, 25 Mai 2008) | 2 lines
Add fixer entry for the thread module.
........
r63629 | georg.brandl | 2008-05-25 14:34:13 +0200 (So, 25 Mai 2008) | 2 lines
Fixer entry for dummy_thread.
........
r63633 | martin.v.loewis | 2008-05-25 16:52:41 +0200 (So, 25 Mai 2008) | 2 lines
Temporarily disable Test_imports.
........
2008-05-25 14:58:01 +00:00
Georg Brandl
8a710dc441
Add renaming notices to thread and dummy_thread.
2008-05-25 12:34:57 +00:00
Martin v. Löwis
dcc86204eb
Include all licenses of the packages that we include.
2008-05-25 11:56:23 +00:00
Gregory P. Smith
5d7d6c37c2
note about r63617
2008-05-25 08:32:04 +00:00
Gregory P. Smith
9e6468be1d
Fix issue2669: bsddb simple/legacy interface iteration silently fails
...
when database changes size during iteration.
It now behaves like a dictionary, the next attempt to get a value from
the iterator after the database has changed size will raise a RuntimeError.
2008-05-25 08:28:29 +00:00
Georg Brandl
e08e3d0686
#2959 : allow multiple close() calls for GzipFile.
2008-05-25 08:07:37 +00:00
Georg Brandl
ecd0ad3c57
Hint about _winreg renaming in the docs.
2008-05-25 07:46:33 +00:00
Georg Brandl
392c6fc02d
ConfigParser renaming reversal part 3: move module into place and adapt imports.
2008-05-25 07:25:25 +00:00
Georg Brandl
995ee9dab0
ConfigParser renaming reversal part 2: move module.
2008-05-25 07:21:58 +00:00