Commit Graph

40844 Commits

Author SHA1 Message Date
Senthil Kumaran 4cee9bff1f Merged revisions 81283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81283 | senthil.kumaran | 2010-05-18 09:28:36 +0530 (Tue, 18 May 2010) | 3 lines

  Removing the reference in the docs for overriding _urlopener global value. See Issue8619 for details.
........
2010-05-18 04:01:11 +00:00
Senthil Kumaran 5c3ef067ca Merged revisions 81281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81281 | senthil.kumaran | 2010-05-18 08:56:11 +0530 (Tue, 18 May 2010) | 9 lines

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

  ........
    r81279 | senthil.kumaran | 2010-05-18 08:50:43 +0530 (Tue, 18 May 2010) | 3 lines

    Fix minor typo.
  ........
................
2010-05-18 03:28:44 +00:00
Victor Stinner 0cfc9f65ef Merged revisions 81276 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81276 | victor.stinner | 2010-05-17 21:57:40 +0200 (lun., 17 mai 2010) | 4 lines

  Fix test_main_invalid_unicode() of test_sys for ASCII locale encoding

  It should fix sparc 3.x and 3.1 failures.
........
2010-05-17 20:01:55 +00:00
Lars Gustäbel 3a5d703045 Blocked revisions 81273 via svnmerge
........
  r81273 | lars.gustaebel | 2010-05-17 20:02:50 +0200 (Mon, 17 May 2010) | 15 lines

  Issue #8633: Support for POSIX.1-2008 binary pax headers.

  tarfile is now able to read and write pax headers with a
  "hdrcharset=BINARY" record. This record was introduced in
  POSIX.1-2008 as a method to store unencoded binary strings that
  cannot be translated to UTF-8. In practice, this is just a workaround
  that allows a tar implementation to store filenames that do not
  comply with the current filesystem encoding and thus cannot be
  decoded correctly.
  Additionally, tarfile works around a bug in current versions of GNU
  tar: undecodable filenames are stored as-is in a pax header without a
  "hdrcharset" record being added. Technically, these headers are
  invalid, but tarfile manages to read them correctly anyway.
........
2010-05-17 18:11:22 +00:00
Victor Stinner df47ffd773 Merged revisions 81267 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81267 | victor.stinner | 2010-05-17 16:36:43 +0200 (lun., 17 mai 2010) | 2 lines

  Improve test_exit() error message to analyze sparc failures
........
2010-05-17 14:37:57 +00:00
Tarek Ziadé 42db5c3033 Merged revisions 81263 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81263 | tarek.ziade | 2010-05-17 13:01:57 +0200 (Mon, 17 May 2010) | 9 lines

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

  ........
    r81261 | tarek.ziade | 2010-05-17 12:54:43 +0200 (Mon, 17 May 2010) | 1 line

    upgraded distutils docs w.r.t. the manifest regeneration
  ........
................
2010-05-17 11:04:41 +00:00
Tarek Ziadé dd4671a93e Merged revisions 81258 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81258 | tarek.ziade | 2010-05-17 12:38:53 +0200 (Mon, 17 May 2010) | 9 lines

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

  ........
    r81255 | tarek.ziade | 2010-05-17 12:06:20 +0200 (Mon, 17 May 2010) | 1 line

    Fixed #8688: Distutils now recalculates MANIFEST everytime.
  ........
................
2010-05-17 10:48:29 +00:00
Victor Stinner 2e71d014ea Merged revisions 81250-81253 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81250 | victor.stinner | 2010-05-17 03:13:37 +0200 (lun., 17 mai 2010) | 2 lines

  Issue #6697: Fix a crash if code of "python -c code" contains surrogates
........
  r81251 | victor.stinner | 2010-05-17 03:26:01 +0200 (lun., 17 mai 2010) | 3 lines

  PyObject_Dump() encodes unicode objects to utf8 with backslashreplace (instead
  of strict) error handler to escape surrogates
