]> granicus.if.org Git - python/log
python
17 years agoPatch #1673759: add a missing overflow check when formatting floats
Georg Brandl [Thu, 12 Jul 2007 08:38:04 +0000 (08:38 +0000)]
Patch #1673759: add a missing overflow check when formatting floats
with %G.
 (backport from rev. 56298)

17 years agoPatch #1739696: use code.co_code only if really necessary
Georg Brandl [Thu, 12 Jul 2007 08:11:32 +0000 (08:11 +0000)]
Patch #1739696: use code.co_code only if really necessary
 (backport from rev. 56296)

17 years agoPatch #1752270, #1750931: complain if urllib2 add_handler called
Georg Brandl [Thu, 12 Jul 2007 08:05:48 +0000 (08:05 +0000)]
Patch #1752270, #1750931: complain if urllib2 add_handler called
without handler.
 (backport from rev. 56293)

17 years agoFix #1752132: wrong comment in opcode description.
Georg Brandl [Wed, 11 Jul 2007 19:41:53 +0000 (19:41 +0000)]
Fix #1752132: wrong comment in opcode description.
 (backport from rev. 56280)

17 years agoPatch 1673122: be explicit about which libtool to use, to avoid name clashes
Ronald Oussoren [Mon, 9 Jul 2007 08:40:34 +0000 (08:40 +0000)]
Patch 1673122: be explicit about which libtool to use, to avoid name clashes
when a users install GNU libtool early in his PATH

17 years agoPatch 1693258: Fix for duplicate "preferences" menu-OS X
Ronald Oussoren [Mon, 9 Jul 2007 06:03:47 +0000 (06:03 +0000)]
Patch 1693258: Fix for duplicate "preferences" menu-OS X

Backport of 56204.

17 years agoFixes IDLE crash on OSX: some versions of Tcl/Tk on OSX don't have a
Ronald Oussoren [Mon, 9 Jul 2007 05:46:04 +0000 (05:46 +0000)]
Fixes IDLE crash on OSX: some versions of Tcl/Tk on OSX don't have a
console object, avoid crashing in that case.

17 years agoRemove duplicate sentence from alarm() doc.
Georg Brandl [Mon, 2 Jul 2007 11:54:30 +0000 (11:54 +0000)]
Remove duplicate sentence from alarm() doc.
 (backport from rev. 56143)

17 years agoFix a few webbrowser.py problems.
Georg Brandl [Sun, 1 Jul 2007 08:11:40 +0000 (08:11 +0000)]
Fix a few webbrowser.py problems.
 (backport from rev. 56137)

17 years agoDocument smtp.SMTPAuthenticationError.
Georg Brandl [Sat, 30 Jun 2007 11:01:05 +0000 (11:01 +0000)]
Document smtp.SMTPAuthenticationError.
 (backport from rev. 56129)

17 years agoFix a variable name in winreg docs.
Georg Brandl [Wed, 27 Jun 2007 14:09:59 +0000 (14:09 +0000)]
Fix a variable name in winreg docs.
 (backport from rev. 56091)

17 years agoBug #1742901: document None behavior of shlex.split.
Georg Brandl [Mon, 25 Jun 2007 15:21:26 +0000 (15:21 +0000)]
Bug #1742901: document None behavior of shlex.split.
 (backport from rev. 56084)

17 years agoBug #1739115: make shutil.rmtree docs clear wrt. file deletion.
Georg Brandl [Tue, 19 Jun 2007 12:38:26 +0000 (12:38 +0000)]
Bug #1739115: make shutil.rmtree docs clear wrt. file deletion.
 (backport from rev. 56040)

17 years agoBug #1737864: allow empty message in logging format routines.
Georg Brandl [Tue, 19 Jun 2007 12:36:06 +0000 (12:36 +0000)]
Bug #1737864: allow empty message in logging format routines.
 (backport from rev. 56038)

17 years agoSF #1738670, make example in doc work
Neal Norwitz [Sun, 17 Jun 2007 18:49:42 +0000 (18:49 +0000)]
SF #1738670, make example in doc work

17 years agoAdd missing \versionadded.
Georg Brandl [Sat, 16 Jun 2007 17:10:26 +0000 (17:10 +0000)]
Add missing \versionadded.
 (backport from rev. 56006)

