Commit Graph

37506 Commits

Author SHA1 Message Date
Benjamin Peterson 5478b47355 Merged revisions 66457-66459,66465-66468,66483-66485,66487-66491 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66457 | antoine.pitrou | 2008-09-13 15:30:30 -0500 (Sat, 13 Sep 2008) | 5 lines

  Issue #3850: Misc/find_recursionlimit.py was broken.

  Reviewed by A.M. Kuchling.
........
  r66458 | benjamin.peterson | 2008-09-13 17:54:43 -0500 (Sat, 13 Sep 2008) | 1 line

  fix a name issue; note all doc files should be encoded in utf8
........
  r66459 | benjamin.peterson | 2008-09-14 11:02:22 -0500 (Sun, 14 Sep 2008) | 1 line

  clarify that radix for int is not 'guessed'
........
  r66465 | skip.montanaro | 2008-09-14 21:03:05 -0500 (Sun, 14 Sep 2008) | 3 lines

  Review usage.  Fix a mistake in the new-style class definition.  Add a
  couple new definitions (CPython and virtual machine).
........
  r66466 | skip.montanaro | 2008-09-14 21:19:53 -0500 (Sun, 14 Sep 2008) | 2 lines

  Pick up a few more definitions from the glossary on the wiki.
........
  r66467 | benjamin.peterson | 2008-09-14 21:53:23 -0500 (Sun, 14 Sep 2008) | 1 line

  mention that object.__init__ no longer takes arbitrary args and kwargs
........
  r66468 | andrew.kuchling | 2008-09-15 08:08:32 -0500 (Mon, 15 Sep 2008) | 1 line

  Rewrite item a bit
........
  r66483 | georg.brandl | 2008-09-16 05:17:45 -0500 (Tue, 16 Sep 2008) | 2 lines

  Fix typo.
........
  r66484 | benjamin.peterson | 2008-09-16 16:20:28 -0500 (Tue, 16 Sep 2008) | 2 lines

  be less wordy
........
  r66485 | georg.brandl | 2008-09-17 03:45:54 -0500 (Wed, 17 Sep 2008) | 2 lines

  #3888: add some deprecated modules in whatsnew.
........
  r66487 | skip.montanaro | 2008-09-17 06:50:36 -0500 (Wed, 17 Sep 2008) | 2 lines

  usage
........
  r66488 | andrew.kuchling | 2008-09-17 07:57:04 -0500 (Wed, 17 Sep 2008) | 1 line

  Markup fixes
........
  r66489 | andrew.kuchling | 2008-09-17 07:58:22 -0500 (Wed, 17 Sep 2008) | 2 lines

  Remove comment about improvement: pystone is about the same, and
  the improvements seem to be difficult to quantify
........
  r66490 | andrew.kuchling | 2008-09-17 08:04:53 -0500 (Wed, 17 Sep 2008) | 1 line

  Note sqlite3 version; move item
........
  r66491 | benjamin.peterson | 2008-09-17 16:54:56 -0500 (Wed, 17 Sep 2008) | 1 line

  document compileall command flags
........
2008-09-17 22:25:09 +00:00
Robert Schuppenies 357877c8f1 Issue #3859: Fixed test_sys.Sizeof failure on win64.
Reviewed by Benjamin Peterson.
2008-09-16 07:21:01 +00:00
Benjamin Peterson 9d0ced3689 add documentation for the new buffer interface based on PEP 3118; I hope it's at least 60% right... 2008-09-16 02:24:31 +00:00
Benjamin Peterson 74423693fb forgot to commit properties for last merge 2008-09-16 00:18:04 +00:00
Benjamin Peterson 2beb413784 Merged revisions 66473 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r66473 | benjamin.peterson | 2008-09-15 18:55:01 -0500 (Mon, 15 Sep 2008) | 9 lines

  Merged revisions 66470 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r66470 | benjamin.peterson | 2008-09-15 18:29:43 -0500 (Mon, 15 Sep 2008) | 1 line

    don't use os.linesep for newlines; it breaks tests on windows
  ........
................
2008-09-16 00:11:26 +00:00
Antoine Pitrou d62269f920 Fix Windows buildbot failures after r66469. 2008-09-15 23:54:52 +00:00
Antoine Pitrou 9cadb1b6e0 Issue #3782: os.write() must not accept unicode strings 2008-09-15 23:02:56 +00:00
Martin v. Löwis 4e80cdd739 Merged revisions 66463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66463 | martin.v.loewis | 2008-09-15 03:30:21 +0200 (Mo, 15 Sep 2008) | 2 lines

  Fix grammar.
