Commit Graph

40669 Commits

Author SHA1 Message Date
Mark Dickinson 5c2bb1a7d4 issue 3633: Solaris allows fullwidth Unicode digits in isxdigit, so
rewrite float.fromhex to only allow ASCII hex digits on all platforms.
(Tests for this are already present, but the test_float failures
on Solaris hadn't been noticed before.)

Reviewed by Antoine Pitrou.
2008-08-21 21:38:38 +00:00
Mark Dickinson 892429b08b Fix float.fromhex test to give additional information on failure. This
change is aimed at diagnosing issue 3633 (test_float fails on Solaris).

Reviewed by Benjamin Peterson
2008-08-21 20:02:24 +00:00
Barry Warsaw 6a0b559d26 done with the release 2008-08-21 02:12:56 +00:00
Barry Warsaw 118c9054ca Tagging 2.6b3 2008-08-21 01:15:57 +00:00
Barry Warsaw 07a4a3851d Bump to 2.6b3. 2008-08-21 01:15:08 +00:00
Hirokazu Yamamoto cd3b74d4e8 Reverted r65900. See http://mail.python.org/pipermail/python-checkins/2008-August/073116.html 2008-08-20 16:15:28 +00:00
Guido van Rossum f840296392 News for the tp_flags change. 2008-08-20 15:01:50 +00:00
Guido van Rossum 84b1e0fde7 News for the imageop fix. 2008-08-20 14:57:20 +00:00
Benjamin Peterson 73641d7eb4 fix up the multiprocessing docs a little 2008-08-20 14:07:59 +00:00
Hirokazu Yamamoto 838c79f472 Issue #3612: Added some missing basic types in ctypes.wintypes. 2008-08-20 13:14:07 +00:00
Hirokazu Yamamoto ccfdcd0cb2 fixed get_file_system in test_os.py ('path' is unicode on py3k and ansi on trunk) 2008-08-20 04:13:28 +00:00
Benjamin Peterson e6b5ba621f fix silly errors of mine 2008-08-20 02:15:42 +00:00
Benjamin Peterson 86da890a9e newSymbolTable is not public API 2008-08-20 01:44:45 +00:00
Benjamin Peterson e977ad4d7b deprecate some useless, noop methods in symtable 2008-08-20 01:42:01 +00:00
Benjamin Peterson f647dc10e3 add a NEWS note for new args syntax 2008-08-20 01:27:30 +00:00
Amaury Forgeot d'Arc 67f24f1ed6 follow-up of issue3473: update the compiler package to recognize the new syntax. 2008-08-20 00:08:47 +00:00
Benjamin Peterson bd6a05fe81 check that the parser module can handle the new keyword syntax 2008-08-19 22:06:11 +00:00
Benjamin Peterson bd7bda4345 Merged revisions 65876 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r65876 | benjamin.peterson | 2008-08-19 15:54:52 -0500 (Tue, 19 Aug 2008) | 1 line

  apply a fix I think will help Windows
........
2008-08-19 21:07:15 +00:00
Guido van Rossum 93ebfb1544 Issue 1179: [CVE-2007-4965] Integer overflow in imageop module. 2008-08-19 21:02:04 +00:00
Guido van Rossum 69ed1011aa Hopeful fix for issue 1878: remove Py_TPFLAGS_HAVE_VERSION_TAG from
Py_TPFLAGS_DEFAULT when not building the core.
2008-08-19 20:13:02 +00:00
Benjamin Peterson 80f0ed5bb1 allow keyword args to be passed in after *args #3473 2008-08-19 19:52:46 +00:00
Thomas Heller d9ccf8c547 COM method code is windows specific 2008-08-19 19:40:23 +00:00
Benjamin Peterson 6b094a4258 fix a little typo 2008-08-19 19:27:53 +00:00
Thomas Heller 0ad5ae02af Fix a regression introduced by rev. 63792: ctypes function pointers
that are COM methods must have a boolean True value.
2008-08-19 19:25:04 +00:00
Benjamin Peterson 4348a25665 silence callable warning in hmac 2008-08-19 19:07:38 +00:00
Jesse Noller 5bc9f4c09c issue3352: clean up the multiprocessing API to remove many get_/set_ methods and convert them to properties. Update the docs and the examples included. 2008-08-19 19:06:19 +00:00
Benjamin Peterson 7c972f971c get unparse to at least unparse its self 2008-08-19 17:59:23 +00:00
Thomas Heller 6626099520 Fix strange character in the docstring. 2008-08-19 17:47:13 +00:00
Benjamin Peterson d068ad5879 Merged revisions 65853-65854 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r65853 | benjamin.peterson | 2008-08-19 11:09:09 -0500 (Tue, 19 Aug 2008) | 1 line

  apply a patch for #3131. this solves the problem for the moment, but we should do some refactoring to get display logic out of RefactoringTool
........
  r65854 | benjamin.peterson | 2008-08-19 11:37:38 -0500 (Tue, 19 Aug 2008) | 1 line

  another quick fix to get lib2to3 to work
........
2008-08-19 16:41:34 +00:00
Georg Brandl 25c3408556 Fix grammar. 2008-08-18 23:09:49 +00:00
Benjamin Peterson facdd6ee9e update the threading docs to account for recent changes 2008-08-18 22:29:19 +00:00
Benjamin Peterson 6ee1a31e9b add py3k warnings for old threading APIs
they will still live in 3.0 but it can't hurt
2008-08-18 21:53:29 +00:00
Amaury Forgeot d'Arc 351ffb80c3 #2234 distutils failed with mingw binutils 2.18.50.20080109.
Be less strict when parsing these version numbers,
they don't necessarily follow the python numbering scheme.
2008-08-18 19:23:47 +00:00
Benjamin Peterson 26f521668a fix old API names in test_ssl 2008-08-18 18:39:57 +00:00
Benjamin Peterson 82aa201022 patch up multiprocessing until it's API can be changed too 2008-08-18 18:31:58 +00:00
Benjamin Peterson d810626f99 bring back the old API 2008-08-18 18:13:17 +00:00
Benjamin Peterson a9b2222de4 change a few uses of the threading APIs 2008-08-18 18:01:43 +00:00
Benjamin Peterson cbae869759 backport threading property changes 2008-08-18 17:45:09 +00:00
Benjamin Peterson d8a8972ca9 change threading.getIdent to a property
This is new in 2.6 so now need to worry about backwards compatibility :)
2008-08-18 16:40:03 +00:00
Eric Smith e5bdccc77b Backport of r63826.
Optimization of str.format() for cases with str, unicode, int, long,
and float arguments.  This gives about 30% speed improvement for the
simplest (but most common) cases.  This patch skips the __format__
dispatch, and also avoids creating an object to hold the format_spec.

