Commit Graph

3321 Commits

Author SHA1 Message Date
Mark Dickinson 8d15643a4b Merged revisions 74078 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

........
  r74078 | mark.dickinson | 2009-07-18 15:41:42 +0100 (Sat, 18 Jul 2009) | 5 lines

  Issue #6431: Fix Fraction comparisons to return NotImplemented when
  the Fraction type doesn't know how to handle the comparison without
  loss of accuracy.  Also, make sure that comparisons between Fractions
  and float infinities or nans do the right thing.
........
2009-07-18 14:43:10 +00:00
Hirokazu Yamamoto 680ac292ac Merged revisions 74046 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74046 | hirokazu.yamamoto | 2009-07-17 15:55:42 +0900 | 13 lines

  Merged revisions 74040,74042 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74040 | hirokazu.yamamoto | 2009-07-17 15:20:46 +0900 | 1 line

    Issue #6415: Fixed warnings.warn sagfault on bad formatted string.
  ........
    r74042 | hirokazu.yamamoto | 2009-07-17 15:26:54 +0900 | 1 line

    NEWS about r74040.
  ........
................
2009-07-17 07:02:18 +00:00
Tarek Ziadé 41fe28220b Merged revisions 73975 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73975 | tarek.ziade | 2009-07-12 10:27:26 +0200 (Sun, 12 Jul 2009) | 1 line

  Fixed #6438: distutils.cygwinccompiler.get_versions was trying to use a re string pattern on a bytes
........
2009-07-12 08:39:08 +00:00
Tarek Ziadé 24448fa86e Merged revisions 73948 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73948 | tarek.ziade | 2009-07-11 12:59:56 +0200 (Sat, 11 Jul 2009) | 9 lines

  Merged revisions 73946 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73946 | tarek.ziade | 2009-07-11 12:55:27 +0200 (Sat, 11 Jul 2009) | 1 line

    fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'
  ........
................
2009-07-11 11:01:14 +00:00
Amaury Forgeot d'Arc 041b3baf53 Merged revisions 73934 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73934 | amaury.forgeotdarc | 2009-07-11 11:35:13 +0200 (sam., 11 juil. 2009) | 3 lines

  #6358: Merge r73933: Add basic tests for the return value of os.popen().close().
  And fix the implementation to make these tests pass with py3k
........
2009-07-11 09:37:09 +00:00
Tarek Ziadé 7e6460098a Merged revisions 73923 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73923 | tarek.ziade | 2009-07-10 11:14:31 +0200 (Fri, 10 Jul 2009) | 9 lines

  Merged revisions 73921 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73921 | tarek.ziade | 2009-07-10 11:10:33 +0200 (Fri, 10 Jul 2009) | 1 line

    Fixed #6455 (the test shall use pyd files under win32, rather than so files)
  ........
................
2009-07-10 09:16:07 +00:00
Amaury Forgeot d'Arc d31d4f2cc4 Merged revisions 73918-73919 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73918 | amaury.forgeotdarc | 2009-07-10 01:00:40 +0200 (ven., 10 juil. 2009) | 9 lines

  #6323: pdb doesn't deal well with SyntaxErrors.

  It seems necessary to keep two layers of 'exec' (one in Bdb.run, one in Pdb._runscript);
  this allows the tracing function to be active when the inner 'exec' runs
  and tries to compile the real code.

  This partially revert r58127, the net effet of the two changes is to replace
  "exec('%s')" with "exec(%r)".
........
  r73919 | amaury.forgeotdarc | 2009-07-10 01:07:52 +0200 (ven., 10 juil. 2009) | 2 lines

  NEWS entry for r73918.
........
2009-07-09 23:20:02 +00:00
Amaury Forgeot d'Arc 79fa5ab7b0 Merged revisions 73868 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73868 | amaury.forgeotdarc | 2009-07-07 02:43:08 +0200 (mar., 07 juil. 2009) | 3 lines

  #6428: py3k requires that __bool__ return a bool (and not an int)
  Fix the error message and the documentation.