........
2008-09-15 01:31:40 +00:00
Martin v. Löwis b29f2d7101 Merged revisions 66460-66461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66460 | martin.v.loewis | 2008-09-14 22:22:39 +0200 (So, 14 Sep 2008) | 1 line

  Issue #3617: Include a licensing statement regarding the Microsoft C runtime in the Windows installer.
........
  r66461 | martin.v.loewis | 2008-09-14 22:25:40 +0200 (So, 14 Sep 2008) | 1 line

  Set eol-style to native.
........
2008-09-14 20:27:52 +00:00
Benjamin Peterson 3a2fb1444a Merged revisions 66453 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r66453 | benjamin.peterson | 2008-09-13 12:43:19 -0500 (Sat, 13 Sep 2008) | 24 lines

  Merged revisions 66191,66418,66438,66445 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r66191 | benjamin.peterson | 2008-09-03 17:00:52 -0500 (Wed, 03 Sep 2008) | 1 line

    update the Grammar file after recent syntax changes
  ........
    r66418 | benjamin.peterson | 2008-09-12 18:49:48 -0500 (Fri, 12 Sep 2008) | 1 line

    a trival fix to get a few more print corner cases #2899
  ........
    r66438 | benjamin.peterson | 2008-09-12 21:32:30 -0500 (Fri, 12 Sep 2008) | 5 lines

    add Jack Diederich's fixer for metaclass syntax #2366

    my contribution to this was adding a few tests and fixing a few bugs
    I also reviewed it (Jack is a committer)
  ........
    r66445 | benjamin.peterson | 2008-09-13 10:50:00 -0500 (Sat, 13 Sep 2008) | 1 line

    add a few more tests concerning int literals and weird spacing
  ........
................
2008-09-13 18:37:09 +00:00
Georg Brandl c575c90647 Merged revisions 66452 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66452 | georg.brandl | 2008-09-13 19:41:16 +0200 (Sat, 13 Sep 2008) | 2 lines

  Remove things specific to the old Macintosh, and spell "Mac OS X" consistently.
........
2008-09-13 17:46:05 +00:00
Benjamin Peterson a6fc212d2a Blocked revisions 66450 via svnmerge
........
  r66450 | benjamin.peterson | 2008-09-13 12:31:08 -0500 (Sat, 13 Sep 2008) | 1 line

  remove duplicate target
........
2008-09-13 17:32:55 +00:00
Georg Brandl d4c3a67243 Blocked revisions 66447 via svnmerge
........
  r66447 | georg.brandl | 2008-09-13 19:18:11 +0200 (Sat, 13 Sep 2008) | 2 lines

  Incorporate some suggestions by Tait Stevens.
........
2008-09-13 17:20:09 +00:00
Georg Brandl 5d955ed13e Forward-port of r66447. 2008-09-13 17:18:21 +00:00
Benjamin Peterson d7b032841a Merged revisions 66394,66404,66412,66414,66424-66436 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66394 | benjamin.peterson | 2008-09-11 17:04:02 -0500 (Thu, 11 Sep 2008) | 1 line

  fix typo
........
  r66404 | gerhard.haering | 2008-09-12 08:54:06 -0500 (Fri, 12 Sep 2008) | 2 lines

  sqlite3 module: Mark iterdump() method as "Non-standard" like all the other methods not found in DB-API.
........
  r66412 | gerhard.haering | 2008-09-12 13:58:57 -0500 (Fri, 12 Sep 2008) | 2 lines

  Fixes issue #3103. In the sqlite3 module, made one more function static. All renaming public symbos now have the pysqlite prefix to avoid name clashes. This at least once created problems where the same symbol name appeared somewhere in Apache and the sqlite3 module was used from mod_python.
........
  r66414 | gerhard.haering | 2008-09-12 17:33:22 -0500 (Fri, 12 Sep 2008) | 2 lines

  Issue #3846: Release GIL during calls to sqlite3_prepare. This improves concurrent access to the same database file from multiple threads/processes.
