Commit Graph

39162 Commits

Author SHA1 Message Date
Benjamin Peterson ec75312eaa see if we can get this to work on windows 2009-05-04 21:28:12 +00:00
Antoine Pitrou 3c33e087fc Merged revisions 72295 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72295 | antoine.pitrou | 2009-05-04 23:17:17 +0200 (lun., 04 mai 2009) | 3 lines

  Issue #5692: In :class:`zipfile.Zipfile`, fix wrong path calculation when extracting a file to the root directory.
........
2009-05-04 21:21:36 +00:00
Georg Brandl 4f5f98d7d1 Add missing documentation for bytes.decode(). 2009-05-04 21:01:20 +00:00
Georg Brandl 5f25972a05 Merged revisions 72292 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72292 | georg.brandl | 2009-05-04 22:49:17 +0200 (Mo, 04 Mai 2009) | 1 line

  #5916, 5917: small socket doc improvements.
........
2009-05-04 20:50:30 +00:00
Georg Brandl 9460648547 Merged revisions 72290 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72290 | georg.brandl | 2009-05-04 22:45:13 +0200 (Mo, 04 Mai 2009) | 1 line

  #5927, 5928: typos.
........
2009-05-04 20:46:44 +00:00
Georg Brandl 17761d15c6 Merged revisions 72288 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72288 | georg.brandl | 2009-05-04 22:42:08 +0200 (Mo, 04 Mai 2009) | 1 line

  #5925: fix highlighting of keyword table.
........
2009-05-04 20:43:44 +00:00
Gregory P. Smith ef24cb6437 version added 3.1 2009-05-04 19:35:16 +00:00
Gregory P. Smith 95e3b9c848 documentation clarification. mention bytes. 2009-05-04 19:34:45 +00:00
Antoine Pitrou 244651aa2f Merged revisions 72283-72284 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72283 | antoine.pitrou | 2009-05-04 20:32:32 +0200 (lun., 04 mai 2009) | 4 lines

  Issue #4426: The UTF-7 decoder was too strict and didn't accept some legal sequences.
  Patch by Nick Barnes and Victor Stinner.
........
  r72284 | antoine.pitrou | 2009-05-04 20:32:50 +0200 (lun., 04 mai 2009) | 3 lines

  Add Nick Barnes to ACKS.
........
2009-05-04 18:56:13 +00:00
Georg Brandl 375c019738 Blocked revisions 72263 via svnmerge
........
  r72263 | walter.doerwald | 2009-05-04 00:46:07 +0200 (Mo, 04 Mai 2009) | 2 lines

  There's no %A in Python 2.x!
........
2009-05-04 16:39:25 +00:00
Walter Dörwald 6e359bdabc Merged revisions 72278 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72278 | walter.doerwald | 2009-05-04 18:03:03 +0200 (Mo, 04 Mai 2009) | 2 lines

  Fix typos.
........
2009-05-04 16:10:10 +00:00
Hirokazu Yamamoto bbb9be7211 Merged revisions 72273 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72273 | hirokazu.yamamoto | 2009-05-04 14:28:39 +0900 | 1 line

  Issue #5913: os.listdir() should fail for empty path on windows.
........
2009-05-04 05:56:46 +00:00
Gregory P. Smith 73e8e5f1c7 block 72267 and 72269. already effectively merged. 2009-05-04 00:51:15 +00:00
Gregory P. Smith 3f61d61b35 Merge refactoring I did when committing r72267 to trunk into the
already committed issue4751 support in py3k r68411.
2009-05-04 00:45:33 +00:00
Walter Dörwald c1651a0b96 Merged revisions 72260 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72260 | walter.doerwald | 2009-05-04 00:36:33 +0200 (Mo, 04 Mai 2009) | 5 lines

  Issue #5108: Handle %s like %S and %R in PyUnicode_FromFormatV(): Call
  PyUnicode_DecodeUTF8() once, remember the result and output it in a second
  step. This avoids problems with counting UTF-8 bytes that ignores the effect
  of using the replace error handler in PyUnicode_DecodeUTF8().
........
2009-05-03 22:55:55 +00:00
Mark Dickinson 129ab1d809 Merged revisions 72257 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72257 | mark.dickinson | 2009-05-03 23:33:34 +0100 (Sun, 03 May 2009) | 2 lines

  Don't use PyOS_strnicmp for NaN and Inf detection: it's locale-aware.
........
2009-05-03 22:36:01 +00:00
Mark Dickinson aa77d26009 Merged revisions 72253 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72253 | mark.dickinson | 2009-05-03 21:59:48 +0100 (Sun, 03 May 2009) | 2 lines

  Eliminate some locale-dependent calls to isspace and tolower.
........
2009-05-03 21:07:13 +00:00
Mark Dickinson fb85dfc685 Blocked revisions 72250 via svnmerge
........
  r72250 | mark.dickinson | 2009-05-03 21:39:06 +0100 (Sun, 03 May 2009) | 2 lines

  Remove unnecessary uses of context in PyGetSetDef.  See issue #5880.
