Commit Graph

4606 Commits

Author SHA1 Message Date
Benjamin Peterson
9753b483e8 Merged revisions 69754,69794 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r69754 | benjamin.peterson | 2009-02-18 22:22:03 -0600 (Wed, 18 Feb 2009) | 54 lines

  Merged revisions 69576,69579-69580,69589,69619-69620,69633,69703-69704,69728-69730 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r69576 | georg.brandl | 2009-02-13 04:56:50 -0600 (Fri, 13 Feb 2009) | 1 line

    #1661108: note that urlsafe encoded string can contain "=".
  ........
    r69579 | georg.brandl | 2009-02-13 05:06:59 -0600 (Fri, 13 Feb 2009) | 2 lines

    Fix warnings GCC emits where the argument of PyErr_Format is a single variable.
  ........
    r69580 | georg.brandl | 2009-02-13 05:10:04 -0600 (Fri, 13 Feb 2009) | 2 lines

    Fix warnings GCC emits where the argument of PyErr_Format is a single variable.
  ........
    r69589 | martin.v.loewis | 2009-02-13 14:11:34 -0600 (Fri, 13 Feb 2009) | 2 lines

    Move amd64 properties further to the top, so that they override
    the linker options correctly.
  ........
    r69619 | benjamin.peterson | 2009-02-14 11:00:51 -0600 (Sat, 14 Feb 2009) | 1 line

    this needn't be a shebang line
  ........
    r69620 | georg.brandl | 2009-02-14 11:01:36 -0600 (Sat, 14 Feb 2009) | 1 line

    #5179: don't leak PIPE fds when child execution fails.
  ........
    r69633 | hirokazu.yamamoto | 2009-02-15 03:19:48 -0600 (Sun, 15 Feb 2009) | 1 line

    Fixed typo.
  ........
    r69703 | raymond.hettinger | 2009-02-16 16:42:54 -0600 (Mon, 16 Feb 2009) | 3 lines

    Issue 5229: Documentation for super() neglects to say what super() actually does
  ........
    r69704 | raymond.hettinger | 2009-02-16 17:00:25 -0600 (Mon, 16 Feb 2009) | 1 line

    Add explanation for super(type1, type2).
  ........
    r69728 | georg.brandl | 2009-02-17 18:22:55 -0600 (Tue, 17 Feb 2009) | 2 lines

    #5297: fix example.
  ........
    r69729 | georg.brandl | 2009-02-17 18:25:13 -0600 (Tue, 17 Feb 2009) | 2 lines

    #5296: sequence -> iterable.
  ........
    r69730 | georg.brandl | 2009-02-17 18:31:36 -0600 (Tue, 17 Feb 2009) | 2 lines

    #5268: mention VMSError.
  ........
................
  r69794 | benjamin.peterson | 2009-02-19 21:19:25 -0600 (Thu, 19 Feb 2009) | 1 line

  fix None errno #5312
................
2009-02-20 03:32:23 +00:00
Hirokazu Yamamoto
b0ab981da6 Merged revisions 69736 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r69736 | hirokazu.yamamoto | 2009-02-19 01:38:00 +0900 | 14 lines

  Merged revisions 69714,69718 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r69714 | hirokazu.yamamoto | 2009-02-17 19:12:10 +0900 | 1 line

    Issue #5292: Fixed mmap crash on its boundary access m[len(m)].
  ........
    r69718 | hirokazu.yamamoto | 2009-02-17 22:17:26 +0900 | 3 lines

    Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,
    The file was resized to wrong size.
  ........
................
2009-02-18 16:47:04 +00:00
Hirokazu Yamamoto
b44c6a5754 Merged revisions 69664 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r69664 | hirokazu.yamamoto | 2009-02-16 18:13:20 +0900 | 2 lines

  Issue #5249: time.strftime returned malformed string when format string
  contained non ascii character on windows.
........
2009-02-16 09:29:31 +00:00
Gregory P. Smith
3048ae15e7 - Issue #3745: Fix hashlib to always reject unicode and non buffer-api
supporting objects as input no matter how it was compiled (built in
  implementations or external openssl library).
