Martin v. Löwis
2eab97c9a6
Merged revisions 63634 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
................
r63634 | martin.v.loewis | 2008-05-25 16:58:01 +0200 (So, 25 Mai 2008) | 81 lines
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 15:24:57 +00:00
Georg Brandl
2067bfdf25
Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875 .
2008-05-25 13:05:15 +00:00
Georg Brandl
3b4b45bfe5
#2967 : Tkinter -> tkinter in test_tcl.
2008-05-25 11:53:14 +00:00
Georg Brandl
52b92cc16b
Refer consistently to issues, rewrap to 70 chars.
2008-05-25 09:43:03 +00:00
Georg Brandl
1bcf35ae39
#2963 : fix method cache types.
2008-05-25 09:32:09 +00:00
Georg Brandl
c9b0953bda
#2964 : fix missing INCREF.
2008-05-25 09:24:38 +00:00
Georg Brandl
38feaf0fef
#2879 : rename _winreg to winreg.
2008-05-25 07:45:51 +00:00
Georg Brandl
2cb57a40b2
Block queue/configparser renaming reversal.
...
Blocked revisions 63599-63600,63603,63605-63607 via svnmerge
........
r63599 | georg.brandl | 2008-05-25 09:08:35 +0200 (Sun, 25 May 2008) | 2 lines
Queue renaming reversal part 1: remove stub module.
........
r63600 | georg.brandl | 2008-05-25 09:10:03 +0200 (Sun, 25 May 2008) | 2 lines
Queue renaming reversal part 2: move module.
........
r63603 | georg.brandl | 2008-05-25 09:20:14 +0200 (Sun, 25 May 2008) | 3 lines
Queue renaming reversal part 3: move module into place and
change imports and other references. Closes #2925 .
........
r63605 | georg.brandl | 2008-05-25 09:21:41 +0200 (Sun, 25 May 2008) | 2 lines
ConfigParser renaming reversal part 1: remove stub module.
........
r63606 | georg.brandl | 2008-05-25 09:21:58 +0200 (Sun, 25 May 2008) | 2 lines
ConfigParser renaming reversal part 2: move module.
........
r63607 | georg.brandl | 2008-05-25 09:25:25 +0200 (Sun, 25 May 2008) | 2 lines
ConfigParser renaming reversal part 3: move module into place and adapt imports.
........
2008-05-25 07:29:52 +00:00
Georg Brandl
15a51e3c21
Fix Queue -> queue.
2008-05-25 07:17:27 +00:00
Benjamin Peterson
d877ca877b
fix skipped test due to import problem
2008-05-23 21:12:54 +00:00
Thomas Heller
3eaaeb437f
Merged revisions 63395-63396,63511,63522-63523 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63395 | thomas.heller | 2008-05-16 22:06:31 +0200 (Fr, 16 Mai 2008) | 4 lines
Issue 1793: Add ctypes.util.find_msvcrt() function (on Windows).
........
r63396 | thomas.heller | 2008-05-16 22:19:07 +0200 (Fr, 16 Mai 2008) | 4 lines
Very simple test for ctypes.util.find_library on Windows.
........
r63511 | thomas.heller | 2008-05-20 21:53:47 +0200 (Di, 20 Mai 2008) | 6 lines
On HPUX, -fPIC must be used for linking. _ctypes now builds on HP-UX
IA64 and PA machines.
The ctypes unittests work fine on the IA64, but dump core in
test_qsort on the PA.
........
r63522 | thomas.heller | 2008-05-21 20:47:02 +0200 (Mi, 21 Mai 2008) | 2 lines
The -x <test1[,test2...]> flag allows to exclude tests.
........
r63523 | thomas.heller | 2008-05-21 21:47:44 +0200 (Mi, 21 Mai 2008) | 2 lines
Oops, get_tests may be called with 3 arguments.
........
2008-05-23 17:26:46 +00:00
Brett Cannon
ab081cfbb1
Blocked revisions 63549 via svnmerge
...
........
r63549 | brett.cannon | 2008-05-22 22:05:20 -0700 (Thu, 22 May 2008) | 1 line
Remove the old repr stub.
........
2008-05-23 05:05:57 +00:00
Brett Cannon
2500e9dfe5
Blocked revisions 63547 via svnmerge
...
........
r63547 | brett.cannon | 2008-05-22 22:03:59 -0700 (Thu, 22 May 2008) | 1 line
Revert the renaming of repr to reprlib.
........
2008-05-23 05:04:48 +00:00
Benjamin Peterson
27bb3fb493
Blocked revisions 63528 via svnmerge
...
........
r63528 | benjamin.peterson | 2008-05-21 17:52:39 -0500 (Wed, 21 May 2008) | 2 lines
check for toolbox glue before testing platform.mac_ver intensly
........
2008-05-21 22:53:47 +00:00
Mark Dickinson
f64dcf3ce0
Change test_htmlparser to reflect the HTMLParser -> html.parser
...
rename in r63439.
Also fix one occurrence of unichr() in html.parser.
2008-05-21 13:51:18 +00:00
Brett Cannon
96ad65da2f
Blocked revisions 63513 via svnmerge
...
........
r63513 | brett.cannon | 2008-05-20 15:08:20 -0700 (Tue, 20 May 2008) | 2 lines
Add a note about the renaming of test.test_support in 3.0.
........
2008-05-20 22:09:04 +00:00
Benjamin Peterson
ee8712cda4
#2621 rename test.test_support to test.support
2008-05-20 21:35:26 +00:00
Georg Brandl
6a654814ea
Block 2.6 Tkinter renaming reversal revisions.
...
Blocked revisions 63485-63491 via svnmerge
........
r63485 | georg.brandl | 2008-05-20 08:49:28 +0200 (Tue, 20 May 2008) | 2 lines
Tkinter renaming reversal: Delete all stubs from lib-tk.
........
r63486 | georg.brandl | 2008-05-20 08:58:21 +0200 (Tue, 20 May 2008) | 2 lines
Tkinter renaming reversal: move modules back in their place.
........
r63487 | georg.brandl | 2008-05-20 09:13:37 +0200 (Tue, 20 May 2008) | 2 lines
Tkinter rename reversal: remove tkinter package, adapt imports and docs.
........
r63488 | georg.brandl | 2008-05-20 09:20:12 +0200 (Tue, 20 May 2008) | 2 lines
Add notes that tkinter modules will be renamed.
........
r63489 | georg.brandl | 2008-05-20 09:21:58 +0200 (Tue, 20 May 2008) | 2 lines
Standardize renaming notes.
........
r63490 | georg.brandl | 2008-05-20 09:23:25 +0200 (Tue, 20 May 2008) | 2 lines
Remove rest of the tkinter package.
........
r63491 | georg.brandl | 2008-05-20 09:23:59 +0200 (Tue, 20 May 2008) | 2 lines
Remove debugging line.
........
2008-05-20 07:26:11 +00:00
Fred Drake
42425ed05b
Blocked revisions 63481 via svnmerge
...
........
r63481 | fred.drake | 2008-05-20 02:08:38 -0400 (Tue, 20 May 2008) | 3 lines
revert creation of the html.entities and html.parser modules
(http://bugs.python.org/issue2882 )
........
2008-05-20 06:09:35 +00:00
Neal Norwitz
c1fc34a56c
Remove duplicate check for PyLong_Check(). It was checked above.
2008-05-20 04:39:15 +00:00
Benjamin Peterson
bf6f0aa837
Blocked revisions 63460,63464 via svnmerge
...
........
r63460 | ronald.oussoren | 2008-05-18 15:54:47 -0500 (Sun, 18 May 2008) | 6 lines
- Add unittests for platform.mac_ver (or rather, ensure that the unittest for
that function actually tests something on OSX).
- Add documentation to platform.mac_ver that explains why the middle element
of the return value will not contain useful information.
........
r63464 | benjamin.peterson | 2008-05-18 17:07:42 -0500 (Sun, 18 May 2008) | 2 lines
fix test_platform (os was not imported)
........
I'm blocking this until #2854 can be applied
2008-05-18 23:17:36 +00:00
Georg Brandl
02c0bbbe6d
Ignore test_c_api when checking for set methods. Thanks Brett!
2008-05-18 21:04:46 +00:00
Georg Brandl
192197064b
Better diagnostic.
2008-05-18 17:10:40 +00:00
Georg Brandl
9dba5d9764
Add a test suite for WeakSet mostly derived from test_set and fix some
...
issues in the weakset implementation discovered with it.
2008-05-18 16:27:29 +00:00
Georg Brandl
c4dc0d4000
#2905 : fix merge glitch on OSX.
2008-05-18 11:12:40 +00:00
Georg Brandl
9087b7f83b
Merged revisions 63438 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63438 | georg.brandl | 2008-05-17 23:54:03 +0200 (Sat, 17 May 2008) | 3 lines
Rename html.parser file, and split html.entities from htmllib
to ease removal of the latter in Py3k.
........
2008-05-18 07:53:01 +00:00
Georg Brandl
bf93b0470a
Fix two issues in the weak set implementation.
2008-05-18 07:46:13 +00:00
Georg Brandl
e624d17409
Blocked revisions 63440 via svnmerge
...
........
r63440 | georg.brandl | 2008-05-18 00:11:54 +0200 (Sun, 18 May 2008) | 2 lines
#2353 : raise Py3k warning in file.xreadlines().
........
2008-05-17 22:12:41 +00:00
Fred Drake
3c50ea4303
rename HTMLParser to html.parser and htmlentitydefs to html.entities;
...
includes merge of trunk revision 63432
2008-05-17 22:02:32 +00:00
Fred Drake
9b020c784c
Blocked revisions 63434 via svnmerge
...
........
r63434 | fred.drake | 2008-05-17 17:23:02 -0400 (Sat, 17 May 2008) | 3 lines
document the renames for modules moved to the html package
(http://bugs.python.org/issue2882 )
........
2008-05-17 21:24:20 +00:00
Fred Drake
715ce7f2f7
Blocked revisions 63430 via svnmerge
...
........
r63430 | fred.drake | 2008-05-17 16:30:04 -0400 (Sat, 17 May 2008) | 3 lines
rename HTMLParser to html.parser, htmlentitydefs to html.entities
(http://bugs.python.org/issue2882 )
........
2008-05-17 20:31:58 +00:00
Benjamin Peterson
0085a0714f
Blocked revisions 63428 via svnmerge
...
........
r63428 | benjamin.peterson | 2008-05-17 15:09:42 -0500 (Sat, 17 May 2008) | 2 lines
revert 63425 over Guido's Febuary message about this, that I missed
........
2008-05-17 20:17:46 +00:00
Benjamin Peterson
c4948d826a
Blocked revisions 63425-63426 via svnmerge
...
........
r63425 | benjamin.peterson | 2008-05-17 14:21:20 -0500 (Sat, 17 May 2008) | 2 lines
add Py3k warnings to oct and hex. backport hex behavior (because it's not different)
........
r63426 | benjamin.peterson | 2008-05-17 14:51:10 -0500 (Sat, 17 May 2008) | 2 lines
fix spelling
........
2008-05-17 19:55:33 +00:00
Georg Brandl
6e47a33e49
Tkinter, step 5: remove lib-tk subdirectory and update all places where it was mentioned.
2008-05-17 19:15:58 +00:00
Georg Brandl
2e08136b3c
Tkinter, step 4: merge simple- and filedialog modules.
2008-05-17 19:04:04 +00:00
Georg Brandl
ac6060cc5c
Tkinter, step 3: doc updates.
2008-05-17 18:44:45 +00:00
Georg Brandl
14fc4270da
Tkinter, step 2: adapt imports.
2008-05-17 18:39:55 +00:00
Georg Brandl
3302312383
Tkinter move, part 1: move modules.
2008-05-17 18:28:57 +00:00
Georg Brandl
094c4ffe59
Block Tkinter-rename-related revisions.
...
Blocked revisions 63374,63376,63381-63382,63408-63410,63413-63414 via svnmerge
........
r63374 | georg.brandl | 2008-05-16 16:24:45 +0200 (Fri, 16 May 2008) | 2 lines
Step 1 of Tkinter renaming: move lib-tk modules into a new "tkinter" package.
........
r63376 | georg.brandl | 2008-05-16 17:48:15 +0200 (Fri, 16 May 2008) | 2 lines
Tkinter rename, step 2: fix imports and add stub modules.
........
r63381 | georg.brandl | 2008-05-16 19:37:53 +0200 (Fri, 16 May 2008) | 2 lines
Doc changes for the big Tkinter rename.
........
r63382 | georg.brandl | 2008-05-16 19:40:23 +0200 (Fri, 16 May 2008) | 2 lines
NEWS entry for Tkinter rename.
........
r63408 | georg.brandl | 2008-05-17 17:07:03 +0200 (Sat, 17 May 2008) | 2 lines
Tkinter rename: merge tkSimpleDialog and tkFileDialog into simpledialog and filedialog.
........
r63409 | georg.brandl | 2008-05-17 17:21:58 +0200 (Sat, 17 May 2008) | 2 lines
Tkinter: make stub modules.
........
r63410 | georg.brandl | 2008-05-17 17:30:35 +0200 (Sat, 17 May 2008) | 2 lines
Move imports to file top.
........
r63413 | georg.brandl | 2008-05-17 20:14:43 +0200 (Sat, 17 May 2008) | 2 lines
Rewrap consistently to 70 chars, and standardize the way of referring to issues.
........
r63414 | georg.brandl | 2008-05-17 20:15:24 +0200 (Sat, 17 May 2008) | 2 lines
Really move the imports to the top this time. :)
........
2008-05-17 18:26:04 +00:00
Alexandre Vassalotti
7da1b33c9a
Blocked revisions 63392 via svnmerge
...
........
r63392 | alexandre.vassalotti | 2008-05-16 15:14:31 -0400 (Fri, 16 May 2008) | 2 lines
Added Python 3.0 warning to cPickle.
........
2008-05-16 19:17:34 +00:00
Alexandre Vassalotti
4b006de903
Fixed signature of theThread in test_lock.
...
This was bug introduced by merge r63352.
2008-05-16 18:24:46 +00:00
Alexandre Vassalotti
bee325387b
Merged revisions 63361-63373,63375,63377-63380 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63361 | alexandre.vassalotti | 2008-05-16 03:14:08 -0400 (Fri, 16 May 2008) | 2 lines
Rename the test file of reprlib.
........
r63364 | georg.brandl | 2008-05-16 05:34:48 -0400 (Fri, 16 May 2008) | 2 lines
Make generator repr consistent with function and code object repr.
........
r63365 | georg.brandl | 2008-05-16 05:47:29 -0400 (Fri, 16 May 2008) | 2 lines
#2869 : remove parameter from signature.
........
r63366 | christian.heimes | 2008-05-16 06:23:31 -0400 (Fri, 16 May 2008) | 1 line
Fixed #2870 : cmathmodule.c compile error
........
r63367 | christian.heimes | 2008-05-16 07:28:56 -0400 (Fri, 16 May 2008) | 1 line
Following Amaury's advice
........
r63368 | georg.brandl | 2008-05-16 09:10:15 -0400 (Fri, 16 May 2008) | 2 lines
#2890 : support os.O_ASYNC and fcntl.FASYNC.
........
r63369 | georg.brandl | 2008-05-16 09:18:50 -0400 (Fri, 16 May 2008) | 2 lines
#2845 : fix copy2's docs.
........
r63370 | georg.brandl | 2008-05-16 09:24:29 -0400 (Fri, 16 May 2008) | 2 lines
Don't allow keyword arguments to reversed().
........
r63373 | georg.brandl | 2008-05-16 09:41:26 -0400 (Fri, 16 May 2008) | 2 lines
Document O_ASYNC addition.
........
r63380 | georg.brandl | 2008-05-16 13:33:13 -0400 (Fri, 16 May 2008) | 2 lines
Fix reprlib docs.
........
2008-05-16 18:15:12 +00:00
Georg Brandl
d8b690f7ae
#2895 : don't crash with bytes as keyword argument names.
2008-05-16 17:28:50 +00:00
Georg Brandl
bf82e374ee
More 2to3 fixes in the Tools directory. Fixes #2893 .
2008-05-16 17:02:34 +00:00
Alexandre Vassalotti
acbca71ea7
Rename the repr module file to reprlib.py.
...
I was sure I had done so in r63360. That is weird...
2008-05-16 16:05:36 +00:00
Georg Brandl
8efadf5d66
Ran 2to3 over scripts directory.
2008-05-16 15:23:30 +00:00
Georg Brandl
d11ae5d6ec
Rename enumerate() kw argument name to "iterable" and fix "sequence"->"iterable" in some docstrings.
2008-05-16 13:27:32 +00:00
Alexandre Vassalotti
1f2ba4b6da
Rename the repr module to reprlib.
...
Merged revisions 63357 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63357 | alexandre.vassalotti | 2008-05-16 02:58:49 -0400 (Fri, 16 May 2008) | 2 lines
Changed references to the reprlib module to use its new name.
........
2008-05-16 07:12:44 +00:00
Alexandre Vassalotti
cdc11337a2
Blocked revisions 63358 via svnmerge
...
........
r63358 | alexandre.vassalotti | 2008-05-16 03:00:58 -0400 (Fri, 16 May 2008) | 2 lines
Updated reprlib's documentation to mention the renaming.
........
2008-05-16 07:01:44 +00:00
Alexandre Vassalotti
41c417ed81
Blocked revisions 63354 via svnmerge
...
........
r63354 | alexandre.vassalotti | 2008-05-16 02:37:57 -0400 (Fri, 16 May 2008) | 3 lines
Renamed the repr module to reprlib.
Added stub module for repr.
........
2008-05-16 06:38:58 +00:00