219 Commits

Author SHA1 Message Date
Benjamin Peterson
1f2d56dfc2 Merged revisions 70707 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70707 | benjamin.peterson | 2009-03-30 09:51:56 -0500 (Mon, 30 Mar 2009) | 58 lines

  Merged revisions 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r70578 | benjamin.peterson | 2009-03-23 22:24:56 -0500 (Mon, 23 Mar 2009) | 1 line

    this is better written using assertRaises
  ........
    r70599 | benjamin.peterson | 2009-03-25 16:42:51 -0500 (Wed, 25 Mar 2009) | 1 line

    this can be slightly less ugly
  ........
    r70641 | guilherme.polo | 2009-03-27 16:43:08 -0500 (Fri, 27 Mar 2009) | 3 lines

    Adjusted _tkinter to compile without warnings when WITH_THREAD is not
    defined (part of issue #5035)
  ........
    r70642 | georg.brandl | 2009-03-27 19:48:48 -0500 (Fri, 27 Mar 2009) | 1 line

    Fix typo.
  ........
    r70650 | benjamin.peterson | 2009-03-28 14:16:10 -0500 (Sat, 28 Mar 2009) | 1 line

    give os.symlink and os.link() better parameter names #5564
  ........
    r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line

    Switch to fixed Sphinx version.
  ........
    r70661 | georg.brandl | 2009-03-28 14:57:36 -0500 (Sat, 28 Mar 2009) | 2 lines

    Add section numbering to some of the larger subdocuments.
  ........
    r70674 | guilherme.polo | 2009-03-29 05:19:05 -0500 (Sun, 29 Mar 2009) | 1 line

    Typo fix.
  ........
    r70691 | raymond.hettinger | 2009-03-29 13:51:11 -0500 (Sun, 29 Mar 2009) | 1 line

    Make life easier for non-CPython implementations.
  ........
    r70697 | benjamin.peterson | 2009-03-29 16:22:35 -0500 (Sun, 29 Mar 2009) | 1 line

    this has been fixed since 2.6 (I love removing these)
  ........
    r70698 | benjamin.peterson | 2009-03-29 16:31:05 -0500 (Sun, 29 Mar 2009) | 1 line

    thanks to guido's bytecode verifier, this is fixed
  ........
    r70700 | benjamin.peterson | 2009-03-29 16:50:14 -0500 (Sun, 29 Mar 2009) | 1 line

    use the awesome new status iterator
  ........
    r70704 | benjamin.peterson | 2009-03-29 21:49:32 -0500 (Sun, 29 Mar 2009) | 1 line

    there's actually three methods here #5600
  ........
................
2009-03-30 14:55:02 +00:00
Guilherme Polo
c891c641c6 Merged revisions 70221 via svnmerge from
svn+ssh://pythondev/python/branches/py3k

................
  r70221 | guilherme.polo | 2009-03-06 22:54:57 -0300 (Fri, 06 Mar 2009) | 15 lines

  Merged revisions 70218-70219 via svnmerge from
  svn+ssh://pythondev/python/trunk

  ........
    r70218 | guilherme.polo | 2009-03-06 22:19:12 -0300 (Fri, 06 Mar 2009) | 1 line

    Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string.
  ........
    r70219 | guilherme.polo | 2009-03-06 22:47:49 -0300 (Fri, 06 Mar 2009) | 4 lines

    Fixed issue #4792: Prevent a segfault in _tkinter by using the
    guaranteed to be safe interp argument given to the PythonCmd in place
    of the Tcl interpreter taken from a PythonCmd_ClientData.
  ........
................
2009-03-07 01:58: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
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
Guilherme Polo
bbd16c2c47 Merged revisions 68237 via svnmerge from
svn+ssh://pythondev/python/branches/py3k

........
  r68237 | guilherme.polo | 2009-01-03 20:00:39 -0200 (Sat, 03 Jan 2009) | 3 lines

  Fix for issue #3638: Remove module level functions in _tkinter that
  depend on TkappObject
........
2009-01-03 22:04:49 +00:00
Hirokazu Yamamoto
de60347b66 Issue #4313: Fixed segfault on IDLE exit. Reverted r57540 and reopened Issue #1028. 2008-11-18 04:33:04 +00:00
Marc-André Lemburg
4cc0f24857 Rename PyUnicode_AsString -> _PyUnicode_AsString and
PyUnicode_AsStringAndSize -> _PyUnicode_AsStringAndSize to mark
them for interpreter internal use only.

We'll have to rework these APIs or create new ones for the
purpose of accessing the UTF-8 representation of Unicode objects
for 3.1.
2008-08-07 18:54:33 +00:00
Amaury Forgeot d'Arc
e43d33a4db #3247 Get rid of Py_FindMethod; use tp_members instead.
Otherwise dir(_sre.SRE_Match) returns an empty list.

First step: handle most occurrences, remove tp_getattr and fill the tp_methods and tp_members slots.
Add some test about attribute access.
2008-07-02 20:50:16 +00:00
Martin v. Löwis
59683e8529 Merged revisions 64226 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64226 | martin.v.loewis | 2008-06-13 09:47:47 +0200 (Fr, 13 Jun 2008) | 2 lines

  Make more symbols static.
........
2008-06-13 07:50:45 +00:00
Martin v. Löwis
1a21451b1d Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
Christian Heimes
72b710a596 Renamed PyString to PyBytes 2008-05-26 13:28:38 +00:00
Martin v. Löwis
790465fd90 Change command line processing API to use wchar_t.
Fixes #2128.
2008-04-05 20:41:37 +00:00
Martin v. Löwis
b9279bc88f Remove baseName argument from Tkapp_New, as it apparently
isn't used anymore.
2008-04-05 19:47:23 +00:00
Christian Heimes
a34706f101 Merged revisions 59680-59695 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r59686 | guido.van.rossum | 2008-01-04 00:54:04 +0100 (Fri, 04 Jan 2008) | 2 lines

  Bug #1301: fixed a bad assert in _tkinter.
........
  r59687 | raymond.hettinger | 2008-01-04 01:01:15 +0100 (Fri, 04 Jan 2008) | 3 lines

  Finish-up the struct module optimizations started at the Iceland NFS sprint.
........
  r59688 | christian.heimes | 2008-01-04 01:04:52 +0100 (Fri, 04 Jan 2008) | 1 line

  Fixed #1687: plistlib.py restricts <integer> to Python int when writing
........
  r59689 | christian.heimes | 2008-01-04 01:37:34 +0100 (Fri, 04 Jan 2008) | 1 line

  Bug #1481296: Fixed long(float('nan'))!=0L.
........
  r59691 | andrew.kuchling | 2008-01-04 02:15:50 +0100 (Fri, 04 Jan 2008) | 1 line

  Markup fixes; grammar tweaks
........
  r59692 | andrew.kuchling | 2008-01-04 02:16:12 +0100 (Fri, 04 Jan 2008) | 1 line

  Add items
........
  r59694 | christian.heimes | 2008-01-04 02:48:50 +0100 (Fri, 04 Jan 2008) | 1 line

  Fixed math.copysign() on Windows
........
  r59695 | christian.heimes | 2008-01-04 03:03:25 +0100 (Fri, 04 Jan 2008) | 1 line

  Filled in some XXX comments
........
2008-01-04 03:06:10 +00:00
Christian Heimes
57dddfbbd6 Merged revisions 59642-59665 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r59653 | martin.v.loewis | 2008-01-01 22:05:17 +0100 (Tue, 01 Jan 2008) | 3 lines

  Return results from Python callbacks to Tcl as Tcl objects.
  Fixes Tk issue #1851526
........
  r59654 | martin.v.loewis | 2008-01-01 22:08:18 +0100 (Tue, 01 Jan 2008) | 4 lines

  Always convert Text.index result to string.
  This improves compatibility with Tcl 8.5, which would
  otherwise return textindex objects.
........
  r59655 | martin.v.loewis | 2008-01-01 22:09:07 +0100 (Tue, 01 Jan 2008) | 2 lines

  News item for r59653.
........
  r59656 | martin.v.loewis | 2008-01-02 00:00:00 +0100 (Wed, 02 Jan 2008) | 1 line

  Don't link with Tix; Tix is loaded dynamically by Tcl.
........
  r59657 | martin.v.loewis | 2008-01-02 00:00:48 +0100 (Wed, 02 Jan 2008) | 1 line

  Use Visual Studio 2009 on the build slaves.
........
  r59658 | martin.v.loewis | 2008-01-02 00:36:24 +0100 (Wed, 02 Jan 2008) | 1 line

  Test in PCbuild directory.
........
  r59661 | kurt.kaiser | 2008-01-02 05:11:28 +0100 (Wed, 02 Jan 2008) | 6 lines

  Issue1177
  r58207 and r58247 patch logic is reversed.  I noticed this when I
  tried to use urllib to retrieve a file which required auth.

  Fix that and add a test for 401 error to verify.
........
  r59662 | kurt.kaiser | 2008-01-02 06:23:38 +0100 (Wed, 02 Jan 2008) | 2 lines

  Change docstrings to comments so test output will display normally.
........
  r59665 | christian.heimes | 2008-01-02 18:43:40 +0100 (Wed, 02 Jan 2008) | 5 lines

  Removed PCbuild8/ directory and added a new build directory for VS 2005
  based on the VS 2008 build directory to PC/VS8.0. The script
  PCbuild/vs8to9.py was added to sync changes from PCbuild to PC/VS8.0.

  Kristjan, the initial creator of the PCbuild8 directory is fine with the replacement. I've moved the new version of the VS 2005 build directory next to the other legacy build directories. The new sync script is based on the work of wreck and syncs changes in the project, property and solution files.
........
2008-01-02 18:30:52 +00:00
Christian Heimes
90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 2007-12-19 02:45:37 +00:00
Martin v. Löwis
d1a1d1ed80 Remove PyInt_CheckExact. Add PyLong_AsLongAndOverflow. 2007-12-04 22:10:37 +00:00
Christian Heimes
217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 2007-12-02 14:31:20 +00:00
Christian Heimes
b2b6262831 Removed some leftovers from the str8 days 2007-11-22 05:56:35 +00:00
Guido van Rossum
82c0dfa3bd Return PyString, not PyBytes, for a bytes array.
Clean up trailing whitespace.
2007-11-21 20:09:18 +00:00
Kurt B. Kaiser
ab45e27f69 Tkinter binding involving Control-spacebar raises unicode error
Issue1028
2007-08-27 01:55:21 +00:00
Martin v. Löwis
4040fb8961 Create Unicode objects. 2007-08-13 06:01:43 +00:00