2009-02-12 21:13:48 +00:00
Jesse Noller
982ecd4c78 Merge 68778,68788 to maint 2009-02-12 19:44:58 +00:00
Ronald Oussoren
b61b138745 Merged revisions 69540 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r69540 | ronald.oussoren | 2009-02-12 16:55:38 +0100 (Thu, 12 Feb 2009) | 5 lines

  This fixes issue5143 and includes a test.

  Issue5143 notes that getpath.c and main.c pass a 'char*' where
  a 'wchar_t*' is expected on OSX.
........
2009-02-12 15:56:48 +00:00
Thomas Heller
7aeaa27eef Merged revisions 69507 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r69507 | thomas.heller | 2009-02-10 19:59:04 +0100 (Di, 10 Feb 2009) | 13 lines

  (The fix has been slightly adjusted.)

  Merged revisions 69505 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r69505 | thomas.heller | 2009-02-10 19:43:01 +0100 (Di, 10 Feb 2009) | 3 lines

    Issue#5203: ctypes segfaults when passing a unicode string to a
    function without argtypes, if HAVE_USABLE_WCHAR_T is false.
  ........
................
2009-02-10 19:04:16 +00:00
Guilherme Polo
2b8debfc7c Hand-merged revision 69376 from
svn+ssh://pythondev/python/trunk

........
r69376 | guilherme.polo | 2009-02-06 20:26:22 -0200
Partial fix to issue #1731706: memory leak in Tkapp_Call when calling
from a thread different than the one that created the Tcl interpreter.
2009-02-06 23:30:11 +00:00
Benjamin Peterson
ca59077398 Merged revisions 69350 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r69350 | benjamin.peterson | 2009-02-05 20:40:07 -0600 (Thu, 05 Feb 2009) | 96 lines

  Merged revisions 69129-69131,69139-69140,69143,69154-69159,69169,69288-69289,69293,69297-69301,69348 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r69129 | benjamin.peterson | 2009-01-30 19:42:55 -0600 (Fri, 30 Jan 2009) | 1 line

    check the errno in bad fd cases
  ........
    r69130 | andrew.kuchling | 2009-01-30 20:50:09 -0600 (Fri, 30 Jan 2009) | 1 line

    Add a section
  ........
    r69131 | andrew.kuchling | 2009-01-30 21:26:02 -0600 (Fri, 30 Jan 2009) | 1 line

    Text edits and markup fixes
  ........
    r69139 | mark.dickinson | 2009-01-31 10:44:04 -0600 (Sat, 31 Jan 2009) | 2 lines

    Add an extra test for long <-> float hash equivalence.
  ........
    r69140 | benjamin.peterson | 2009-01-31 10:52:03 -0600 (Sat, 31 Jan 2009) | 1 line

    PyErr_BadInternalCall() raises a SystemError, not TypeError #5112
  ........
    r69143 | benjamin.peterson | 2009-01-31 15:00:10 -0600 (Sat, 31 Jan 2009) | 1 line

    I believe the intention here was to avoid a global lookup
  ........
    r69154 | benjamin.peterson | 2009-01-31 16:33:02 -0600 (Sat, 31 Jan 2009) | 1 line

    fix indentation in comment
  ........
    r69155 | david.goodger | 2009-01-31 16:53:46 -0600 (Sat, 31 Jan 2009) | 1 line

    markup fix
  ........
    r69156 | gregory.p.smith | 2009-01-31 16:57:30 -0600 (Sat, 31 Jan 2009) | 4 lines

    - Issue #5104: The socket module now raises OverflowError when 16-bit port and
      protocol numbers are supplied outside the allowed 0-65536 range on bind()
      and getservbyport().
  ........
    r69157 | benjamin.peterson | 2009-01-31 17:43:25 -0600 (Sat, 31 Jan 2009) | 1 line

    add explanatory comment
  ........
    r69158 | benjamin.peterson | 2009-01-31 17:54:38 -0600 (Sat, 31 Jan 2009) | 1 line

    more flags which only work for function blocks
  ........
    r69159 | gregory.p.smith | 2009-01-31 18:16:01 -0600 (Sat, 31 Jan 2009) | 2 lines

    Update doc wording as suggested in issue4903.
  ........
    r69169 | guilherme.polo | 2009-01-31 20:56:16 -0600 (Sat, 31 Jan 2009) | 3 lines

    Restore Tkinter.Tk._loadtk so this test doesn't fail for problems
    related to ttk.
  ........
    r69288 | georg.brandl | 2009-02-05 04:30:57 -0600 (Thu, 05 Feb 2009) | 1 line

    #5153: fix typo in example.
  ........
    r69289 | georg.brandl | 2009-02-05 04:37:07 -0600 (Thu, 05 Feb 2009) | 1 line

    #5144: document that PySys_SetArgv prepends the script directory (or the empty string) to sys.path.
  ........
    r69293 | georg.brandl | 2009-02-05 04:59:28 -0600 (Thu, 05 Feb 2009) | 1 line

    #5059: fix example.
  ........
    r69297 | georg.brandl | 2009-02-05 05:32:18 -0600 (Thu, 05 Feb 2009) | 1 line

    #5015: document PythonHome API functions.
  ........
    r69298 | georg.brandl | 2009-02-05 05:33:21 -0600 (Thu, 05 Feb 2009) | 1 line

    #4827: fix callback example.
  ........
    r69299 | georg.brandl | 2009-02-05 05:35:28 -0600 (Thu, 05 Feb 2009) | 1 line

    #4820: use correct module for ctypes.util.
  ........
    r69300 | georg.brandl | 2009-02-05 05:38:23 -0600 (Thu, 05 Feb 2009) | 1 line

    #4563: disable alpha and roman lists, fixes wrong formatting of contributor list.
  ........
    r69301 | georg.brandl | 2009-02-05 05:40:35 -0600 (Thu, 05 Feb 2009) | 1 line

    #5031: fix Thread.daemon property docs.
  ........
    r69348 | benjamin.peterson | 2009-02-05 19:47:31 -0600 (Thu, 05 Feb 2009) | 1 line

    fix download link
  ........