........
2009-07-07 00:45:43 +00:00
Tarek Ziadé 35c88a8f38 Merged revisions 73828 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73828 | tarek.ziade | 2009-07-04 04:04:21 +0200 (Sat, 04 Jul 2009) | 9 lines

  Merged revisions 73827 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73827 | tarek.ziade | 2009-07-04 04:02:41 +0200 (Sat, 04 Jul 2009) | 1 line

    Fixed #6413: fixed log level in distutils.dist.announce
  ........
................
2009-07-04 02:05:51 +00:00
Benjamin Peterson b166ffdc3a Merged revisions 73809 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73809 | benjamin.peterson | 2009-07-03 08:30:25 -0500 (Fri, 03 Jul 2009) | 1 line

  remove duplicate declartions #6405
........
2009-07-03 13:33:17 +00:00
Tarek Ziadé 385029fda0 Merged revisions 73792 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73792 | tarek.ziade | 2009-07-03 10:33:28 +0200 (Fri, 03 Jul 2009) | 9 lines

  Merged revisions 73790 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73790 | tarek.ziade | 2009-07-03 10:22:56 +0200 (Fri, 03 Jul 2009) | 1 line

    Fixed #6403 : package path usage for build_ext
  ........
................
2009-07-03 08:37:27 +00:00
Amaury Forgeot d'Arc 7e07724309 Merged revisions 73788 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73788 | amaury.forgeotdarc | 2009-07-03 01:08:45 +0200 (ven., 03 juil. 2009) | 6 lines

  #4601: 'make install' did not set the permissions on library directories,
  only root could start IDLE for example.

  Beware that os.path.walk does not translate as is to os.walk!
  the former uses a callback to call on each dir, the latter is a generator...
........
2009-07-02 23:57:11 +00:00
Benjamin Peterson e39d5d5f81 Merged revisions 73782-73784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73782 | benjamin.peterson | 2009-07-02 16:44:01 -0500 (Thu, 02 Jul 2009) | 1 line

  the old CO_FUTURE flags can't be commented out
................
  r73783 | benjamin.peterson | 2009-07-02 16:54:36 -0500 (Thu, 02 Jul 2009) | 1 line

  a little more fiddling to make flags like 2.x
................
  r73784 | benjamin.peterson | 2009-07-02 16:55:39 -0500 (Thu, 02 Jul 2009) | 9 lines

  Merged revisions 73781 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73781 | benjamin.peterson | 2009-07-02 16:38:36 -0500 (Thu, 02 Jul 2009) | 1 line

    test that compile() accepts the future flag
  ........
................
2009-07-02 22:02:15 +00:00
Antoine Pitrou 53f4ed7da5 Merged revisions 73747 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73747 | antoine.pitrou | 2009-07-01 16:53:06 +0200 (mer., 01 juil. 2009) | 3 lines

  Issue #6369: Fix an RLE decompression bug in the binhex module.
........
2009-07-01 15:03:38 +00:00
Amaury Forgeot d'Arc 41a28734b4 Merged revisions 73724 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73724 | amaury.forgeotdarc | 2009-07-01 02:48:39 +0200 (mer., 01 juil. 2009) | 2 lines

  Fix exception name in NEWS, spotted by Neal Norwitz
........
2009-07-01 00:50:34 +00:00
Mark Dickinson 8c1e29488d Merged revisions 73702 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r73702 | mark.dickinson | 2009-06-30 16:45:17 +0100 (Tue, 30 Jun 2009) | 10 lines

  Merged revisions 73701 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73701 | mark.dickinson | 2009-06-30 16:32:30 +0100 (Tue, 30 Jun 2009) | 3 lines

    Issue #6347:  Add inttypes.h to the pyport.h #includes;  fixes a build
    failure on HP-UX 11.00.
  ........
................
2009-06-30 15:46:37 +00:00
Amaury Forgeot d'Arc e5344d6c45 Merged revisions 73698 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r73698 | amaury.forgeotdarc | 2009-06-30 00:36:49 +0200 (mar., 30 juin 2009) | 7 lines

  #6373: SystemError in str.encode('latin1', 'surrogateescape')
  if the string contains unpaired surrogates.
  (In debug build, crash in assert())

  This can happen with normal processing, if python starts with utf-8,
  then calls sys.setfilesystemencoding('latin-1')