17 years agoMerged revisions 55896 via svnmerge from
Thomas Heller [Fri, 15 Jun 2007 17:10:41 +0000 (17:10 +0000)]
Merged revisions 55896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes

........
  r55896 | thomas.heller | 2007-06-11 17:58:33 +0200 (Mo, 11 Jun 2007) | 3 lines

  Use "O&" in calls to PyArg_Parse when we need a 'void*' instead of "k"
  or "K" codes.
........

17 years agoPatch #1734014: Use _I64_MAX instead of LLONG_MAX.
Martin v. Löwis [Thu, 14 Jun 2007 20:47:15 +0000 (20:47 +0000)]
Patch #1734014: Use _I64_MAX instead of LLONG_MAX.

17 years agoProvide PY_LLONG_MAX on all systems having long long.
Martin v. Löwis [Wed, 13 Jun 2007 03:42:55 +0000 (03:42 +0000)]
Provide PY_LLONG_MAX on all systems having long long.

17 years agoBackport 55887:
Neal Norwitz [Mon, 11 Jun 2007 07:34:07 +0000 (07:34 +0000)]
Backport 55887:
Bug #1734723: Fix repr.Repr() so it doesn't ignore the maxtuple attribute.

17 years agoBackport 55882: SF #1734732, lower case the module names per PEP 8.
Neal Norwitz [Mon, 11 Jun 2007 05:36:48 +0000 (05:36 +0000)]
Backport 55882: SF #1734732, lower case the module names per PEP 8.

17 years agoBackport 55874:
Neal Norwitz [Mon, 11 Jun 2007 04:32:41 +0000 (04:32 +0000)]
Backport 55874:
Fix a bug when there was a newline in the string expandtabs was called on.
This also catches another condition that can overflow.

17 years agoBackport 55873:
Neal Norwitz [Mon, 11 Jun 2007 04:31:25 +0000 (04:31 +0000)]
Backport 55873:
Prevent these tests from running on Win64 since they don't apply there either

17 years agoBackport r55845: Provide LLONG_MAX for S390.
Martin v. Löwis [Sat, 9 Jun 2007 12:57:46 +0000 (12:57 +0000)]
Backport r55845: Provide LLONG_MAX for S390.

17 years agoPatch #1733960: Allow T_LONGLONG to accept ints.
Martin v. Löwis [Sat, 9 Jun 2007 08:01:33 +0000 (08:01 +0000)]
Patch #1733960: Allow T_LONGLONG to accept ints.

17 years agoPrevent expandtabs() on string and unicode objects from causing a segfault when
Neal Norwitz [Sat, 9 Jun 2007 04:06:30 +0000 (04:06 +0000)]
Prevent expandtabs() on string and unicode objects from causing a segfault when
a large width is passed on 32-bit platforms.  Found by Google.

It would be good for people to review this especially carefully and verify
I don't have an off by one error and there is no other way to cause overflow.

17 years agoMerged revisions 55129-55131 via svnmerge from
Thomas Heller [Fri, 8 Jun 2007 19:39:31 +0000 (19:39 +0000)]
Merged revisions 55129-55131 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes

........
  r55129 | thomas.heller | 2007-05-04 21:54:22 +0200 (Fr, 04 Mai 2007) | 3 lines

  Do not truncate 64-bit pointers to 32-bit integers.

  Fixes SF #1703286, will backport to release25-maint.
........
  r55131 | thomas.heller | 2007-05-04 21:56:32 +0200 (Fr, 04 Mai 2007) | 1 line

  Oops, these tests do not run on Windows CE.
........

17 years agoFix wrong documentation, and correct the punktuation.
Thomas Heller [Fri, 8 Jun 2007 19:19:24 +0000 (19:19 +0000)]
Fix wrong documentation, and correct the punktuation.
Closes [1700455].

Backported from trunk.

17 years agoBug #1733488: Fix compilation of bufferobject.c on AIX.
Martin v. Löwis [Fri, 8 Jun 2007 17:29:40 +0000 (17:29 +0000)]
Bug #1733488: Fix compilation of bufferobject.c on AIX.