Unfortunately there's a complication in 2.6 with int, long, and float
because they always expect str format_specs.  So in the unicode
version of this optimization, just check for unicode objects.  int,
float, long, and str can be added later, if needed.
2008-08-18 14:27:38 +00:00
Nick Coghlan 8e439a16b2 Fix typo 2008-08-18 13:32:19 +00:00
Nick Coghlan 6e8fef07e5 Issue 2235: document PyObject_HashNotImplemented 2008-08-18 13:14:22 +00:00
Nick Coghlan f70385a5c3 Belated NEWS entry for r65642 2008-08-18 12:42:46 +00:00
Marc-André Lemburg 4763f7184e Restore Python 2.3 compatibility and remove "with" usage. 2008-08-18 11:13:45 +00:00
Benjamin Peterson 541f7da3a9 add a test for reduce's move 2008-08-18 02:12:23 +00:00
Benjamin Peterson 08336e30ad follup to #3473: don't duplicate the reduce code 2008-08-18 02:01:21 +00:00
Benjamin Peterson 8692c79ba9 correct version 2008-08-18 01:27:05 +00:00
Brett Cannon 88f801d409 Update __all__ for cookielib, csv, os, and urllib2 for objects imported into
the module but exposed as part of the API.
2008-08-18 00:46:22 +00:00
Brett Cannon 7b96f07feb Remove an unneeded import of abc.ABCMeta from 'inspect'. 2008-08-18 00:41:11 +00:00
Brett Cannon 46225e77fa Remove two unneeded imports in 'io'. 2008-08-18 00:36:52 +00:00