Commit Graph

40021 Commits

Author SHA1 Message Date
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
Benjamin Peterson 4e47680060 let the term be linked 2008-07-03 13:01:17 +00:00
Benjamin Peterson 9385b9db8b lowercase glossary term 2008-07-03 12:57:35 +00:00
Martin v. Löwis 8c43641271 Patch #1622: Correct interpretation of various ZIP header fields.
Also fixes
- Issue #1526: Allow more than 64k files to be added to Zip64 file.

- Issue #1746: Correct handling of zipfile archive comments (previously
  archives with comments over 4k were flagged as invalid). Allow writing
  Zip files with archives by setting the 'comment' attribute of a ZipFile.
2008-07-03 12:51:14 +00:00
Andrew M. Kuchling f5d2b4ce93 Tweak wording 2008-07-03 12:50:03 +00:00
Amaury Forgeot d'Arc 968117e974 Try a blind fix to nismodule which fails on the solaris10 3.0 buildbot:
the GIL must be re-acquired in the callback function
2008-07-02 23:40:28 +00:00
Brett Cannon 0bfac6e5d8 Revert r64673 and instead just change the file encoding. 2008-07-02 21:52:42 +00:00
Brett Cannon 3bff9d269c FIx some Latin-1 characters to be UTF-8 as the file encoding specifies.
Closes issue #3261. THankjs Leo Soto for the bug report.
2008-07-02 21:40:11 +00:00
Jesse Noller 76cf55f499 Add #!/usr/bin/env python for ben 2008-07-02 16:56:51 +00:00
Facundo Batista 66c527755d Issue #449227: Now with the rlcompleter module, callable objects are
added a '(' when completed.
2008-07-02 16:52:55 +00:00
Jesse Noller 146b7ab818 Reenable the manager tests with Amaury's threading fix 2008-07-02 16:44:09 +00:00
Nick Coghlan c060b0e7eb Issue 3190: pydoc now hides module __package__ attributes 2008-07-02 13:09:19 +00:00
Mark Dickinson 70c3289085 Replace occurrences of '\d' with '[0-9]' in Decimal regex, to make sure
that the behaviour of Decimal doesn't change if/when re.UNICODE becomes
assumed in Python 3.0.

Also add a check that alternative Unicode digits (e.g. u'\N{FULLWIDTH
DIGIT ONE}') are *not* accepted in a numeric string.
2008-07-02 09:37:01 +00:00
Brett Cannon 8bb8fa5dd6 Handle urllib's renaming for Python 3.0:
* Deprecate urllib.urlopen() in favor of urllib2.urlopen() for 3.0.
* Update docs to mention split/rename of the module and deprecation of
  urlopen().

Changes to lib2to3 are in a separate commit. Work is for issue #2885.
2008-07-02 01:57:08 +00:00
Benjamin Peterson aac51b8a69 add ABC to the glossary 2008-07-01 23:33:06 +00:00
Georg Brandl aa76d77e2b Add a comment about incref'ing w. 2008-07-01 20:56:03 +00:00
Georg Brandl 3214a01d27 #1410739: add a footnote about "is" and "unusual" behavior. 2008-07-01 20:50:02 +00:00
Georg Brandl 1e0eefc4a1 #1523853: add note about fread(). 2008-07-01 20:45:09 +00:00
Amaury Forgeot d'Arc bdd941fac3 #3242: fix a crash in "print", if sys.stdout is set to a custom object,
whose write() method installs another sys.stdout.

Will backport.
2008-07-01 20:38:04 +00:00
Georg Brandl dbd0ae383d #3216: fix Execute's parameter description. 2008-07-01 20:18:10 +00:00
Georg Brandl 68b4e74a8d Add a link to PEP 324. 2008-07-01 19:59:00 +00:00
Benjamin Peterson a6a72923c7 write a short little section for multiprocessing; it still needs help 2008-07-01 19:51:54 +00:00
Benjamin Peterson 175e4d9663 #3219 repeated keyword arguments aren't allowed in function calls anymore 2008-07-01 19:34:52 +00:00
Amaury Forgeot d'Arc 1f40c8a8d7 #Issue3088 in-progress: Race condition with instances of classes derived from threading.local:
When a thread touches such an object for the first time, a new thread-local __dict__ is created,
and the __init__ method is run.
But a thread switch can occur here; if the other thread touches the same object, it installs another
__dict__; when the first thread resumes, it updates the dictionary of the second...

This is the deep cause of the failures in test_multiprocessing involving "managers" objects.

Also a 2.5 backport candidate.
2008-06-30 22:42:40 +00:00
Martin v. Löwis 1d2ce45689 Add _multiprocessing module. 2008-06-30 07:01:09 +00:00
Martin v. Löwis d84fd9599d Issue #3215: Build sqlite3 as sqlite3.dll, not sqlite3.pyd 2008-06-30 06:57:39 +00:00
Facundo Batista 763d309bba Fix #2702, with a correct accounting of recursion. 2008-06-30 01:10:55 +00:00
Vinay Sajip 1e022689b7 Updated to reflect change in logging.config to remove out-of-date comment in _install_handlers and the use of issubclass in place of equality comparison of classes. 2008-06-29 21:27:15 +00:00
Vinay Sajip 5ff7171ddc Removed out-of-date comment in _install_handlers and
used issubclass in place of equality comparison of classes.
2008-06-29 21:25:28 +00:00
Benjamin Peterson b7b8bff532 reinstate the ending backtick. thanks Nick :) 2008-06-29 13:43:07 +00:00
Benjamin Peterson efc4a3ac17 fix typo 2008-06-28 23:35:31 +00:00
Benjamin Peterson 6e4856a146 rewrap 2008-06-28 23:06:49 +00:00