17 years agobackport change 55821 to release25-maint
Kristján Valur Jónsson [Thu, 7 Jun 2007 23:56:18 +0000 (23:56 +0000)]
backport change 55821 to release25-maint

17 years agoPatch #1667860: Fix UnboundLocalError in urllib2.
Georg Brandl [Thu, 7 Jun 2007 13:34:41 +0000 (13:34 +0000)]
Patch #1667860: Fix UnboundLocalError in urllib2.
 (backport from rev. 55805)

17 years agoDisallow function calls like foo(None=1).
Georg Brandl [Thu, 7 Jun 2007 13:23:28 +0000 (13:23 +0000)]
Disallow function calls like foo(None=1).
Backport from py3k rev. 55708 by Guido.
 (backport from rev. 55802)

17 years agoBackport rev. 55783:
Georg Brandl [Tue, 5 Jun 2007 22:06:28 +0000 (22:06 +0000)]
Backport rev. 55783:
Patch by Tim Delany (missing DECREF). SF #1731330.

17 years agoFix for Windows: close a temporary file before trying to delete it.
Hye-Shik Chang [Tue, 5 Jun 2007 19:28:15 +0000 (19:28 +0000)]
Fix for Windows: close a temporary file before trying to delete it.

17 years ago(Backport from r55770)
Hye-Shik Chang [Tue, 5 Jun 2007 19:14:33 +0000 (19:14 +0000)]
(Backport from r55770)

Bug #1728403: Fix a bug that CJKCodecs StreamReader hangs when it
reads a file that ends with incomplete sequence and sizehint argument
for .read() is specified.

17 years agoBackport of r55752: make time.strptime() behave better when whitespace is in
Brett Cannon [Mon, 4 Jun 2007 00:14:06 +0000 (00:14 +0000)]
Backport of r55752: make time.strptime() behave better when whitespace is in
the format arguments.

17 years agoBackport 55731:
Neal Norwitz [Sat, 2 Jun 2007 18:53:07 +0000 (18:53 +0000)]
Backport 55731:
SF 1668596/1720897: distutils now copies data files
even if package_dir is empty.

17 years agoFix wrong issue number.
Georg Brandl [Fri, 1 Jun 2007 19:20:52 +0000 (19:20 +0000)]
Fix wrong issue number.
 (backport from rev. 55735)

17 years agoBug #1722484: remove docstrings again when running with -OO.
Georg Brandl [Fri, 1 Jun 2007 11:33:45 +0000 (11:33 +0000)]
Bug #1722484: remove docstrings again when running with -OO.
 (backport from rev. 55732)

17 years agoMerged revisions 55677 via svnmerge from
Thomas Heller [Wed, 30 May 2007 07:07:34 +0000 (07:07 +0000)]
Merged revisions 55677 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes

........
  r55677 | thomas.heller | 2007-05-30 09:01:25 +0200 (Mi, 30 Mai 2007) | 2 lines

  Correct the name of a field in the WIN32_FIND_DATAA and WIN32_FIND_DATAW structures.
  Closes bug #1726026.
........