........
2009-05-03 20:40:46 +00:00
Mark Dickinson 725bfd8489 Issue #5914: Add new C-API function PyOS_string_to_double, to complement
PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof.
2009-05-03 20:33:40 +00:00
Gregory P. Smith 75930f85df Merged revisions 72241 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72241 | gregory.p.smith | 2009-05-03 12:37:05 -0700 (Sun, 03 May 2009) | 3 lines

  Optimization: move RFC defined network constant construction out of
  the is_*() methods and into module private instances.
........
2009-05-03 19:38:29 +00:00
Gregory P. Smith 297c9fbe1f missing commit of . for last checkin. 2009-05-03 19:11:25 +00:00
Gregory P. Smith 2b1a467be9 Merged revisions 72237 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72237 | gregory.p.smith | 2009-05-03 11:42:15 -0700 (Sun, 03 May 2009) | 3 lines

  Issue 5379 - applies patch supplied by philipp hagemeister to fix
  many problems with the ancient mcast.py demo code.
........
2009-05-03 19:09:56 +00:00
Gregory P. Smith 05bf1d23f6 Mention ipaddr in whatsnew for 3.1. 2009-05-03 06:53:18 +00:00
Andrew M. Kuchling fa8153401a Merged revisions 72213 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72213 | andrew.kuchling | 2009-05-02 15:17:28 -0400 (Sat, 02 May 2009) | 3 lines

  #1607951: Make mailbox.Maildir re-read the directories less frequently.
  This is done by recording the current time -1sec, and not re-reading unless
  the directory mod. times are >= the recorded time.
........
2009-05-03 02:52:20 +00:00
Antoine Pitrou a9f48a0d4f Merged revisions 72223 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72223 | antoine.pitrou | 2009-05-02 23:13:23 +0200 (sam., 02 mai 2009) | 5 lines

  Isue #5084: unpickling now interns the attribute names of pickled objects,
  saving memory and avoiding growth in size of subsequent pickles. Proposal
  and original patch by Jake McGuire.
........
2009-05-02 21:41:14 +00:00
Benjamin Peterson 6fa98fb7ec Blocked revisions 71662,72052,72117 via svnmerge
........
  r71662 | vinay.sajip | 2009-04-16 14:15:49 -0500 (Thu, 16 Apr 2009) | 1 line

  Issue #5768: Change to Unicode output logic and test case for same.
........
  r72052 | raymond.hettinger | 2009-04-27 16:12:27 -0500 (Mon, 27 Apr 2009) | 1 line

  Update spec version number.
........
  r72117 | benjamin.peterson | 2009-04-29 15:36:25 -0500 (Wed, 29 Apr 2009) | 1 line

  run autoconf
........
2009-05-02 20:31:20 +00:00
Benjamin Peterson b612611b7f try to get merge props correct 2009-05-02 20:25:05 +00:00
Benjamin Peterson 65b42a1e8f revert merge properties to something sane 2009-05-02 20:14:55 +00:00
Martin v. Löwis aef3fb082c Make PyCodec_SurrogateErrors static. 2009-05-02 19:27:30 +00:00
Benjamin Peterson 4ae1f261f8 Blocked revisions 71780,71961,72117,72155 via svnmerge
........
  r71780 | senthil.kumaran | 2009-04-20 22:24:19 -0500 (Mon, 20 Apr 2009) | 3 lines

  Fix for the Issue918368 - urllib doesn't correct server returned urls
........
  r71961 | georg.brandl | 2009-04-26 04:57:29 -0500 (Sun, 26 Apr 2009) | 2 lines

  Update pydoc topics.
........
  r72117 | benjamin.peterson | 2009-04-29 15:36:25 -0500 (Wed, 29 Apr 2009) | 1 line

  run autoconf
........
  r72155 | senthil.kumaran | 2009-05-01 00:59:52 -0500 (Fri, 01 May 2009) | 4 lines

  Fix for Issue1648102, based on the MSDN spec: If this parameter specifies the
  "<local>" macro as the only entry, this function bypasses any host name that
  does not contain a period.
........
2009-05-02 19:15:23 +00:00
Gregory P. Smith 1691813106 Merged revisions 72210 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72210 | gregory.p.smith | 2009-05-02 11:58:21 -0700 (Sat, 02 May 2009) | 2 lines

  Convert test method names to PEP8 style.