........
2009-06-29 22:38:54 +00:00
Tarek Ziadé 2c3de40971 Merged revisions 73689 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73689 | tarek.ziade | 2009-06-29 18:19:22 +0200 (Mon, 29 Jun 2009) | 9 lines

  Merged revisions 73688 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73688 | tarek.ziade | 2009-06-29 18:13:39 +0200 (Mon, 29 Jun 2009) | 1 line

    Fixed 6365: wrong inplace location for build_ext if the extension had dots
  ........
................
2009-06-29 16:46:14 +00:00
Hirokazu Yamamoto 4e82f2df3d Merged revisions 73684 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73684 | hirokazu.yamamoto | 2009-06-29 23:54:12 +0900 | 14 lines

  Merged revisions 73677,73681 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73677 | hirokazu.yamamoto | 2009-06-29 22:25:16 +0900 | 2 lines

    Issue #6344: Fixed a crash of mmap.read() when passed a negative argument.
    Reviewed by Amaury Forgeot d'Arc.
  ........
    r73681 | hirokazu.yamamoto | 2009-06-29 23:29:31 +0900 | 1 line

    Fixed NEWS.
  ........
................
2009-06-29 15:02:36 +00:00
Benjamin Peterson d76c8da098 Merged revisions 73623-73624 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73623 | benjamin.peterson | 2009-06-28 12:22:03 -0500 (Sun, 28 Jun 2009) | 58 lines

  Merged revisions 73004,73439,73496,73509,73529,73564,73576-73577,73595-73596,73605 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73004 | jeffrey.yasskin | 2009-05-28 22:44:31 -0500 (Thu, 28 May 2009) | 5 lines

    Fix nearly all compilation warnings under Apple gcc-4.0.  Tested with OPT="-g
    -Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without.
    There's still a batch of non-prototype warnings in Xlib.h that I don't know how
    to fix.
  ........
    r73439 | benjamin.peterson | 2009-06-15 19:29:31 -0500 (Mon, 15 Jun 2009) | 1 line

    don't mask encoding errors when decoding a string #6289
  ........
    r73496 | vinay.sajip | 2009-06-21 12:37:27 -0500 (Sun, 21 Jun 2009) | 1 line

    Issue #6314: logging.basicConfig() performs extra checks on the "level" argument.
  ........
    r73509 | amaury.forgeotdarc | 2009-06-22 14:33:48 -0500 (Mon, 22 Jun 2009) | 2 lines

    #4490 Fix sample code run by "python -m xml.sax.xmlreader"
  ........
    r73529 | r.david.murray | 2009-06-23 13:02:46 -0500 (Tue, 23 Jun 2009) | 4 lines

    Fix issue 5230 by having pydoc's safeimport check to see if the import
    error was thrown from itself in order to decide if the module can't be
    found.  Thanks to Lucas Prado Melo for collaborating on the fix and tests.
  ........
    r73564 | amaury.forgeotdarc | 2009-06-25 17:29:29 -0500 (Thu, 25 Jun 2009) | 6 lines

    #2016 Fix a crash in function call when the **kwargs dictionary is mutated
    during the function call setup.

    This even gives a slight speedup, probably because tuple allocation
    is faster than PyMem_NEW.
  ........
    r73576 | benjamin.peterson | 2009-06-26 18:37:06 -0500 (Fri, 26 Jun 2009) | 1 line

    document is_declared_global()
  ........
    r73577 | benjamin.peterson | 2009-06-27 09:16:23 -0500 (Sat, 27 Jun 2009) | 1 line

    link to extensive generator docs in the reference manual
  ........
    r73595 | ezio.melotti | 2009-06-27 18:45:39 -0500 (Sat, 27 Jun 2009) | 1 line

    stmt and setup can contain multiple statements, see #5896
  ........
    r73596 | ezio.melotti | 2009-06-27 19:07:45 -0500 (Sat, 27 Jun 2009) | 1 line

    Fixed a wrong apostrophe
  ........
    r73605 | georg.brandl | 2009-06-28 07:10:18 -0500 (Sun, 28 Jun 2009) | 1 line

    Remove stray pychecker directive.
  ........
