Commit Graph

38301 Commits

Author SHA1 Message Date
Brett Cannon 51d4aabf09 Add the terms "finder", "loader", and "importer" to the glossary. 2009-01-25 04:21:39 +00:00
Jesse Noller 41faa543b6 merge r68915 to py3k 2009-01-25 03:45:53 +00:00
Mark Dickinson cddcf444b2 Merged revisions 68903,68906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68903 | mark.dickinson | 2009-01-24 16:40:29 +0000 (Sat, 24 Jan 2009) | 5 lines

  Issue #1672332: Fix unpickling of subnormal floats, which was raising
  ValueError on some platforms as a result of the platform strtod setting
  errno on underflow.
........
  r68906 | mark.dickinson | 2009-01-24 21:08:38 +0000 (Sat, 24 Jan 2009) | 2 lines

  Issue #3657: fix occasional test_pickletools failures.
........
2009-01-24 21:46:33 +00:00
Mark Dickinson 3dfe55b6ff Merged revisions 68897 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68897 | mark.dickinson | 2009-01-24 16:17:27 +0000 (Sat, 24 Jan 2009) | 2 lines

  Issue #5025: Fix occasional test_kqueue failure on OS X.
........
2009-01-24 16:22:21 +00:00
Martin v. Löwis acbf461fe5 Merged revisions 68893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68893 | martin.v.loewis | 2009-01-24 16:47:27 +0100 (Sa, 24 Jan 2009) | 3 lines

  Issue #3881: Help Tcl to load even when started through the
  unreadable local symlink to "Program Files" on Vista.
........
2009-01-24 16:19:45 +00:00
Mark Dickinson 17e5587693 Merged revisions 68890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68890 | mark.dickinson | 2009-01-24 15:27:44 +0000 (Sat, 24 Jan 2009) | 6 lines

  Issue #4393: fix 3 classes of potential portability problems in longobject.c:
   - fix some places where counters into ob_digit were declared as
     int instead of Py_ssize_t
   - add (twodigit) casts where necessary
   - fix code in _PyLong_AsByteArray that uses << on negative values
........
2009-01-24 15:56:57 +00:00
Mark Dickinson d4624c3331 Some minor cleanups in PyLong_FromLong:
- fast path wasn't being properly taken for negative ints;
   thanks Victor Stinner for pointing this out.
 - use Py_SAFE_DOWNCAST instead of direct casting to digit
   (it's safer, especially if we ever consider moving to 30-bit
   digits)
 - cleaner way to write negation
2009-01-24 15:02:35 +00:00
Martin v. Löwis 59e4779abc Merged revisions 68885 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68885 | martin.v.loewis | 2009-01-24 15:00:33 +0100 (Sa, 24 Jan 2009) | 3 lines

  Issue #4710: Extract directories properly in the zipfile module;
  allow adding directories to a zipfile.
........
2009-01-24 14:10:07 +00:00
Kristján Valur Jónsson d9aab51945 Add a test for UNC import paths, see issue 3677 2009-01-24 10:50:45 +00:00
Kristján Valur Jónsson 92cb438448 Issue 3677: Release the path string on py3k 2009-01-24 10:33:25 +00:00
Alexandre Vassalotti e4bccb7146 Factor common branch in load_long().
Suggested by Neal Norwitz.
2009-01-24 01:47:57 +00:00
Jesse Noller 6fd47e2ce1 merge 68874 to py3kwq! 2009-01-23 14:09:08 +00:00
Hirokazu Yamamoto 21cbf5f896 Merged revisions 68457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68457 | kristjan.jonsson | 2009-01-10 05:10:59 +0900 | 1 line

  Issue 3677:  Fix import from UNC paths on Windows.
........
2009-01-23 07:23:03 +00:00
Alexandre Vassalotti bcd1e3a453 Clean up pickle usage examples. 2009-01-23 05:28:16 +00:00
Alexandre Vassalotti f7d08c7d54 Issue 2980: Protocol 0 is not truly restricted to ASCII. 2009-01-23 04:50:05 +00:00
Alexandre Vassalotti 4a72a196b8 Remove obsolete note on binary-mode vs. text-mode file. 2009-01-23 04:46:05 +00:00
Alexandre Vassalotti 446f7ffa0f Remove unnecessary copying in load_long(). 2009-01-23 04:43:46 +00:00
Benjamin Peterson aa06900347 Merged revisions 68750,68776-68777,68811,68842,68859 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68750 | benjamin.peterson | 2009-01-18 16:47:04 -0600 (Sun, 18 Jan 2009) | 1 line

  fix encoding cookie case
........
  r68776 | benjamin.peterson | 2009-01-19 10:17:54 -0600 (Mon, 19 Jan 2009) | 1 line

  move BufferedIOBase into the base class section
........
  r68777 | benjamin.peterson | 2009-01-19 10:18:27 -0600 (Mon, 19 Jan 2009) | 1 line

  add email address
........
  r68811 | benjamin.peterson | 2009-01-20 12:58:27 -0600 (Tue, 20 Jan 2009) | 1 line

  fix url