........
  r66424 | andrew.kuchling | 2008-09-12 20:22:08 -0500 (Fri, 12 Sep 2008) | 1 line

  #687648 from Robert Schuppenies: use classic division.  (RM Barry gave permission to update the demos.)
........
  r66425 | andrew.kuchling | 2008-09-12 20:27:33 -0500 (Fri, 12 Sep 2008) | 1 line

  #687648 from Robert Schuppenies: use classic division.  From me: don't use string exception; flush stdout after printing
........
  r66426 | andrew.kuchling | 2008-09-12 20:34:41 -0500 (Fri, 12 Sep 2008) | 1 line

  #687648 from Robert Schuppenies: use classic division.  From me: don't use string exception; add __main__ section
........
  r66427 | andrew.kuchling | 2008-09-12 20:42:55 -0500 (Fri, 12 Sep 2008) | 1 line

  #687648 from Robert Schuppenies: use classic division.  From me: remove two stray semicolons
........
  r66428 | andrew.kuchling | 2008-09-12 20:43:28 -0500 (Fri, 12 Sep 2008) | 1 line

  #687648 from Robert Schuppenies: use classic division.
........
  r66429 | andrew.kuchling | 2008-09-12 20:47:02 -0500 (Fri, 12 Sep 2008) | 1 line

  Remove semicolon
........
  r66430 | andrew.kuchling | 2008-09-12 20:48:36 -0500 (Fri, 12 Sep 2008) | 1 line

  Subclass exception
........
  r66431 | andrew.kuchling | 2008-09-12 20:56:56 -0500 (Fri, 12 Sep 2008) | 1 line

  Fix SyntaxError
........
  r66432 | andrew.kuchling | 2008-09-12 20:57:25 -0500 (Fri, 12 Sep 2008) | 1 line

  Update uses of string exceptions
........
  r66433 | andrew.kuchling | 2008-09-12 21:08:30 -0500 (Fri, 12 Sep 2008) | 1 line

  Use title case
........
  r66434 | andrew.kuchling | 2008-09-12 21:09:15 -0500 (Fri, 12 Sep 2008) | 1 line

  Remove extra 'the'; the following title includes it
........
  r66435 | andrew.kuchling | 2008-09-12 21:11:51 -0500 (Fri, 12 Sep 2008) | 1 line

  #3288: Document as_integer_ratio
........
  r66436 | andrew.kuchling | 2008-09-12 21:14:15 -0500 (Fri, 12 Sep 2008) | 1 line

  Use title case
........
2008-09-13 15:58:53 +00:00
Martin v. Löwis e40a21376a Merged revisions 66441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66441 | martin.v.loewis | 2008-09-13 10:36:22 +0200 (Sa, 13 Sep 2008) | 1 line

  Change product code of Win64 installer to allow simultaneous installation on Win32 and Win64; also change product name to be able to distinguish the two in ARP.
........
2008-09-13 08:37:17 +00:00
Martin v. Löwis f27f8a139d Merged revisions 66439 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66439 | martin.v.loewis | 2008-09-13 10:11:57 +0200 (Sa, 13 Sep 2008) | 1 line

  Issue #3833: Use a different upgrade code for Win64 installers.
........
2008-09-13 08:14:01 +00:00
Benjamin Peterson 4ab674a90d Blocked revisions 66415-66416,66422 via svnmerge
........
  r66415 | barry.warsaw | 2008-09-12 18:25:57 -0500 (Fri, 12 Sep 2008) | 1 line

  Bumping to 2.6rc1
........
  r66416 | barry.warsaw | 2008-09-12 18:35:48 -0500 (Fri, 12 Sep 2008) | 1 line

  Fix the release level
........
  r66422 | barry.warsaw | 2008-09-12 20:12:18 -0500 (Fri, 12 Sep 2008) | 1 line

  post release updates
........
2008-09-13 02:14:49 +00:00
Amaury Forgeot d'Arc 7d56012956 Blocked revisions 66390 via svnmerge
........
  r66390 | amaury.forgeotdarc | 2008-09-11 22:56:13 +0200 (jeu., 11 sept. 2008) | 4 lines

  #3640: Correct a crash in cPickle on 64bit platforms, in the case of deeply nested lists or dicts.

  Reviewed by Martin von Loewis.