................
  r73624 | benjamin.peterson | 2009-06-28 12:32:20 -0500 (Sun, 28 Jun 2009) | 1 line

  document BufferedIOBase.raw and TextIOBase.buffer
................
2009-06-28 17:35:48 +00:00
Martin v. Löwis 9d49c1d186 Merged revisions 73600 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73600 | martin.v.loewis | 2009-06-28 11:36:14 +0200 (So, 28 Jun 2009) | 10 lines

  Merged revisions 73598 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73598 | martin.v.loewis | 2009-06-28 11:32:39 +0200 (So, 28 Jun 2009) | 3 lines

    Issue 5390: Add uninstall icon independent of whether file
    extensions are installed.
  ........
................
2009-06-28 09:40:34 +00:00
Benjamin Peterson 0887dbbcfc update doc upload URL 2009-06-27 22:06:56 +00:00
Benjamin Peterson e8fb2039c0 version to 3.1.1a0 2009-06-27 22:03:18 +00:00
Benjamin Peterson 392851624f bump version to 3.1 final :) 2009-06-26 13:11:28 +00:00
Gregory P. Smith e88749b475 Merged revisions 73565 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73565 | gregory.p.smith | 2009-06-26 00:50:21 -0700 (Fri, 26 Jun 2009) | 2 lines

  Fixes the last problem mentioned in issue1202.
........

Issue #1202: zipfile module would cause a struct.error when attempting to store
files with a CRC32 > 2**31-1.  (on trunk this was merely a warning, in the py3k
branch this caused an exception so I'm treating this as a release blocker and
merging it now)
2009-06-26 08:05:13 +00:00
Mark Dickinson ad19556716 Misc/NEWS entry for r73547 2009-06-24 19:01:32 +00:00
Georg Brandl eeb575f329 Merged revisions 73544 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73544 | georg.brandl | 2009-06-24 06:41:19 +0000 (Mi, 24 Jun 2009) | 1 line

  #6332: fix word dupes throughout the source.
........
2009-06-24 06:42:05 +00:00
Raymond Hettinger bbccbfd6b8 Add procedural note. 2009-06-23 22:24:13 +00:00
Raymond Hettinger 159eac92c5 Issue 6329: Fix iteration for memoryviews. 2009-06-23 20:38:54 +00:00
Matthias Klose ab2b7559e2 - Issue #5590: Remove unused global variable in pyexpat extension. 2009-06-22 13:05:52 +00:00
Vinay Sajip 0f6eac2ad2 Issue #6314: logging.basicConfig() performs extra checks on the "level" argument. 2009-06-21 17:46:49 +00:00
Guilherme Polo 2a998fabec Merged revisions 73495 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r73495 | guilherme.polo | 2009-06-21 14:22:50 -0300 (Sun, 21 Jun 2009) | 4 lines

  Issue #5450: Moved tests involving loading tk from Lib/test/test_tcl to
  Lib/lib-tk/test/test_tkinter/test_loadtk in order to follow the behaviour of
  test_ttkguionly.
........
2009-06-21 17:40:07 +00:00
Facundo Batista 10706e28d3 Issue #6274. Fixed a potential FD leak in subprocess.py. 2009-06-19 20:34:30 +00:00
Tarek Ziadé 5e06a65639 Merged revisions 73441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73441 | tarek.ziade | 2009-06-16 09:29:52 +0200 (Tue, 16 Jun 2009) | 1 line

  Fixed #6287: documentation for the license field in distutils
........
2009-06-16 07:43:42 +00:00
Benjamin Peterson 6a38ceda03 just throw a normal AttributeError for no buffer attribute 2009-06-14 18:32:19 +00:00
Hirokazu Yamamoto 3d8827dab6 Merged revisions 73425 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73425 | hirokazu.yamamoto | 2009-06-14 12:53:55 +0900 | 2 lines

  Issue #6271: mmap tried to close invalid file handle (-1) when annonymous.
  (On Unix) Patch by STINNER Victor.