........
  r68842 | andrew.kuchling | 2009-01-20 20:16:26 -0600 (Tue, 20 Jan 2009) | 1 line

  Markup fixes
........
  r68859 | georg.brandl | 2009-01-22 12:29:28 -0600 (Thu, 22 Jan 2009) | 2 lines

  Clarify wording.
........
2009-01-23 03:26:36 +00:00
Brett Cannon 83b97306ae Ignore pyc and pyo files. 2009-01-22 22:45:00 +00:00
Brett Cannon 7f400e1366 Add some comment markers to more clearly delineate what different parts of the
code are for. Also add a note that the import * at the end of the file should
eventually go away.
2009-01-22 22:44:04 +00:00
Brett Cannon 5abdc93eb8 Add importlib.machinery with its first tenants, BuitinImporter and
FrozenImporter. Docs forthcoming.

I plan on all finders and loaders (and most likely hooks) to live
in imoprtlib.machinery. Utility stuff will end up in importlib.util.
Higher-level API stuff will stay on imoprtlib directly (e.g. import_module).
2009-01-22 22:43:07 +00:00
Jesse Noller 7b3c89d88c merge r68862 to py3k 2009-01-22 21:56:13 +00:00
Benjamin Peterson 60bbdd5c9f Blocked revisions 68850,68853 via svnmerge
........
  r68850 | raymond.hettinger | 2009-01-21 23:20:47 -0600 (Wed, 21 Jan 2009) | 1 line

  More doc tweaks.
........
  r68853 | raymond.hettinger | 2009-01-22 03:05:43 -0600 (Thu, 22 Jan 2009) | 1 line

  Update comments and add an optimized path for Counter.update().
........
2009-01-22 21:50:27 +00:00
Brett Cannon 33418c8feb Fix markup for arguments in importlib docs. 2009-01-22 18:37:20 +00:00
Antoine Pitrou 44bf631ad9 Followup of #4874: also fix multibytecodec.c 2009-01-22 11:59:55 +00:00
Antoine Pitrou 81fabdb437 Issue #4874: Most builtin decoders now reject unicode input. 2009-01-22 10:11:36 +00:00
Raymond Hettinger dd01f8f37b Update comments and add an optimized path for Counter.update(). 2009-01-22 09:09:55 +00:00
Raymond Hettinger 94adc8e4b5 More doc tweaks. 2009-01-22 05:27:37 +00:00
Benjamin Peterson c8b4ceceee Blocked revisions 68760,68793,68813,68826,68829,68831 via svnmerge
........
  r68760 | vinay.sajip | 2009-01-19 00:49:19 -0600 (Mon, 19 Jan 2009) | 1 line

  Added more cross-reference targets and tidied up list of useful handlers.
........
  r68793 | raymond.hettinger | 2009-01-19 21:36:36 -0600 (Mon, 19 Jan 2009) | 1 line

  Make merging easier by formattng comment blocks the same in Py3.1
........
  r68813 | raymond.hettinger | 2009-01-20 14:34:19 -0600 (Tue, 20 Jan 2009) | 3 lines

  Issue 4998:  __slots__ on Fractions was useless.
........
  r68826 | vinay.sajip | 2009-01-20 16:43:17 -0600 (Tue, 20 Jan 2009) | 1 line

  Issue 5013: Fixed bug in FileHandler when delay was set.
........
  r68829 | vinay.sajip | 2009-01-20 17:16:08 -0600 (Tue, 20 Jan 2009) | 1 line

  Issue 5013: Fixed bug in FileHandler when delay was set - added fix for RotatingFileHandler and changed header comment slightly.
........
  r68831 | raymond.hettinger | 2009-01-20 17:42:54 -0600 (Tue, 20 Jan 2009) | 1 line

  Beautify and cleanup the references section.
........
2009-01-22 03:21:11 +00:00
Benjamin Peterson c95d050c3c Blocked revisions 68843,68845 via svnmerge
........
  r68843 | raymond.hettinger | 2009-01-21 14:31:50 -0600 (Wed, 21 Jan 2009) | 1 line

  Simplify explanation of multiset operations by removing restrictions on negative inputs.
........
  r68845 | raymond.hettinger | 2009-01-21 17:12:51 -0600 (Wed, 21 Jan 2009) | 1 line

  Tighten-up the docs for Counter().
........
2009-01-22 02:24:32 +00:00
Raymond Hettinger 670eaec0ee Tighten-up the docs for Counter(). 2009-01-21 23:14:07 +00:00
Raymond Hettinger e0d1b9f11f Simplify explanation of multiset operations by removing restrictions on negative inputs. 2009-01-21 20:36:27 +00:00
Jesse Noller 63b3a97a2a merge r68839 forward to py3k 2009-01-21 02:15:48 +00:00
Antoine Pitrou 08838b6acf Merged revisions 68835 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68835 | antoine.pitrou | 2009-01-21 01:45:36 +0100 (mer., 21 janv. 2009) | 6 lines

  Issue #5008: When a file is opened in append mode with the new IO library,
  do an explicit seek to the end of file (so that e.g. tell() returns the
  file size rather than 0). This is consistent with the behaviour of the
  traditional 2.x file object.