........
  r81252 | victor.stinner | 2010-05-17 10:58:51 +0200 (lun., 17 mai 2010) | 6 lines

  handle_system_exit() flushs files to warranty the output order

  PyObject_Print() writes into the C object stderr, whereas PySys_WriteStderr()
  writes into the Python object sys.stderr. Each object has its own buffer, so
  call sys.stderr.flush() and fflush(stderr).
........
  r81253 | victor.stinner | 2010-05-17 11:33:42 +0200 (lun., 17 mai 2010) | 6 lines

  Fix refleak in internal_print() introduced by myself in r81251

  _PyUnicode_AsDefaultEncodedString() uses a magical PyUnicode attribute to
  automatically destroy PyUnicode_EncodeUTF8() result when the unicode string is
  destroyed.
........
2010-05-17 09:35:44 +00:00
Victor Stinner 6763514503 Blocked revisions 81247 via svnmerge
........
  r81247 | victor.stinner | 2010-05-17 02:14:53 +0200 (lun., 17 mai 2010) | 9 lines

  test_os: cleanup test_internal_execvpe() and os._execvpe() mockup

   * Replace os.defpath instead of os.get_exec_path() to test also
     os.get_exec_path()
   * Use contextlib.contextmanager, move the mockup outside the class, and
     the mockup returns directly the call list object
   * Use two different contexts for the two tests
   * Use more revelant values and names
........
2010-05-17 00:15:47 +00:00
Antoine Pitrou 321257da1a Merged revisions 81242 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81242 | antoine.pitrou | 2010-05-17 01:14:22 +0200 (lun., 17 mai 2010) | 10 lines

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

  ........
    r81241 | antoine.pitrou | 2010-05-17 01:11:46 +0200 (lun., 17 mai 2010) | 4 lines

    Clear the OpenSSL error queue each time an error is signalled.
    When the error queue is not emptied, strange things can happen on the next SSL call, depending on the OpenSSL version.
  ........
................
2010-05-16 23:18:00 +00:00
Victor Stinner 49c78a6b32 Blocked revisions 81239 via svnmerge
........
  r81239 | victor.stinner | 2010-05-16 23:36:37 +0200 (dim., 16 mai 2010) | 2 lines

  Issue #8477: ssl.RAND_egd() supports str with surrogates and bytes for the path
........
2010-05-16 21:37:34 +00:00
Victor Stinner 95145351fa Blocked revisions 81237 via svnmerge
........
  r81237 | victor.stinner | 2010-05-16 23:23:48 +0200 (dim., 16 mai 2010) | 3 lines

  Issue #8477: _ssl._test_decode_cert() supports str with surrogates and bytes
  for the filename
........
2010-05-16 21:25:03 +00:00
Antoine Pitrou 21b7e5316c Merged revisions 81231 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81231 | antoine.pitrou | 2010-05-16 16:19:41 +0200 (dim., 16 mai 2010) | 9 lines

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

  ........
    r81229 | antoine.pitrou | 2010-05-16 16:16:56 +0200 (dim., 16 mai 2010) | 3 lines

    Document that SSL v2 is insecure.
  ........
................
2010-05-16 14:20:17 +00:00
Mark Dickinson d05f93da31 Blocked revisions 81196 via svnmerge
........
  r81196 | mark.dickinson | 2010-05-15 18:02:38 +0100 (Sat, 15 May 2010) | 13 lines

  Issue #8692: Improve performance of math.factorial:

  (1) use a different algorithm that roughly halves the total number of
      multiplications required and results in more balanced multiplications
  (2) use a lookup table for small arguments
  (3) fast accumulation of products in C integer arithmetic rather than
      PyLong arithmetic when possible.

  Typical speedup, from unscientific testing on a 64-bit laptop, is 4.5x
  to 6.5x for arguments in the range 100 - 10000.

  Patch by Daniel Stutzbach; extensive reviews by Alexander Belopolsky.