........
2008-09-11 21:06:24 +00:00
Benjamin Peterson c0a40ab623 make lib2to3/main.py syntax py3k valid 2008-09-11 21:05:25 +00:00
Amaury Forgeot d'Arc fb1a5eb101 #3640: Correct a crash in cPickle on 64bit platforms, in the case of deeply nested lists or dicts.
Reviewed by Martin von Loewis.
2008-09-11 21:03:37 +00:00
Nick Coghlan 06974bb1cc Blocked revisions 66386 via svnmerge (needs some fiddling to make it work in 3.0, will add a new patch to the tracker instead of merging)
........
  r66386 | nick.coghlan | 2008-09-11 22:11:06 +1000 (Thu, 11 Sep 2008) | 1 line

  Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
........
2008-09-11 13:59:53 +00:00
Martin v. Löwis 5aca882cc6 Merged revisions 66383 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66383 | martin.v.loewis | 2008-09-11 08:53:30 +0200 (Do, 11 Sep 2008) | 3 lines

  Issue #3642: Suppress warning in obmalloc when size_t is
  larger than uint. Reverts r65975. Reviewed by Brett Cannon.
........
2008-09-11 06:55:48 +00:00
Amaury Forgeot d'Arc 51bff5da8a Correct a test_ctypes failure, caused by the removal of memoryview.size. 2008-09-11 00:26:17 +00:00
Amaury Forgeot d'Arc a083f1eb5f The Unicode database was updated to 5.1, and some characters have become printable.
Change the tests and use another code point.
2008-09-10 23:51:42 +00:00
Benjamin Peterson 75080dab8d Merged revisions 66379 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66379 | benjamin.peterson | 2008-09-10 17:28:00 -0500 (Wed, 10 Sep 2008) | 1 line

  update asdl_c.py from r66377
........
2008-09-10 22:37:34 +00:00
Amaury Forgeot d'Arc 245c70b12c Merged revisions 66377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66377 | amaury.forgeotdarc | 2008-09-11 00:04:45 +0200 (jeu., 11 sept. 2008) | 8 lines

  #3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for
  PyString_FromFormat which has an independent implementation, and uses "%zd".

  This makes a difference on win64, where printf needs "%Id" to display
  64bit values. For example, queue.__repr__ was incorrect.

  Reviewed by Martin von Loewis.
........
2008-09-10 22:24:24 +00:00
Benjamin Peterson 9aa4299882 Merged revisions 66337,66347,66350,66352,66358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66337 | vinay.sajip | 2008-09-09 08:42:08 -0500 (Tue, 09 Sep 2008) | 1 line

  Issue #3809: Fixed spurious 'test.blah' file left behind by test_logging.
........
  r66347 | georg.brandl | 2008-09-09 14:26:00 -0500 (Tue, 09 Sep 2008) | 2 lines

  Fix varname in docstring. #3822.
........
  r66350 | georg.brandl | 2008-09-09 15:28:31 -0500 (Tue, 09 Sep 2008) | 2 lines

  #3472: update Mac-bundled Python version info.
........
  r66352 | benjamin.peterson | 2008-09-09 15:55:01 -0500 (Tue, 09 Sep 2008) | 4 lines

  Fix #3634 invalid return value from _weakref.ref(Exception).__init__

  Reviewers: Amaury, Antoine, Benjamin
........
  r66358 | benjamin.peterson | 2008-09-09 18:16:48 -0500 (Tue, 09 Sep 2008) | 1 line

  use the latest pygments version
........
2008-09-10 21:57:34 +00:00
Benjamin Peterson 5e19e44413 kill memoryview.size in favor of len(view)
Reviewer: Antoine Pitrou #3827
2008-09-10 21:47:03 +00:00
Benjamin Peterson 2409dc79d2 make use of shorter attribute access 2008-09-10 21:38:31 +00:00
Benjamin Peterson 0c80465119 endow memoryview.tolist() with docs 2008-09-10 21:31:58 +00:00
Martin v. Löwis bb417dcc49 Merged revisions 66369 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66369 | martin.v.loewis | 2008-09-10 21:16:35 +0200 (Mi, 10 Sep 2008) | 4 lines

  Read unidata_version from unicodedata module.
  Delete old NormalizationTest.txt if it doesn't match
  unidata_version.
........
2008-09-10 21:15:32 +00:00
Benjamin Peterson 6dfcb02287 fix sphinx warning 2008-09-10 21:02:02 +00:00
Martin v. Löwis 997a6b032a Merged revisions 66367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66367 | martin.v.loewis | 2008-09-10 20:43:49 +0200 (Mi, 10 Sep 2008) | 2 lines

  Update to test Unicode 5.1.