........
2009-01-21 00:55:13 +00:00
Vinay Sajip 6268cbc771 Issue 5013: Fixed bug in FileHandler when delay was set - added fix for RotatingFileHandler and changed header comment slightly. 2009-01-21 00:19:28 +00:00
Raymond Hettinger b14043c1ec Beautify and cleanup the references section. 2009-01-20 23:44:31 +00:00
Raymond Hettinger c1234036c8 Revert part of r68799 which unintentionally updated this file. 2009-01-20 21:25:32 +00:00
Mark Dickinson 9ffc0205a6 Issue 4842, patch 2/2: int('3L') should be invalid in Python 3.x. 2009-01-20 20:45:53 +00:00
Mark Dickinson 8dd05147d6 Issue #4842, patch 1/2: fix pickle in Python 3.x so that pickling with the
'L' opcode always appends an 'L' on output, just as 2.x does.  When
unpickling, remove the trailing 'L' (if present) before passing the
result to PyLong_FromString.
2009-01-20 20:43:58 +00:00
Benjamin Peterson 6dc4396708 Blocked revisions 68764,68766 via svnmerge
........
  r68764 | benjamin.peterson | 2009-01-19 09:04:35 -0600 (Mon, 19 Jan 2009) | 3 lines

  Removed merge tracking for "svnmerge" for
  svn+ssh://pythondev@svn.python.org/python/branches/trunk-math
........
  r68766 | benjamin.peterson | 2009-01-19 09:06:33 -0600 (Mon, 19 Jan 2009) | 3 lines

  Removed merge tracking for "svnmerge" for
  svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade
........
2009-01-20 18:50:52 +00:00
Benjamin Peterson 152b6571a9 Merged revisions 68797,68801 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68797 | raymond.hettinger | 2009-01-20 01:11:47 -0600 (Tue, 20 Jan 2009) | 11 lines

  Don't disrupt automatic url target name generation
  with manually specified, conflicting names.

  Before:
      http://docs.python.org/dev/library/collections.html#id1

  After:
      http://docs.python.org/dev/library/collections.html#counter-objects
........
  r68801 | raymond.hettinger | 2009-01-20 04:46:23 -0600 (Tue, 20 Jan 2009) | 5 lines

  Use Georg's new permalinks to documentation by version number.
  That assures that IDLE's help always points to the correct
  version and the latest update with all bug fixes.
........
2009-01-20 15:01:54 +00:00
Benjamin Peterson e0c904111b Blocked revisions 68807 via svnmerge
........
  r68807 | benjamin.peterson | 2009-01-20 08:31:08 -0600 (Tue, 20 Jan 2009) | 1 line

  backport r68802 (bugfix)
........
2009-01-20 14:33:15 +00:00
Benjamin Peterson b36958a74b Blocked revisions 68803,68805 via svnmerge
........
  r68803 | raymond.hettinger | 2009-01-20 06:59:36 -0600 (Tue, 20 Jan 2009) | 1 line

  Fix typos.
........
  r68805 | benjamin.peterson | 2009-01-20 08:21:16 -0600 (Tue, 20 Jan 2009) | 1 line

  allow unicode keyword arguments for the ** syntax #4978
........
2009-01-20 14:24:13 +00:00
Raymond Hettinger 0bae662559 Fix typos. 2009-01-20 13:00:59 +00:00
Antoine Pitrou 4f7945f3b3 Fix typo 2009-01-20 11:42:11 +00:00
Raymond Hettinger a0fd8884ca Issue 4998: Decimal should not subclass or register with numbers.Real. 2009-01-20 07:24:44 +00:00
Raymond Hettinger 7bf3a0e866 Forward port r68797: Fix-up jump targets in collections docs. 2009-01-20 07:15:22 +00:00
Benjamin Peterson cd372c6a65 Blocked revisions 68789,68792 via svnmerge
........
  r68789 | raymond.hettinger | 2009-01-19 19:19:26 -0600 (Mon, 19 Jan 2009) | 6 lines

  Build-outs for Counter() class:
  * Constructor and update() support keyword args (like their dict counterparts).
  * The 'del' statement no longer raises KeyError for missing values.
  * Add multiset operations:  __add__, __sub__, __and__, __or__.
........
  r68792 | raymond.hettinger | 2009-01-19 20:24:38 -0600 (Mon, 19 Jan 2009) | 1 line

  Add Counter() to __all__.
........
2009-01-20 04:02:27 +00:00
Raymond Hettinger 4d2073a073 Forward port r68792 and r68789 putting Counter in __all__ and adding Counter buildouts. 2009-01-20 03:41:22 +00:00
Brett Cannon afccd63ac9 Document the (very small) public API for importlib. As time goes on and some
key refactorings occur more of the API will be exposed and documented.
2009-01-20 02:21:27 +00:00