........
2009-06-14 04:58:16 +00:00
Benjamin Peterson 01bf2369d2 post release version bumps 2009-06-13 14:50:22 +00:00
Benjamin Peterson c7c12289fb bump version to 3.1rc2 2009-06-13 13:15:04 +00:00
Raymond Hettinger 94f5583777 Fix SystemError and a wasps nest of ref counting issues. 2009-06-12 18:40:16 +00:00
Martin v. Löwis 83eacca7a6 Merged revisions 73390 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73390 | martin.v.loewis | 2009-06-12 19:28:31 +0200 (Fr, 12 Jun 2009) | 3 lines

  Support AMD64 in msilib. Set Win64 on reglocator.
  Fixes #6258.
........
2009-06-12 17:31:41 +00:00
R. David Murray 58641defe4 Issue #6195: fix doctest to no longer try to read 'source' data from
binary files.
2009-06-12 15:33:19 +00:00
Vinay Sajip affbd871e3 Issue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler. 2009-06-11 10:11:47 +00:00
Tarek Ziadé ff5433602a Merged revisions 73348 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73348 | tarek.ziade | 2009-06-11 11:13:36 +0200 (Thu, 11 Jun 2009) | 1 line

  #6263 fixed syntax error in distutils.cygwinccompiler
........
2009-06-11 09:25:41 +00:00
Tarek Ziadé abcc3f4357 Merged revisions 73341 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73341 | tarek.ziade | 2009-06-11 10:12:20 +0200 (Thu, 11 Jun 2009) | 1 line

  Fixed #5201: now distutils.sysconfig.parse_makefile() understands '53264' in Makefiles
........
2009-06-11 08:31:17 +00:00
Amaury Forgeot d'Arc 66f8c43b09 #5924: on Windows, a large PYTHONPATH (more than 255 chars) was completely ignored.
Will backport to 3.0.
2009-06-09 21:30:01 +00:00
Ronald Oussoren 99aab65113 Merged revisions 73305 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73305 | ronald.oussoren | 2009-06-08 14:12:41 -0700 (Mon, 08 Jun 2009) | 4 lines

  This is a fix for Issue5809: you shouldn't specify both --enable-framework and
  --enable-shared
........
2009-06-08 21:22:57 +00:00
Georg Brandl c6c3178942 Merged revisions 73190,73213,73257-73258,73260,73275,73294 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73190 | georg.brandl | 2009-06-04 01:23:45 +0200 (Do, 04 Jun 2009) | 2 lines

  Avoid PendingDeprecationWarnings emitted by deprecated unittest methods.
........
  r73213 | georg.brandl | 2009-06-04 12:15:57 +0200 (Do, 04 Jun 2009) | 1 line

  #5967: note that the C slicing APIs do not support negative indices.
........
  r73257 | georg.brandl | 2009-06-06 19:50:05 +0200 (Sa, 06 Jun 2009) | 1 line

  #6211: elaborate a bit on ways to call the function.
........
  r73258 | georg.brandl | 2009-06-06 19:51:31 +0200 (Sa, 06 Jun 2009) | 1 line

  #6204: use a real reference instead of "see later".
........
  r73260 | georg.brandl | 2009-06-06 20:21:58 +0200 (Sa, 06 Jun 2009) | 1 line

  #6224: s/JPython/Jython/, and remove one link to a module nine years old.
........
  r73275 | georg.brandl | 2009-06-07 22:37:52 +0200 (So, 07 Jun 2009) | 1 line

  Add Ezio.
........
  r73294 | georg.brandl | 2009-06-08 15:34:52 +0200 (Mo, 08 Jun 2009) | 1 line

  #6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf().
........
2009-06-08 13:41:29 +00:00
Brett Cannon c6d936e23f When _locale became a built-in module it was discovered that ``-lintl`` was not
added as a build flag as needed. This then led to the discovery that OS X
framework builds did not have the LIBS var to pick up this flag.

Fixes issue #6154. Thanks to Benjamin Peterson, Roumen Petrov, Erick Tryzelaar,
Mark Dickinson, Evan Behar, and Ronald Oussoren for helping.
2009-06-07 20:09:53 +00:00
Martin v. Löwis b7a515609d Issue #6221: Delete test registry key before running the test. 2009-06-07 17:55:17 +00:00
Benjamin Peterson 0926ad1f05 give the C implementation of TextIOWrapper the errors property #6217 2009-06-06 18:02:12 +00:00