................
2009-02-06 02:50:18 +00:00
Guilherme Polo
ae0803cd66 Merged revisions 69222 via svnmerge from
svn+ssh://pythondev/python/branches/py3k

................
  r69222 | guilherme.polo | 2009-02-02 19:17:09 -0200 (Mon, 02 Feb 2009) | 13 lines

  Merged revisions 69217,69219 via svnmerge from
  svn+ssh://pythondev/python/trunk

  ........
    r69217 | guilherme.polo | 2009-02-02 19:08:32 -0200 (Mon, 02 Feb 2009) | 1 line

    Fix for issue #1581476
  ........
    r69219 | guilherme.polo | 2009-02-02 19:14:14 -0200 (Mon, 02 Feb 2009) | 1 line

    NEWS entry for issue #1581476
  ........
................
2009-02-02 21:23:52 +00:00
Mark Dickinson
d925ef83bc Merged revisions 69214 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r69214 | mark.dickinson | 2009-02-02 20:36:42 +0000 (Mon, 02 Feb 2009) | 4 lines

  Issue #1717: rename tp_compare to tp_reserved.  I'll change the
  type of tp_compare in a separate commit, for ease of reversion
  should things go wrong.
........
2009-02-02 20:41:29 +00:00
Mark Dickinson
9de2de59f0 Merged revisions 69181 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r69181 | mark.dickinson | 2009-02-01 10:28:51 +0000 (Sun, 01 Feb 2009) | 3 lines

  Issue #1717, stage 2: remove uses of tp_compare in Modules and most
  Objects.