........
2010-05-16 08:39:09 +00:00
Victor Stinner f21d497b12 Merged revisions 81226 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81226 | victor.stinner | 2010-05-16 02:36:38 +0200 (dim., 16 mai 2010) | 11 lines

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

  ........
    r81224 | victor.stinner | 2010-05-16 02:34:40 +0200 (dim., 16 mai 2010) | 4 lines

    Use with open() as fo: ... instead of try: fo = open(...) finally: fo.close()

    fo is not set if the open() fails.
  ........
................
2010-05-16 00:37:36 +00:00
Victor Stinner 0ac51bd1b6 Merged revisions 81222 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81222 | victor.stinner | 2010-05-16 01:00:51 +0200 (dim., 16 mai 2010) | 11 lines

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

  ........
    r81220 | victor.stinner | 2010-05-16 00:55:28 +0200 (dim., 16 mai 2010) | 4 lines

    Use 4-spaces for indentation (instead of tabs) in pgen outputs

    Regenerate (reindent) Python/graminit.c
  ........
................
2010-05-15 23:03:15 +00:00
Victor Stinner c22fd671f8 Recorded merge of revisions 81215 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81215 | victor.stinner | 2010-05-16 00:23:53 +0200 (dim., 16 mai 2010) | 12 lines

  Recorded merge of revisions 81213 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r81213 | victor.stinner | 2010-05-16 00:19:27 +0200 (dim., 16 mai 2010) | 5 lines

    reindent _cursesmodule.c

    Use untabify.py + emacs (python3 mode) + manual editions for
    Py_BEGIN_ALLOW_THREADS / Py_END_ALLOW_THREADS
  ........
................
2010-05-15 22:30:53 +00:00
Victor Stinner f4ee588e6b Recorded merge of revisions 81207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81207 | victor.stinner | 2010-05-15 23:04:43 +0200 (sam., 15 mai 2010) | 9 lines

  Recorded merge of revisions 81205 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r81205 | victor.stinner | 2010-05-15 23:00:59 +0200 (sam., 15 mai 2010) | 2 lines

    NEWS: strip trailing spaces
  ........
................
2010-05-15 21:05:33 +00:00
Benjamin Peterson 9b140f650f Merged revisions 81201 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81201 | benjamin.peterson | 2010-05-15 12:52:12 -0500 (Sat, 15 May 2010) | 9 lines

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

  ........
    r81200 | benjamin.peterson | 2010-05-15 12:48:55 -0500 (Sat, 15 May 2010) | 1 line

    use TestCase skip method
  ........
................
2010-05-15 18:00:56 +00:00
Victor Stinner 30b038497b Blocked revisions 81194 via svnmerge
........
  r81194 | victor.stinner | 2010-05-15 18:27:27 +0200 (sam., 15 mai 2010) | 5 lines

  Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a Unicode
  object to Py_FileSystemDefaultEncoding with the "surrogateescape" error
  handler, return a bytes object. If Py_FileSystemDefaultEncoding is not set,
  fall back to UTF-8.
........
2010-05-15 16:28:22 +00:00
Victor Stinner 3c00063546 Blocked revisions 81192 via svnmerge
........
  r81192 | victor.stinner | 2010-05-15 15:14:32 +0200 (sam., 15 mai 2010) | 3 lines

  Enable shortcuts for common encodings in PyUnicode_AsEncodedString() for any
  error handler, not only the default error handler (strict)
........
2010-05-15 14:06:57 +00:00
Victor Stinner 42cdd9c191 Blocked revisions 81190 via svnmerge
........
  r81190 | victor.stinner | 2010-05-15 14:27:16 +0200 (sam., 15 mai 2010) | 4 lines

  Issue #8610: Load file system codec at startup, and display a fatal error on
  failure. Set the file system encoding to utf-8 (instead of None) if getting
  the locale encoding failed, or if nl_langinfo(CODESET) function is missing.