........
2009-05-02 19:01:54 +00:00
Martin v. Löwis db12d454e6 Issue #3672: Reject surrogates in utf-8 codec; add surrogates error
handler.
2009-05-02 18:52:14 +00:00
Gregory P. Smith 02953d244f ipaddr cleanup for python 3.x:
* Get rid of __hex__.
* Support bytearray as well as bytes.
* Don't double test for integer input.
2009-05-02 18:35:58 +00:00
Benjamin Peterson b83819f291 make py3k compat code explicitly on 2009-05-02 18:10:37 +00:00
Mark Dickinson 6bf1900e18 Merged revisions 72202 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72202 | mark.dickinson | 2009-05-02 18:55:01 +0100 (Sat, 02 May 2009) | 3 lines

  Remove unnecessary use of context for long getters.
  (Related to issue #5880).
........
2009-05-02 17:57:52 +00:00
Benjamin Peterson 3427846b68 Blocked revisions 72199-72200 via svnmerge
........
  r72199 | benjamin.peterson | 2009-05-02 12:33:01 -0500 (Sat, 02 May 2009) | 1 line

  remove py3k compat code
........
  r72200 | benjamin.peterson | 2009-05-02 12:35:39 -0500 (Sat, 02 May 2009) | 1 line

  revert unrelated change
........
2009-05-02 17:38:06 +00:00
Hirokazu Yamamoto fecf5d143a Fixed warning. (Should not use *const* as variable name) 2009-05-02 15:55:19 +00:00
Benjamin Peterson eea4fb9900 Blocked revisions 70443,70471,70702 via svnmerge
........
  r70443 | bob.ippolito | 2009-03-17 18:19:00 -0500 (Tue, 17 Mar 2009) | 1 line

  merge json library with simplejson 2.0.9 (issue 4136)
........
  r70471 | raymond.hettinger | 2009-03-19 14:19:03 -0500 (Thu, 19 Mar 2009) | 3 lines

  Issue 5381:  Add object_pairs_hook to the json module.
........
  r70702 | bob.ippolito | 2009-03-29 17:33:58 -0500 (Sun, 29 Mar 2009) | 1 line

  Issue 5381: fix regression in pure python code path, Issue 5584: fix a decoder bug for unicode float literals outside of a container
........
2009-05-02 15:28:37 +00:00
Benjamin Peterson c6b607d4a9 port simplejson upgrade from the trunk #4136
json also now works only with unicode strings

Patch by Antoine Pitrou; updated by me
2009-05-02 12:36:44 +00:00
Eric Smith 7255f18556 Merged revisions 72189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72189 | eric.smith | 2009-05-02 05:58:09 -0400 (Sat, 02 May 2009) | 1 line

  Keep py3k and trunk code in sync.
........
2009-05-02 12:15:39 +00:00
Gregory P. Smith 842e8da642 Merged revisions 72183-72184 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72183 | georg.brandl | 2009-05-01 14:28:35 -0700 (Fri, 01 May 2009) | 2 lines

  Review ipaddr docs and add them in the TOC under "Internet protocols".
........
  r72184 | georg.brandl | 2009-05-01 14:30:25 -0700 (Fri, 01 May 2009) | 1 line

  Fix directive name.
........
2009-05-02 06:15:18 +00:00
Gregory P. Smith e54dff5e63 Merged revisions 72173 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72173 | gregory.p.smith | 2009-05-01 12:59:52 -0700 (Fri, 01 May 2009) | 5 lines

  Adds the ipaddr module to the standard library.  Issue #3959.
  Based off of subversion r69 from http://code.google.com/p/ipaddr-py/

  This code is 2to3 safe, I'll merge it into py3k later this afternoon.
........
2009-05-01 22:13:48 +00:00
Benjamin Peterson 435b0f2491 use C character code to simplify #5410 2009-05-01 21:42:23 +00:00
Antoine Pitrou 8966c99bb5 Merged revisions 72180 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72180 | antoine.pitrou | 2009-05-01 23:16:14 +0200 (ven., 01 mai 2009) | 4 lines

  Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker, rather than always exit successfully.
  Patch by Floris Bruynooghe.
........
2009-05-01 21:18:27 +00:00
Antoine Pitrou 7fff096298 Merged revisions 72178 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72178 | antoine.pitrou | 2009-05-01 22:55:35 +0200 (ven., 01 mai 2009) | 4 lines

  Issue #3002: `shutil.copyfile()` and `shutil.copytree()` now raise an
  error when a named pipe is encountered, rather than blocking infinitely.
........
2009-05-01 21:09:44 +00:00
Benjamin Peterson edc364717e versionadded 2009-05-01 20:48:14 +00:00
Benjamin Peterson ef9f2bde37 add myself 2009-05-01 20:45:43 +00:00
Benjamin Peterson d2e0c7955f implement a detach() method for BufferedIOBase and TextIOBase #5883 2009-05-01 20:40:59 +00:00
Walter Dörwald 155374d95d Merged revisions 72167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72167 | walter.doerwald | 2009-05-01 19:35:37 +0200 (Fr, 01 Mai 2009) | 5 lines

  Make test.test_support.EnvironmentVarGuard behave like a dictionary.

  All changes are mirrored to the underlying os.environ dict, but rolled back
  on exit from the with block.
........
2009-05-01 19:58:58 +00:00
Mark Dickinson 33841c3489 Issue #5859: Remove '%f' to '%g' formatting switch for large floats. 2009-05-01 15:37:04 +00:00