........
2009-02-01 10:41:18 +00:00
Benjamin Peterson
a153f063e6 Merged revisions 69118 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r69118 | benjamin.peterson | 2009-01-29 21:39:35 -0600 (Thu, 29 Jan 2009) | 34 lines

  Merged revisions 68884,68973,68978,69003,69083,69112-69113 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r68884 | kristjan.jonsson | 2009-01-24 04:52:26 -0600 (Sat, 24 Jan 2009) | 1 line

    Add a test for UNC import paths, see issue 3677
  ........
    r68973 | georg.brandl | 2009-01-26 15:29:38 -0600 (Mon, 26 Jan 2009) | 2 lines

    Copy over docs on advanced role features from Sphinx docs.
  ........
    r68978 | mark.dickinson | 2009-01-26 15:51:56 -0600 (Mon, 26 Jan 2009) | 3 lines

    Issue #5073: Fix occasional failure of bsddb/test/test_lock.py.  Thanks
    Hirokazu Yamamoto for the patch.
  ........
    r69003 | benjamin.peterson | 2009-01-26 21:07:53 -0600 (Mon, 26 Jan 2009) | 1 line

    excellent place to use a set() #5069
  ........
    r69083 | benjamin.peterson | 2009-01-28 21:03:00 -0600 (Wed, 28 Jan 2009) | 1 line

    fix download url
  ........
    r69112 | benjamin.peterson | 2009-01-29 20:02:25 -0600 (Thu, 29 Jan 2009) | 1 line

    pep8tify conditionals
  ........
    r69113 | benjamin.peterson | 2009-01-29 20:24:39 -0600 (Thu, 29 Jan 2009) | 1 line

    make _tkinter._flatten check the result of PySequence_Size for errors #3880
  ........
................
2009-01-30 03:48:23 +00:00
Raymond Hettinger
825baf9c85 Fix signed/unsigned mismatch. 2009-01-26 16:54:24 +00:00
Raymond Hettinger
c578ec1a92 As discussed on python-dev, remove several operator functions
isSequenceType(), isMappingType(), and isNumberType() in favor
of using abstract base classes.  Also, remove repeat() and irepeat()
in favor of mul() and imul().
2009-01-26 03:44:49 +00:00
Mark Dickinson
b3128db9f2 Merged revisions 68908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r68908 | mark.dickinson | 2009-01-24 21:46:33 +0000 (Sat, 24 Jan 2009) | 15 lines

  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:47:45 +00:00
Antoine Pitrou
3986c6e128 Merged revisions 68857 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r68857 | antoine.pitrou | 2009-01-22 12:59:55 +0100 (jeu., 22 janv. 2009) | 3 lines

  Followup of #4874: also fix multibytecodec.c
........
2009-01-22 12:09:38 +00:00
Antoine Pitrou
e386cdcc46 Merged revisions 68855 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r68855 | antoine.pitrou | 2009-01-22 11:11:36 +0100 (jeu., 22 janv. 2009) | 3 lines

  Issue #4874: Most builtin decoders now reject unicode input.
........
2009-01-22 10:31:33 +00:00
Antoine Pitrou
25f4347a9a Merged revisions 68836 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r68836 | antoine.pitrou | 2009-01-21 01:55:13 +0100 (mer., 21 janv. 2009) | 12 lines

  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 01:05:40 +00:00
Mark Dickinson
053ce7e51d Merged revisions 68814-68815 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r68814 | mark.dickinson | 2009-01-20 20:43:58 +0000 (Tue, 20 Jan 2009) | 5 lines

  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.
........
  r68815 | mark.dickinson | 2009-01-20 20:45:53 +0000 (Tue, 20 Jan 2009) | 2 lines

  Issue 4842, patch 2/2:  int('3L') should be invalid in Python 3.x.
........
2009-01-20 21:20:01 +00:00
Benjamin Peterson
3cd2b94d5f Merged revisions 68767,68769-68770 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r68767 | benjamin.peterson | 2009-01-19 09:11:51 -0600 (Mon, 19 Jan 2009) | 9 lines

  Merged revisions 68755 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r68755 | benjamin.peterson | 2009-01-18 18:08:08 -0600 (Sun, 18 Jan 2009) | 1 line

    raise an OSError for invalid fds #4991
  ........
................
  r68769 | benjamin.peterson | 2009-01-19 09:15:02 -0600 (Mon, 19 Jan 2009) | 1 line

  reenable the invalid fd test for fdopen
................
  r68770 | benjamin.peterson | 2009-01-19 09:19:46 -0600 (Mon, 19 Jan 2009) | 1 line

  fix compiler warning