17 years agoUpdated docstring for SysLogHandler (#1720726).
Vinay Sajip [Fri, 25 May 2007 07:27:30 +0000 (07:27 +0000)]
Updated docstring for SysLogHandler (#1720726).

17 years agoUpdated documentation for SysLogHandler (#1720726).
Vinay Sajip [Fri, 25 May 2007 07:21:19 +0000 (07:21 +0000)]
Updated documentation for SysLogHandler (#1720726).

17 years agoDocument "new" params to HTTPConnection/HTTPSConnection
Neal Norwitz [Tue, 22 May 2007 06:09:24 +0000 (06:09 +0000)]
Document "new" params to HTTPConnection/HTTPSConnection

17 years agoBackport rev 55465 by Nick Coghlan.
Georg Brandl [Sun, 20 May 2007 15:03:06 +0000 (15:03 +0000)]
Backport rev 55465 by Nick Coghlan.

17 years agoBackout the original 'fix' to 1721309 which had no effect.
Neal Norwitz [Sun, 20 May 2007 02:14:48 +0000 (02:14 +0000)]
Backout the original 'fix' to 1721309 which had no effect.
Different versions of Berkeley DB handle this differently.
The comments and bug report should have the details.  Memory is allocated
in 4.4 (and presumably earlier), but not in 4.5.  Thus
4.5 has the free error, but not earlier versions.

Mostly update comments, plus make the free conditional.

17 years agoBackport rev 55452:
Neal Norwitz [Sat, 19 May 2007 04:37:31 +0000 (04:37 +0000)]
Backport rev 55452:
Whoops, need to pay attention to those test failures.
Move the clear to *before* the first use, not after.

17 years agoBackport rev 55450:
Neal Norwitz [Sat, 19 May 2007 03:53:33 +0000 (03:53 +0000)]
Backport rev 55450:
SF bug #1721309: Clear data so random memory does not get freed.

17 years agoVerify neither dumps or loads overflow the stack and segfault.
Neal Norwitz [Fri, 18 May 2007 05:45:33 +0000 (05:45 +0000)]
Verify neither dumps or loads overflow the stack and segfault.

17 years agoDrop the max stack depth to something that works in 2.6
Neal Norwitz [Fri, 18 May 2007 05:12:22 +0000 (05:12 +0000)]
Drop the max stack depth to something that works in 2.6

17 years agofix argument name in documentation; match the implementation
Fred Drake [Thu, 17 May 2007 19:29:43 +0000 (19:29 +0000)]
fix argument name in documentation; match the implementation

17 years agoFix bug in marshal where bad data would cause a segfault due to
Neal Norwitz [Wed, 16 May 2007 20:09:36 +0000 (20:09 +0000)]
Fix bug in marshal where bad data would cause a segfault due to
lack of an infinite recursion check.

Contributed by Damien Miller at Google.

17 years agoBug #1719995: don't use deprecated method in sets example.
Georg Brandl [Wed, 16 May 2007 13:44:25 +0000 (13:44 +0000)]
Bug #1719995: don't use deprecated method in sets example.
 (backport from rev. 55383)

17 years agoAdd what looks like a necessary call to PyErr_NoMemory() when PyMem_MALLOC()
Neal Norwitz [Wed, 16 May 2007 04:35:11 +0000 (04:35 +0000)]
Add what looks like a necessary call to PyErr_NoMemory() when PyMem_MALLOC()
fails.

17 years agoHTML-escape the plain traceback in cgitb's HTML output, to prevent
Georg Brandl [Tue, 15 May 2007 20:19:39 +0000 (20:19 +0000)]
HTML-escape the plain traceback in cgitb's HTML output, to prevent
the traceback inadvertently or maliciously closing the comment and
injecting HTML into the error page.
 (backport from rev. 55348)

17 years agoBug #1046945: document SWIG options of distutils.
Georg Brandl [Sat, 12 May 2007 21:06:51 +0000 (21:06 +0000)]
Bug #1046945: document SWIG options of distutils.
 (backport from rev. 55287)

17 years agoUpdate DDJ link.
Georg Brandl [Fri, 11 May 2007 11:44:00 +0000 (11:44 +0000)]
Update DDJ link.
 (backport from rev. 55259)

17 years agoPatch #1714700: clarify os.linesep vs. tfiles opened in text mode.
Georg Brandl [Fri, 11 May 2007 11:03:46 +0000 (11:03 +0000)]
Patch #1714700: clarify os.linesep vs. tfiles opened in text mode.
 (backport)

17 years agoFix typo in docstring (the module is popen2, not 3).
Neal Norwitz [Fri, 11 May 2007 06:23:43 +0000 (06:23 +0000)]
Fix typo in docstring (the module is popen2, not 3).

17 years agoMark blocked revisions.
Thomas Heller [Thu, 10 May 2007 07:19:16 +0000 (07:19 +0000)]
Mark blocked revisions.

17 years agoMark already merged revisions.
Thomas Heller [Thu, 10 May 2007 06:53:40 +0000 (06:53 +0000)]
Mark already merged revisions.

17 years agoBackport checkin:
Walter Dörwald [Wed, 9 May 2007 18:13:53 +0000 (18:13 +0000)]
Backport checkin:
Fix a segfault when b"" was passed to b2a_qp() -- it was using strchr()
instead of memchr().

17 years agoBackport r55070: Stop using PyMem_FREE while the GIL is not held.
Neal Norwitz [Wed, 9 May 2007 06:45:53 +0000 (06:45 +0000)]
Backport r55070: Stop using PyMem_FREE while the GIL is not held.

17 years agoBackport: Add markup for True/False.
Neal Norwitz [Wed, 9 May 2007 06:44:23 +0000 (06:44 +0000)]
Backport: Add markup for True/False.

17 years agoMerge change 54983 from the trunk: Add the locale "English" to test_locale.py for...
Kristján Valur Jónsson [Mon, 7 May 2007 19:31:41 +0000 (19:31 +0000)]
Merge change 54983 from the trunk:  Add the locale "English" to test_locale.py for a windows run, since "En" isn't legal for the Visual C 8 runtime.  This update restores full testsuite compliance to VisualStudio 2005 builds, apart from unavailible external modules.

17 years agoMerge change 54982 from the trunk. This fixes the test_subprocess test in the testsu...
Kristján Valur Jónsson [Mon, 7 May 2007 19:25:38 +0000 (19:25 +0000)]
Merge change 54982 from the trunk.  This fixes the test_subprocess test in the testsuite for VisualStudio2005 builds, by "sanitizing" the "mode" that is used in the posixmodule's fdopen(). In particular the non-standard "U" mode character is removed.

17 years agothe nb_long slot on classobject instances now defaults to call the nb_int slot member...
Kristján Valur Jónsson [Mon, 7 May 2007 18:36:39 +0000 (18:36 +0000)]
the nb_long slot on classobject instances now defaults to call the nb_int slot member if there is no __long__ attribute found.  This is in accordance with a suggestion from Armin Rigo, and allows the test_getargs2.py test in the testsuite for x64

17 years agoFix two problems that emerged when the testsuite was run with an x64 build: PyLong_F...
Kristján Valur Jónsson [Mon, 7 May 2007 18:30:48 +0000 (18:30 +0000)]
Fix two problems that emerged when the testsuite was run with an x64 build:  PyLong_FromSSize_t incorrectly assumed an unsigned object, and itertools.count() had the wrong upper limit for the iterator.

17 years agoFix NonRecursiveMutex on x64. The signature of the faux-InterlockedCompareExchange...
Kristján Valur Jónsson [Mon, 7 May 2007 18:28:12 +0000 (18:28 +0000)]
Fix NonRecursiveMutex on x64.  The signature of the faux-InterlockedCompareExchange function was wrong:  It works with LONG and not PVOID objects, and it needs to have the target marked as volatile.  Further, it is not needed at all for x64 targets, since that platform always has the real McCoy.

17 years agoMerging change 55102 from the trunk:
Kristján Valur Jónsson [Mon, 7 May 2007 13:33:39 +0000 (13:33 +0000)]
Merging change 55102 from the trunk:
Fix those parts in the testsuite that assumed that sys.maxint would cause overflow on x64.  Now the testsuite is well behaved on that platform.

17 years agoBug #1713535 backport.
Georg Brandl [Sat, 5 May 2007 18:57:09 +0000 (18:57 +0000)]
Bug #1713535 backport.

17 years agoMerging changes 55092, 55101,55120 from trunk, making PCBuild8 solution up to date.
Kristján Valur Jónsson [Sat, 5 May 2007 08:32:03 +0000 (08:32 +0000)]
Merging changes 55092, 55101,55120 from trunk, making PCBuild8 solution up to date.

17 years agoBlocked revisions 54357 via svnmerge
Thomas Heller [Fri, 4 May 2007 22:08:22 +0000 (22:08 +0000)]
Blocked revisions 54357 via svnmerge

........
  r54357 | thomas.heller | 2007-03-13 21:42:52 +0100 (Tue, 13 Mar 2007) | 1 line

  Patch #1649190: Adding support for _Bool to ctypes as c_bool, by David Remahl.
........

17 years agoBackport checkin:
Walter Dörwald [Thu, 3 May 2007 15:16:16 +0000 (15:16 +0000)]
Backport checkin:
Clarify the behaviour of PyUnicode_DecodeUTF16(): A BOM is only skipped
in native order mode, and only if it's the first two bytes.

17 years agoMerged revisions 55027 via svnmerge from
Thomas Heller [Wed, 2 May 2007 19:41:16 +0000 (19:41 +0000)]
Merged revisions 55027 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes

........
  r55027 | thomas.heller | 2007-04-30 18:04:57 +0200 (Mo, 30 Apr 2007) | 8 lines

  When accessing the .value attribute of a c_wchar_p instance, and the
  instance does not point to a valid wchar_t zero-terminated string,
  raise a ValueError.  c_char_p does this already.

  The ValueError message now contains the correct pointer address.

  Will backport to release25-maint.
........

17 years agoAdditional changes to the property sheets in PCBuild8. Visual Studio doesn's save...
Kristján Valur Jónsson [Wed, 2 May 2007 16:08:51 +0000 (16:08 +0000)]
Additional changes to the property sheets in PCBuild8.  Visual Studio doesn's save those when it builds, unlike the .vcproj files, so I chekced in out-of-date versions.

17 years agoUndefine the Yield macro after including Python_ast.h where it may cause conflicts...
Kristján Valur Jónsson [Wed, 2 May 2007 16:02:48 +0000 (16:02 +0000)]
Undefine the Yield macro after including Python_ast.h where it may cause conflicts with winbase.h on Windows.

17 years agoMerging of change 55024 from the truk to release25-maint branch.
Kristján Valur Jónsson [Wed, 2 May 2007 15:55:14 +0000 (15:55 +0000)]
Merging of change 55024 from the truk to release25-maint branch.
Complete revamp of PCBuild8 directory.  Use subdirectories for each project under the main pcbuild solution.  Now make extensive use of property sheets to simplify project configuration. x64 build fully supported, and the process for building PGO version (Profiler Guided Optimization) simplified. All projects are now present, except _ssl, which needs to be reimplemented.  Also, some of the projects that require external libraries need extra work to fully compile on x64.

17 years agoPatch #1710352: add missing public functions to locale.__all__.
Georg Brandl [Tue, 1 May 2007 06:08:20 +0000 (06:08 +0000)]
Patch #1710352: add missing public functions to locale.__all__.
 (backport from rev. 55038)

17 years agoBug #1710295: exceptions are now new-style classes.
Georg Brandl [Tue, 1 May 2007 06:04:20 +0000 (06:04 +0000)]
Bug #1710295: exceptions are now new-style classes.
 (backport from rev. 55036)

17 years agoMerged revisions 55025 via svnmerge from
Thomas Heller [Mon, 30 Apr 2007 15:58:51 +0000 (15:58 +0000)]
Merged revisions 55025 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes

........
  r55025 | thomas.heller | 2007-04-30 17:44:17 +0200 (Mo, 30 Apr 2007) | 4 lines

  Make sure to call PyErr_NoMemory() in several places where
  PyMem_Malloc() could potentially fail.

  Will backport to the release25-maint branch.
........

17 years agoUpdate with the version that has been running for a while. Most of
Neal Norwitz [Sun, 29 Apr 2007 23:56:19 +0000 (23:56 +0000)]
Update with the version that has been running for a while.  Most of
the changes are to support multiple versions (ie, trunk and 2.5).
Also check for conflicts in the .tex file when a release is cut.

17 years agoBackport fix for r54646-7: properly clear locale cache in time.strptime when
Brett Cannon [Fri, 27 Apr 2007 23:17:43 +0000 (23:17 +0000)]
Backport fix for r54646-7: properly clear locale cache in time.strptime when
the locale changes between calls.

17 years agoBackport r54712: document that calling file.next() on a file open for writing
Brett Cannon [Fri, 27 Apr 2007 22:35:57 +0000 (22:35 +0000)]
Backport r54712: document that calling file.next() on a file open for writing
leads to undefined behaviour.

17 years agoVersion fix (bug #1708710)
Georg Brandl [Fri, 27 Apr 2007 19:19:29 +0000 (19:19 +0000)]
Version fix (bug #1708710)

17 years agofix some markup errors
Fred Drake [Thu, 26 Apr 2007 04:43:58 +0000 (04:43 +0000)]
fix some markup errors

17 years agobump email package version to 4.0.2
Barry Warsaw [Wed, 25 Apr 2007 19:26:37 +0000 (19:26 +0000)]
bump email package version to 4.0.2

17 years agoWhitespace normalization
Neal Norwitz [Wed, 25 Apr 2007 06:42:41 +0000 (06:42 +0000)]
Whitespace normalization

17 years agoMarkup fix.
Georg Brandl [Wed, 25 Apr 2007 06:25:57 +0000 (06:25 +0000)]
Markup fix.
 (backport from rev. 54951)

17 years agoPatch #1698768: updated the "using Python on the Mac" intro.
Georg Brandl [Wed, 25 Apr 2007 06:25:07 +0000 (06:25 +0000)]
Patch #1698768: updated the "using Python on the Mac" intro.
 (backport from rev. 54949)

17 years agoFix markup
Raymond Hettinger [Tue, 24 Apr 2007 22:04:26 +0000 (22:04 +0000)]
Fix markup

17 years agoBug #1706381: Specifying the SWIG option "-c++" in the setup.py file
Georg Brandl [Tue, 24 Apr 2007 15:27:25 +0000 (15:27 +0000)]
Bug #1706381: Specifying the SWIG option "-c++" in the setup.py file
(as opposed to the command line) will now write file names ending in
".cpp" too.
 (backport from rev. 54941)

17 years agoBug #1705717: error in sys.argv docs.
Georg Brandl [Tue, 24 Apr 2007 15:10:16 +0000 (15:10 +0000)]
Bug #1705717: error in sys.argv docs.
 (backport from rev. 54939)

17 years agoSome new year updates.
Georg Brandl [Tue, 24 Apr 2007 10:36:45 +0000 (10:36 +0000)]
Some new year updates.

17 years agoFix SF #1703110, Incorrect example for add_password() (use uri, not host)
Neal Norwitz [Tue, 24 Apr 2007 04:54:24 +0000 (04:54 +0000)]
Fix SF #1703110, Incorrect example for add_password() (use uri, not host)

17 years agoConvert PyUnit -> unittest. Backported from r54929.
Collin Winter [Tue, 24 Apr 2007 03:52:08 +0000 (03:52 +0000)]
Convert PyUnit -> unittest. Backported from r54929.

17 years agoRecommit r54805:
Barry Warsaw [Mon, 23 Apr 2007 01:58:33 +0000 (01:58 +0000)]
Recommit r54805:

Add code to read from master_fd in the parent, breaking when we get an OSError
(EIO can occur on Linux) or there's no more data to read.  Without this,
test_pty.py can hang on the waitpid() because the child is blocking on the
stdout write.  This will definitely happen on Mac OS X and could potentially
happen on other platforms.  See the comment for details.

17 years agoProperly implement Georg Brandl's Patch #1185447 to the 2.5 maintainance branch
Kristján Valur Jónsson [Sun, 22 Apr 2007 10:18:46 +0000 (10:18 +0000)]
Properly implement Georg Brandl's Patch #1185447 to the 2.5 maintainance branch

17 years agoBug #1704790: bind name "sys" locally in __del__ method so that it is
Georg Brandl [Sat, 21 Apr 2007 20:35:49 +0000 (20:35 +0000)]
Bug #1704790: bind name "sys" locally in __del__ method so that it is
not cleared before __del__ is run.
 (backport from rev. 54918)

17 years agoFix various minor issues discovered with static analysis using Visual Studio 2005...
Kristján Valur Jónsson [Sat, 21 Apr 2007 12:46:49 +0000 (12:46 +0000)]
Fix various minor issues discovered with static analysis using Visual Studio 2005 Team System.
Removed obsolete comment, since .dll modules are no longer supported on windows, only .pyd.

17 years agoBug #1704156: Support for unicode strings as input filenames is
Lars Gustäbel [Sat, 21 Apr 2007 12:20:09 +0000 (12:20 +0000)]
Bug #1704156: Support for unicode strings as input filenames is
neither documented nor intended but works in Python 2.4 under certain
conditions. This stopped working in 2.5 because struct.pack is used.
This small patch restores the old behaviour. A more solid solution is
planned for 2.6.