Commit Graph

39072 Commits

Author SHA1 Message Date
Georg Brandl 991f9202be Merged revisions 72319-72320 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72319 | georg.brandl | 2009-05-05 10:28:49 +0200 (Di, 05 Mai 2009) | 1 line

  #1309567: fix linecache behavior of stripping subdirectories from paths when looking for relative filename matches. Also add a linecache test suite.
........
  r72320 | georg.brandl | 2009-05-05 10:30:28 +0200 (Di, 05 Mai 2009) | 1 line

  Add a news entry for r72319.
........
2009-05-05 08:31:54 +00:00
Georg Brandl eaa84ef1e9 #5923: update turtle module to version 1.1. 2009-05-05 08:14:33 +00:00
Georg Brandl 5133529614 #5938: use PyVarObject_HEAD_INIT instead of PyObject_HEAD_INIT in noddy examples. 2009-05-05 07:55:26 +00:00
Georg Brandl 42c66d4f47 Mark 72314 as integrated. 2009-05-05 07:52:29 +00:00
Georg Brandl 596820539f Merged revisions 72314 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72314 | georg.brandl | 2009-05-05 09:48:12 +0200 (Di, 05 Mai 2009) | 1 line

  #5932: fix error return in _convertPyInt_AsSsize_t() conversion function.
........
2009-05-05 07:52:05 +00:00
Martin v. Löwis 011e842033 Issue #5915: Implement PEP 383, Non-decodable Bytes in
System Character Interfaces.
2009-05-05 04:43:17 +00:00
Steven Bethard 93f65a177b Merged revisions 72306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72306 | steven.bethard | 2009-05-04 18:31:22 -0700 (Mon, 04 May 2009) | 1 line

  Update bdist_msi so that the generated MSIs for pure Python modules can install to any version of Python, like the generated EXEs from bdist_wininst. (Previously, you had to create a new MSI for each version of Python.)
........
2009-05-05 02:22:38 +00:00
R. David Murray f877feb806 Merged revisions 72149 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72149 | r.david.murray | 2009-04-30 08:42:32 -0400 (Thu, 30 Apr 2009) | 4 lines

  Make the turtle.rst doctests pass.  I have a feeling there should be
  more cleanup, but I don't know now to kill turtles.  Especially
  unexpected ones... ;)
........
2009-05-05 02:08:52 +00:00
R. David Murray b18500d39d Merged revisions 72299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72299 | r.david.murray | 2009-05-04 18:16:24 -0400 (Mon, 04 May 2009) | 7 lines

  Fix issue 5890: (property subclass shadows __doc__ string) by inserting
  the __doc__ into the subclass instance __dict__.  The fix refactors
  property_copy to call property_init in such a way that the __doc__
  logic is re-executed correctly when getter_doc is 1, thus simplifying
  property_copy.
........
2009-05-04 22:59:07 +00:00
Benjamin Peterson e04b627a11 remove old undocumented compat interfaces in hashlib and pwd #5881 2009-05-04 22:25:21 +00:00
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