........
2010-05-15 12:28:16 +00:00
Stefan Krah 174ba00050 Merged revisions 81188 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81188 | stefan.krah | 2010-05-15 11:41:27 +0200 (Sat, 15 May 2010) | 10 lines

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

  ........
    r81185 | stefan.krah | 2010-05-15 11:31:08 +0200 (Sat, 15 May 2010) | 4 lines

    If the timeout is exceeded, count the tests as skipped instead of just
    issuing a warning.
  ........
................
2010-05-15 09:45:07 +00:00
Victor Stinner 1f7122d426 Blocked revisions 81183 via svnmerge
........
  r81183 | victor.stinner | 2010-05-15 03:40:41 +0200 (sam., 15 mai 2010) | 4 lines

  Fix test_capi for Windows: strip newline characters

  Fix test_no_FatalError_infinite_loop() introduced by r81142 (issue #3605).
........
2010-05-15 01:42:04 +00:00
Victor Stinner 20f97be46e Merged revisions 81181 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81181 | victor.stinner | 2010-05-14 23:53:45 +0200 (ven., 14 mai 2010) | 9 lines

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

  ........
    r81179 | victor.stinner | 2010-05-14 23:52:26 +0200 (ven., 14 mai 2010) | 2 lines

    Fix regression introduced by r81154 (Issue #5099, subprocess destructor)
  ........
................
2010-05-14 21:57:25 +00:00
Victor Stinner 7f6423a0b4 test/support.py: remove TESTFN if it is a directory
Because of my previous commit (r81171), test_os failed without removing TESTFN
directory (shutil.rmtree() was broken). Some buildbots still have a @test
directory and some tests fail because of that.

The bug is reproductible with:

  mkdir @test
  touch @test/abc
  ./python Lib/test/regrtest.py test_site
2010-05-14 20:08:55 +00:00
Victor Stinner 203406c368 Revert r81171 (posix_listdir(), posix_readlink(): avoid temporary PyBytes object)
PyUnicode_DecodeFSDefault*() doesn't use surrogateescape error handler, and so
PyUnicode_FromEncodedObject(v, Py_FileSystemDefaultEncoding, "surrogateescape")
cannot be replaced by PyUnicode_DecodeFSDefault().

It's a bad idea to try to fix surrogates things in Python 3.1...
2010-05-14 18:07:39 +00:00
Victor Stinner 26a968d8fe Merged revisions 81170 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81170 | victor.stinner | 2010-05-14 18:35:39 +0200 (ven., 14 mai 2010) | 6 lines

  posix_listdir(), posix_readlink(): avoid temporary PyBytes object

  Use directly PyUnicode_DecodeFSDefaultAndSize() instead of
  PyBytes_FromStringAndSize() + PyUnicode_FromEncodedObject() if the argument is
  unicode.
........
2010-05-14 16:39:10 +00:00
Victor Stinner 9076f9e187 Merged revisions 81168 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81168 | victor.stinner | 2010-05-14 17:58:55 +0200 (ven., 14 mai 2010) | 10 lines

  Issue #8711: Document PyUnicode_DecodeFSDefault*() functions

   * Add paragraph titles to c-api/unicode.rst.
   * Fix PyUnicode_DecodeFSDefault*() comment: it now uses the "surrogateescape"
     error handler (and not "replace")
   * Remove "The function is intended to be used for paths and file names only
     during bootstrapping process where the codecs are not set up." from
     PyUnicode_FSConverter() comment: it is used after the bootstrapping and for
     other purposes than file names
........
2010-05-14 16:08:46 +00:00
Benjamin Peterson 9d765bd0ea Merged revisions 81146 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81146 | benjamin.peterson | 2010-05-13 16:16:51 -0500 (Thu, 13 May 2010) | 9 lines

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

  ........
    r81145 | benjamin.peterson | 2010-05-13 16:14:10 -0500 (Thu, 13 May 2010) | 1 line

    rip out mention of types.ListType #8703
  ........
................
2010-05-14 01:33:36 +00:00
Brett Cannon 19640500ff Backport r81155. 2010-05-14 01:28:56 +00:00
Victor Stinner ebb5a88fd6 Merged revisions 81156 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81156 | victor.stinner | 2010-05-14 02:59:09 +0200 (ven., 14 mai 2010) | 5 lines

  Issue #4653: fix typo in flush_std_files()

  Don't call sys.stderr.flush() if sys has no stderr attribute or if
  sys.stderr==None.
........
2010-05-14 01:03:14 +00:00
Senthil Kumaran d4cd18847d Merged revisions 81132 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81132 | senthil.kumaran | 2010-05-13 09:07:23 +0530 (Thu, 13 May 2010) | 9 lines

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

  ........
    r81130 | senthil.kumaran | 2010-05-13 08:55:21 +0530 (Thu, 13 May 2010) | 3 lines

    Fix Issue8657 - adding git and git+ssh as know schemes.
  ........
................
2010-05-13 03:43:13 +00:00
Mark Dickinson 3d9fa6da93 Merged revisions 81127 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81127 | mark.dickinson | 2010-05-12 20:54:51 +0100 (Wed, 12 May 2010) | 9 lines

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

  ........
    r81126 | mark.dickinson | 2010-05-12 20:53:36 +0100 (Wed, 12 May 2010) | 1 line

    Fix unused variable in test_factorial.
  ........
................
2010-05-12 19:57:07 +00:00
Antoine Pitrou a29b181693 Merged revisions 81116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81116 | antoine.pitrou | 2010-05-12 16:05:24 +0200 (mer., 12 mai 2010) | 9 lines

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

  ........
    r81115 | antoine.pitrou | 2010-05-12 16:02:34 +0200 (mer., 12 mai 2010) | 3 lines

    Improve _ssl.c formatting
  ........
................
2010-05-12 14:08:45 +00:00
Antoine Pitrou 96f212b377 Merged revisions 81100 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81100 | antoine.pitrou | 2010-05-12 01:46:02 +0200 (mer., 12 mai 2010) | 10 lines

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

  ........
    r81098 | antoine.pitrou | 2010-05-12 01:42:28 +0200 (mer., 12 mai 2010) | 5 lines

    Issue #8681: Make the zlib module's error messages more informative when
    the zlib itself doesn't give any detailed explanation.
  ........
................
2010-05-11 23:49:58 +00:00
Antoine Pitrou bbff8cf035 Merged revisions 81096 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81096 | antoine.pitrou | 2010-05-12 01:36:40 +0200 (mer., 12 mai 2010) | 11 lines

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

  ........
    r81094 | antoine.pitrou | 2010-05-12 01:32:31 +0200 (mer., 12 mai 2010) | 6 lines

    Issue #8672: Add a zlib test ensuring that an incomplete stream can be
    handled by a decompressor object without errors (it returns incomplete
    uncompressed data).
  ........
................
2010-05-11 23:38:15 +00:00
Brian Curtin 9c578a8dba Backport of r81090, plus the exposure of the previously undocumented
*ReflectionKey functions. Apparently that was not backported.

Merged revisions 81090 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81090 | brian.curtin | 2010-05-11 15:35:47 -0500 (Tue, 11 May 2010) | 13 lines

  #8575 - Update and reorganize some _winreg contents.

  I've removed the hopeful note about a future higher-level module since
  it's been in there for quite a long time and nothing of the sort has
  come up. There are a few places where markup was added to cross-reference
  other sections, and many of the external links have been removed and now
  point to newly created sections containing previously undocumented
  information.

  The Value Types section was created and it's contents were taken from
  a function-specific area, since it applies to more than just that
  function. It fits in better with the other newly documented constants.
........
2010-05-11 20:46:12 +00:00
Mark Dickinson ee289e6cd5 Merged revisions 81081 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81081 | mark.dickinson | 2010-05-11 14:09:58 +0100 (Tue, 11 May 2010) | 9 lines

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

  ........
    r81079 | mark.dickinson | 2010-05-11 14:05:30 +0100 (Tue, 11 May 2010) | 1 line

    Issue #8674: fix another bogus overflow check in audioop module.
  ........
................
2010-05-11 13:11:12 +00:00
Benjamin Peterson aec0127720 Merged revisions 81057 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81057 | benjamin.peterson | 2010-05-10 15:49:20 -0500 (Mon, 10 May 2010) | 1 line

  remove reference to second argument to raise #8676
........
2010-05-10 20:52:35 +00:00
Mark Dickinson 587cb1a2b2 Merged revisions 81047 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81047 | mark.dickinson | 2010-05-10 17:27:45 +0100 (Mon, 10 May 2010) | 10 lines

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

  ........
    r81045 | mark.dickinson | 2010-05-10 17:07:42 +0100 (Mon, 10 May 2010) | 3 lines

    Issue #8674: Fix incorrect and UB-inducing overflow checks in audioop
    module.  Thanks Tomas Hoger for the patch.
  ........
................
2010-05-10 16:39:55 +00:00
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines

  Recorded merge of revisions 81029 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

    Untabify C files. Will watch buildbots.
  ........
................
2010-05-09 16:14:21 +00:00
Mark Dickinson b7d943625c Merged revisions 81024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81024 | mark.dickinson | 2010-05-09 13:16:29 +0100 (Sun, 09 May 2010) | 1 line

  Fix test_urllib2 failure on OS X.
........
2010-05-09 12:17:58 +00:00
Jean-Paul Calderone 9c39bc7265 Merged revisions 81016 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81016 | jean-paul.calderone | 2010-05-08 23:18:57 -0400 (Sat, 08 May 2010) | 9 lines

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

  ........
    r81007 | jean-paul.calderone | 2010-05-08 16:06:02 -0400 (Sat, 08 May 2010) | 1 line

    Skip signal handler re-installation if it is not necessary.  Issue 8354.
  ........
................
2010-05-09 03:25:16 +00:00
Victor Stinner f7c8902de2 Blocked revisions 81014 via svnmerge
........
  r81014 | victor.stinner | 2010-05-09 05:15:33 +0200 (dim., 09 mai 2010) | 2 lines

  Write tests for the new function os.fsencode()
........
2010-05-09 03:17:36 +00:00
Benjamin Peterson 23b1e6bbce Merged revisions 80993 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80993 | benjamin.peterson | 2010-05-08 11:51:16 -0500 (Sat, 08 May 2010) | 9 lines

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

  ........
    r80991 | benjamin.peterson | 2010-05-08 11:44:52 -0500 (Sat, 08 May 2010) | 1 line

    run and fix enumerate start test cases #8636
  ........
................
2010-05-08 16:53:50 +00:00
Benjamin Peterson c9e833faa0 Merged revisions 80936 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80936 | benjamin.peterson | 2010-05-07 14:10:11 -0500 (Fri, 07 May 2010) | 76 lines

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

  ................
    r80934 | benjamin.peterson | 2010-05-07 13:58:23 -0500 (Fri, 07 May 2010) | 69 lines

    Merged revisions 79911,79916-79917,80018,80418,80572-80573,80635-80639,80668,80922 via svnmerge from
    svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

    ........
      r79911 | benjamin.peterson | 2010-04-09 15:38:53 -0500 (Fri, 09 Apr 2010) | 1 line

      use absolute import
    ........
      r79916 | benjamin.peterson | 2010-04-09 16:05:21 -0500 (Fri, 09 Apr 2010) | 1 line

      generalize detection of __future__ imports and attach them to the tree
    ........
      r79917 | benjamin.peterson | 2010-04-09 16:11:44 -0500 (Fri, 09 Apr 2010) | 1 line

      don't try to 'fix' relative imports when absolute_import is enabled #8858
    ........
      r80018 | benjamin.peterson | 2010-04-12 16:12:12 -0500 (Mon, 12 Apr 2010) | 4 lines

      prevent diffs from being mangled is multiprocess mode #6409

      Patch by George Boutsioukis.
    ........
      r80418 | benjamin.peterson | 2010-04-23 16:00:03 -0500 (Fri, 23 Apr 2010) | 1 line

      remove unhelpful description
    ........
      r80572 | benjamin.peterson | 2010-04-27 20:33:54 -0500 (Tue, 27 Apr 2010) | 1 line

      use unicode literals
    ........
      r80573 | jeffrey.yasskin | 2010-04-27 23:08:27 -0500 (Tue, 27 Apr 2010) | 6 lines

      Don't transform imports that are already relative.  2to3 turned
        from . import refactor
      into
        from .. import refactor
      which broke the transformation of 2to3 itself.
    ........
      r80635 | benjamin.peterson | 2010-04-29 16:02:23 -0500 (Thu, 29 Apr 2010) | 1 line

      remove imports
    ........
      r80636 | benjamin.peterson | 2010-04-29 16:02:41 -0500 (Thu, 29 Apr 2010) | 1 line

      unicode literal
    ........
      r80637 | benjamin.peterson | 2010-04-29 16:03:42 -0500 (Thu, 29 Apr 2010) | 1 line

      must pass a string to Number
    ........
      r80638 | benjamin.peterson | 2010-04-29 16:05:34 -0500 (Thu, 29 Apr 2010) | 1 line

      unicode literals
    ........
      r80639 | benjamin.peterson | 2010-04-29 16:06:09 -0500 (Thu, 29 Apr 2010) | 1 line

      pass string to Number
    ........
      r80668 | jeffrey.yasskin | 2010-04-30 18:02:47 -0500 (Fri, 30 Apr 2010) | 4 lines

      Make 2to3 run under Python 2.5 so that the benchmark suite at
      http://hg.python.org/benchmarks/ can use it and still run on implementations
      that haven't gotten to 2.6 yet.  Fixes issue 8566.
    ........
      r80922 | benjamin.peterson | 2010-05-07 11:06:25 -0500 (Fri, 07 May 2010) | 1 line

      prevent xrange transformation from wrapping range calls it produces in list
    ........
  ................
................
2010-05-08 15:46:00 +00:00
Benjamin Peterson 3a3bba34e2 Merged revisions 80983 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r80983 | benjamin.peterson | 2010-05-08 10:26:30 -0500 (Sat, 08 May 2010) | 1 line

  replace long with int
........
2010-05-08 15:29:41 +00:00
Victor Stinner 858b8f775e Blocked revisions 80948-80950,80971 via svnmerge
........
  r80948 | victor.stinner | 2010-05-08 02:07:07 +0200 (sam., 08 mai 2010) | 2 lines

  err_input(): don't encode/decode the unicode message
........
  r80949 | victor.stinner | 2010-05-08 02:35:33 +0200 (sam., 08 mai 2010) | 3 lines

  PyErr_SetFromErrnoWithFilename() decodes the filename using
  PyUnicode_DecodeFSDefault() instead of PyUnicode_FromString()
........
  r80950 | victor.stinner | 2010-05-08 02:36:42 +0200 (sam., 08 mai 2010) | 5 lines

  posix_error_with_allocated_filename() decodes the filename with
  PyUnicode_DecodeFSDefaultAndSize() and call
  PyErr_SetFromErrnoWithFilenameObject() instead of
  PyErr_SetFromErrnoWithFilename()
........
  r80971 | victor.stinner | 2010-05-08 13:10:09 +0200 (sam., 08 mai 2010) | 3 lines

  Issue #8514: Add os.fsencode() function (Unix only): encode a string to bytes
  for use in the file system, environment variables or the command line.
........
2010-05-08 11:12:21 +00:00
Senthil Kumaran 1e72bd3c08 Merged revisions 80959 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80959 | senthil.kumaran | 2010-05-08 10:42:05 +0530 (Sat, 08 May 2010) | 9 lines

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

  ........
    r80957 | senthil.kumaran | 2010-05-08 10:30:11 +0530 (Sat, 08 May 2010) | 2 lines

    Fixing the errors trigerred in test_urllib2net. Related to issue8656.
  ........
................
2010-05-08 05:14:29 +00:00