........
2008-09-10 18:54:20 +00:00
Guido van Rossum 698280df7c Issue #3756: make re.escape() handle bytes as well as str.
Patch by Andrew McNamara, reviewed and tweaked by myself.
2008-09-10 17:44:35 +00:00
Guido van Rossum 92f8f3e013 Merged revisions 66364 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66364 | guido.van.rossum | 2008-09-10 07:27:00 -0700 (Wed, 10 Sep 2008) | 3 lines

  Issue #3629: Fix sre "bytecode" validator for an end case.
  Reviewed by Amaury.
........
2008-09-10 14:30:50 +00:00
Martin v. Löwis 93cbca33f2 Merged revisions 66362 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66362 | martin.v.loewis | 2008-09-10 15:38:12 +0200 (Mi, 10 Sep 2008) | 3 lines

  Issue #3811: The Unicode database was updated to 5.1.
  Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
........
2008-09-10 14:08:48 +00:00
Georg Brandl 1009d39187 Some typos. 2008-09-10 07:14:18 +00:00
Benjamin Peterson 1b25b9284f document the memoryview object a little 2008-09-09 22:15:27 +00:00
Benjamin Peterson 3e84de05e0 Blocked revisions 66181 via svnmerge
........
  r66181 | marc-andre.lemburg | 2008-09-03 06:13:56 -0500 (Wed, 03 Sep 2008) | 4 lines

  Issue #2562: Fix distutils PKG-INFO writing logic to allow having
  non-ascii characters and Unicode in setup.py meta-data.
........
2008-09-09 20:49:48 +00:00
Georg Brandl 9609cea044 #3803: fix docs for comparison of unequal types. 2008-09-09 19:31:57 +00:00
Georg Brandl 7cd67cc992 Fix formatter usage of filter(). Bug #3800. 2008-09-09 19:31:25 +00:00
Georg Brandl 617027fba4 Update Pygments version used. 2008-09-09 19:14:12 +00:00
Georg Brandl 64063706aa Highlight snippets as Python 3. 2008-09-09 19:10:58 +00:00
Hirokazu Yamamoto 54a1cc68a1 Issue #3812: Failed to build python if configure --without-threads.
Removed itertools usage from Lib/traceback.py, because itertools
is extension module, so maybe unavailable on build process.
(Lib/_dummy_thread.py uses Lib/traceback.py)

Reviewed by Amaury Forgeot d'Arc.
2008-09-09 17:55:11 +00:00
Hirokazu Yamamoto 167b12b71c Added News for r66338 2008-09-09 14:01:25 +00:00
Hirokazu Yamamoto f8247796b1 Issue #3813: cannot lanch python.exe via symbolic link on cygwin.
readlink(2) can return non-null-terminated string.
Reviewed by Amaury Forgeot d'Arc.
2008-09-09 13:56:11 +00:00
Hirokazu Yamamoto 29d95eb6f2 Blocked revisions 66316,66319 via svnmerge
........
  r66316 | hirokazu.yamamoto | 2008-09-09 08:03:47 +0900 | 2 lines

  Issue #3804: Added test for Issue #2222.
  Reviewed by Benjamin Peterson.
........
  r66319 | hirokazu.yamamoto | 2008-09-09 08:38:42 +0900 | 2 lines

  Issue #3806: LockTests in test_imp should be skipped when thread is not available.
  Reviewed by Benjamin Peterson.
........
2008-09-09 07:50:07 +00:00
Amaury Forgeot d'Arc 016625db40 Blocked revisions 66332 via svnmerge
........
  r66332 | amaury.forgeotdarc | 2008-09-09 09:24:30 +0200 (mar., 09 sept. 2008) | 6 lines

  #3777: long(4.2) returned an int, and broke backward compatibility.
  the __long__ slot is allowed to return either int or long, but the behaviour of
  float objects should not change between 2.5 and 2.6.

  Reviewed by Benjamin Peterson
........
2008-09-09 07:39:41 +00:00
Hirokazu Yamamoto 36144098e3 Issue #3806: LockTests in test_imp should be skipped when thread is not available.
Reviewed by Benjamin Peterson.
2008-09-09 07:33:27 +00:00