Commit Graph

39952 Commits

Author SHA1 Message Date
Josiah Carlson 873c3864ba Fixed test for asyncore. 2008-07-11 23:26:59 +00:00
Josiah Carlson b65b4c3a47 Fix for the AttributeError in test_asynchat. 2008-07-11 22:17:14 +00:00
Amaury Forgeot d'Arc 2252d11c08 #3342: In tracebacks, printed source lines were not indented since r62555.
#3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
2008-07-11 21:45:06 +00:00
Amaury Forgeot d'Arc ae6d2b9175 #3317 in zipfile module, restore the previous names of global variables:
some applications relied on them.

Also remove duplicated lines.
2008-07-11 21:28:25 +00:00
Raymond Hettinger 8dbbb96929 Add cautionary note on the use of PySequence_Fast_ITEMS. 2008-07-11 12:00:21 +00:00
Brett Cannon feef51d988 Fix a minor typo in the last entry made. 2008-07-11 00:50:01 +00:00
Brett Cannon 963ffdb9c9 Doc that robotparse has been renamed urllib.robotparser in Python 3.0. 2008-07-11 00:48:57 +00:00
Brett Cannon f6afa334b9 Doc that urlparse is named urllib.parse in Python 3.0. 2008-07-11 00:16:30 +00:00
Brett Cannon 97aa1aeebd Document the fact that urllib2 spans multiple modules with new names in Python
3.0.
2008-07-11 00:12:52 +00:00
Brett Cannon ea40c587d8 Removal an invalid entry as the fixer for urllib is under active development. 2008-07-11 00:10:49 +00:00
Robert Schuppenies 4762902998 Added garbage collector overhead and optional default return value to
sys.getsizeof.
2008-07-10 17:13:55 +00:00
Raymond Hettinger 5930d8f05e Suppress -3 warnings in unittest.py 2008-07-10 16:06:41 +00:00
Raymond Hettinger 930795b7e0 Clear the -3 warnings in optparse.py 2008-07-10 15:37:08 +00:00
Robert Schuppenies 9be2ec109b Added additional __sizeof__ implementations and addressed comments made in
Issue3122.
2008-07-10 15:24:04 +00:00
Andrew M. Kuchling cc3f2b1d16 Wording changes 2008-07-10 14:43:31 +00:00
Raymond Hettinger b01713e7dc Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments. 2008-07-10 14:34:57 +00:00
Raymond Hettinger 3cd1e42dca Issue 3301: Bisect functions behaved badly when lo was negative. 2008-07-10 14:03:19 +00:00
Robert Schuppenies d2cd86ddd5 Fixed Issue3122 and extended sys.getsizeof tests for built-in types. 2008-07-10 13:43:26 +00:00
Raymond Hettinger 548db58e02 Use operator.index() instead of n.__index__(). 2008-07-10 10:28:41 +00:00
Raymond Hettinger 655d583a49 Issue 3287: Raise correct exception for float inputs. 2008-07-10 09:31:08 +00:00
Nick Coghlan 14ff99432d Add missing NEWS and ACK entries for r64791 2008-07-08 14:21:42 +00:00
Nick Coghlan 524b7773cc Issue 2517: Allow unicode messages in Exceptions again by correctly bypassing the instance dictionary when looking up __unicode__ on new-style classes 2008-07-08 14:08:04 +00:00
Georg Brandl dbc5987e2f Add missing ABCs to list. 2008-07-08 07:05:23 +00:00
Facundo Batista 1a664419bb Issue 3306. Better control for a lenght in findmax() function. 2008-07-07 17:02:59 +00:00
Andrew M. Kuchling 10cf7d947d Fix example to match text 2008-07-07 16:51:09 +00:00
Skip Montanaro 2c7ca9bb11 Correct grammar. 2008-07-07 11:16:14 +00:00
Gregory P. Smith c4691ec0bf - Issue #3094: httplib.HTTPSConnection Host: headers no longer include the
redundant ":443" port number designation when the connection is using the
  default https port (443).
2008-07-07 05:09:12 +00:00
Gregory P. Smith 04222925f1 Add commented out #_sha256 and #_sha512 lines per issue 3183. 2008-07-07 04:54:31 +00:00
Josiah Carlson ff5f42088b Fixed bugs 760475, 953599, and 1519. 2008-07-07 04:51:46 +00:00
Gregory P. Smith 3b1e6b2f83 - Issue #3309: Fix bz2.BZFile itererator to release its internal lock
properly when raising an exception due to the bz2file being closed.
  Prevents a deadlock.