................
2009-01-19 15:35:29 +00:00
Benjamin Peterson
dd08d4a113 Merged revisions 68746 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r68746 | benjamin.peterson | 2009-01-18 16:27:04 -0600 (Sun, 18 Jan 2009) | 55 lines

  Merged revisions 68633,68648,68667,68706,68718,68720-68721,68724-68727,68739 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r68633 | thomas.heller | 2009-01-16 12:53:44 -0600 (Fri, 16 Jan 2009) | 3 lines

    Change an example in the docs to avoid a mistake when the code is copy
    pasted and changed afterwards.
  ........
    r68648 | benjamin.peterson | 2009-01-16 22:28:57 -0600 (Fri, 16 Jan 2009) | 1 line

    use enumerate
  ........
    r68667 | amaury.forgeotdarc | 2009-01-17 14:18:59 -0600 (Sat, 17 Jan 2009) | 3 lines

    #4077: No need to append \n when calling Py_FatalError
    + fix a declaration to make it match the one in pythonrun.h
  ........
    r68706 | benjamin.peterson | 2009-01-17 19:28:46 -0600 (Sat, 17 Jan 2009) | 1 line

    fix grammar
  ........
    r68718 | georg.brandl | 2009-01-18 04:42:35 -0600 (Sun, 18 Jan 2009) | 1 line

    #4976: union() and intersection() take multiple args, but talk about "the other".
  ........
    r68720 | georg.brandl | 2009-01-18 04:45:22 -0600 (Sun, 18 Jan 2009) | 1 line

    #4974: fix redundant mention of lists and tuples.
  ........
    r68721 | georg.brandl | 2009-01-18 04:48:16 -0600 (Sun, 18 Jan 2009) | 1 line

    #4914: trunc is in math.
  ........
    r68724 | georg.brandl | 2009-01-18 07:24:10 -0600 (Sun, 18 Jan 2009) | 1 line

    #4979: correct result range for some random functions.
  ........
    r68725 | georg.brandl | 2009-01-18 07:47:26 -0600 (Sun, 18 Jan 2009) | 1 line

    #4857: fix augmented assignment target spec.
  ........
    r68726 | georg.brandl | 2009-01-18 08:41:52 -0600 (Sun, 18 Jan 2009) | 1 line

    #4923: clarify what was added.
  ........
    r68727 | georg.brandl | 2009-01-18 12:25:30 -0600 (Sun, 18 Jan 2009) | 1 line

    #4986: augassigns are not expressions.
  ........
    r68739 | benjamin.peterson | 2009-01-18 15:11:38 -0600 (Sun, 18 Jan 2009) | 1 line

    fix test that wasn't working as expected #4990
  ........
................
2009-01-18 22:40:43 +00:00
Mark Dickinson
a3c4398af2 Merged revisions 68675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r68675 | mark.dickinson | 2009-01-17 21:57:11 +0000 (Sat, 17 Jan 2009) | 2 lines

  Replace PyNumber_Int with PyNumber_Long.
........
2009-01-18 11:01:50 +00:00
Mark Dickinson
d9a1c5611b Merged revisions 68650-68653 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r68650 | mark.dickinson | 2009-01-17 09:45:37 +0000 (Sat, 17 Jan 2009) | 2 lines

  Remove a couple of references to long in the c-api docs
........
  r68651 | mark.dickinson | 2009-01-17 10:04:45 +0000 (Sat, 17 Jan 2009) | 2 lines

  Issue #4910, patch 3/3:  rename nb_long to nb_reserved
........
  r68652 | mark.dickinson | 2009-01-17 10:21:23 +0000 (Sat, 17 Jan 2009) | 2 lines

  Fix a few more references to long integers in the docs.
........
  r68653 | mark.dickinson | 2009-01-17 10:48:28 +0000 (Sat, 17 Jan 2009) | 2 lines

  Remove attempted long->int conversions in py3k version of float.as_integer_ratio.
........
2009-01-17 18:00:58 +00:00
Mark Dickinson
a293b92737 Merged revisions 68638 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r68638 | mark.dickinson | 2009-01-16 19:31:13 +0000 (Fri, 16 Jan 2009) | 3 lines

  Define PY_SSIZE_T_CLEAN at the top of the dbm module.  This should fix the
  segfaults on the PPC64/Debian buildbots.
........
2009-01-16 20:25:35 +00:00