Commit Graph

36388 Commits

Author SHA1 Message Date
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
Alexandre Vassalotti
e9f305fd16 Merged revisions 63208-63209,63211-63212,63214-63217,63219-63224,63226-63227,63229-63232,63234-63235,63237-63239,63241,63243-63246,63250-63254,63256-63259,63261,63263-63264,63266-63267,63269-63270,63272-63273,63275-63276,63278,63280-63281,63283-63284,63286-63287,63289-63290,63292-63293,63295-63296,63298-63299,63301-63302,63304-63305,63307,63309-63314,63316-63322,63324-63325,63327-63335,63337-63338,63340-63342,63344-63346,63348 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63208 | georg.brandl | 2008-05-13 15:04:54 -0400 (Tue, 13 May 2008) | 2 lines

  #2831: add start argument to enumerate(). Patch by Scott Dial and me.
........
  r63209 | marc-andre.lemburg | 2008-05-13 15:10:45 -0400 (Tue, 13 May 2008) | 3 lines

  Remove leftovers from reverted setuptools checkin (they were added in r45525).
........
  r63211 | georg.brandl | 2008-05-13 17:32:03 -0400 (Tue, 13 May 2008) | 2 lines

  Fix a refleak in the _warnings module.
........
  r63212 | andrew.kuchling | 2008-05-13 20:46:41 -0400 (Tue, 13 May 2008) | 1 line

  List all the removes and renamed modules
........
  r63214 | brett.cannon | 2008-05-13 21:09:40 -0400 (Tue, 13 May 2008) | 2 lines

  Rewrap some lines in test_py3kwarn.
........
  r63219 | georg.brandl | 2008-05-14 02:34:15 -0400 (Wed, 14 May 2008) | 2 lines

  Add NEWS entry for #2831.
........
  r63220 | neal.norwitz | 2008-05-14 02:47:56 -0400 (Wed, 14 May 2008) | 3 lines

  Fix "refleak" by restoring the tearDown method removed by accident (AFAICT)
  in r62788.
........
  r63221 | georg.brandl | 2008-05-14 03:18:22 -0400 (Wed, 14 May 2008) | 2 lines

  Fix another "refleak" by clearing the filters after test.
........
  r63222 | neal.norwitz | 2008-05-14 03:21:42 -0400 (Wed, 14 May 2008) | 5 lines

  Install the json package and tests as well as the lib2to3 tests
  so the tests work when run from an install directory.
  They are currently skipped on the daily runs (not from the buildbots)
  for checking refleaks, etc.
........
  r63256 | andrew.kuchling | 2008-05-14 21:10:24 -0400 (Wed, 14 May 2008) | 1 line

  Note some removals and a rename
........
  r63311 | brett.cannon | 2008-05-15 00:36:53 -0400 (Thu, 15 May 2008) | 2 lines

  Add a snippet for the deprecation directive for docs.
........
  r63313 | gregory.p.smith | 2008-05-15 00:56:18 -0400 (Thu, 15 May 2008) | 5 lines

  disable the crashing test.  I will also file a bug.  This crash does
  not appear to be a new bug, its just that the test coverage went up
  recently exposing it.  (I verified that by testing this test code on
  an older Modules/_bsddb.c)
........
  r63320 | georg.brandl | 2008-05-15 11:08:32 -0400 (Thu, 15 May 2008) | 2 lines

  #2863: add gen.__name__ and add this name to generator repr().
........
  r63324 | andrew.kuchling | 2008-05-15 16:07:39 -0400 (Thu, 15 May 2008) | 1 line

  Import class from distutils.cmd, not .core, to avoid circular import
........
  r63327 | alexandre.vassalotti | 2008-05-15 16:31:42 -0400 (Thu, 15 May 2008) | 2 lines

  Fixed typo in a doctest of test_genexps.
........
  r63332 | benjamin.peterson | 2008-05-15 18:34:33 -0400 (Thu, 15 May 2008) | 2 lines

  add Mac modules to the list of deprecated ones
........
  r63333 | benjamin.peterson | 2008-05-15 18:41:16 -0400 (Thu, 15 May 2008) | 2 lines

  fix typos in whatsnew
........
  r63348 | benjamin.peterson | 2008-05-15 22:24:49 -0400 (Thu, 15 May 2008) | 2 lines

  make test_platform a bit more assertive (We'll see what the buildbots say.)
........
2008-05-16 04:39:54 +00:00