2008-07-07 04:31:58 +00:00
Amaury Forgeot d'Arc 0f7cddc308 Issue839496: SimpleHTTPServer should open all files in binary mode.
Forward-port of 38255 (2005/01/15!)
This was already fixed in 2.4, but never merged into trunk...
py3k is already right, thanks to the bytes/str distinction!

Should be backported to 2.5.
2008-07-06 21:34:39 +00:00
Andrew M. Kuchling aaca978103 Add two items; rewrap paragraph 2008-07-06 17:44:17 +00:00
Andrew M. Kuchling c40608491c Wording fix 2008-07-06 17:43:16 +00:00
Georg Brandl de2939bb75 Fix opensearch template. 2008-07-06 17:36:20 +00:00
Gregory P. Smith eb77fe4cbf fix issue3304 - remove an incorrect PyMem_Free in fileio_init 2008-07-06 17:06:29 +00:00
Benjamin Peterson 7f58022219 remove test_compact_freelists from test_sys 2008-07-06 12:39:09 +00:00
Gregory P. Smith f41406409e - Issue #2113: Fix error in subprocess.Popen if the select system call is
interrupted by a signal.
2008-07-06 07:16:40 +00:00
Gregory P. Smith 2fe77060eb - Issue #2862: Make int and float freelist management consistent with other
freelists.  Changes their CompactFreeList apis into ClearFreeList apis and
  calls them via gc.collect().
2008-07-06 03:35:58 +00:00
Facundo Batista 17f2e4acb9 Issue #3239. Differentiate the ascii call from the curses one and
the builtin one.
2008-07-05 20:39:59 +00:00
Facundo Batista 083902af8f Issue 3289. Removed two lines that ended doing nothing. 2008-07-05 19:19:50 +00:00
Georg Brandl 1ecce468f8 Keep below 80 chars. 2008-07-05 16:43:45 +00:00
Benjamin Peterson 87988b6753 make regrtest aware of the lib2to3 resource 2008-07-05 16:29:38 +00:00
Martin v. Löwis 5a9ef426a9 Disable lib2to3 by default, unless run explicitly. 2008-07-05 15:48:20 +00:00
Martin v. Löwis 5144ff5f78 Merged revisions 64285-64735 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r64493 | benjamin.peterson | 2008-06-24 04:14:14 +0200 (Di, 24 Jun 2008) | 1 line

  add a fix_import mapping for cPickle -> pickle
........
  r64651 | brett.cannon | 2008-07-02 04:00:11 +0200 (Mi, 02 Jul 2008) | 3 lines

  Update fix_imports for urllib. Had to change the fixer itself to handle modules
  that are split across several renames in 3.0.
........
  r64669 | brett.cannon | 2008-07-02 21:43:48 +0200 (Mi, 02 Jul 2008) | 4 lines

  Backing out last change until fix_imports is working again. Also re-enable the
  testing for fix_imports; if it is deemed that it takes too long to run then a
  random sample should be taken and used to test it.
........
2008-07-05 15:45:45 +00:00
Mark Dickinson ecf8d8cc4b Minor rewrite of cmath_log to work around a Sun compiler bug. See issue
#3168.
2008-07-05 15:25:48 +00:00
Mark Dickinson bf9f4d8015 Issue 3188: accept float('infinity') as well as float('inf'). This
makes the float constructor behave in the same way as specified
by various other language standards, including C99, IEEE 754r,
and the IBM Decimal standard.
2008-07-05 11:33:52 +00:00
Georg Brandl e78fbcce3e #2663: support an *ignore* argument to shutil.copytree(). Patch by Tarek Ziade.
This is a new feature, but Barry authorized adding it in the beta period.
2008-07-05 10:13:36 +00:00
Georg Brandl 3c0fd5616f Fix tabs. 2008-07-05 10:07:18 +00:00
Raymond Hettinger afae11ea88 Update comment on prediction macros. 2008-07-05 02:11:55 +00:00
Georg Brandl 66ef83bd9d Give the pickle special methods a signature. 2008-07-04 17:22:53 +00:00