]> granicus.if.org Git - python/log
python
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.

17 years agoBackport r54786:
Walter Dörwald [Sat, 21 Apr 2007 10:31:43 +0000 (10:31 +0000)]
Backport r54786:
Fix utf-8-sig incremental decoder, which didn't recognise a BOM when the
first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.

17 years agoBackport r54671 - fix in python.sty.
Georg Brandl [Sat, 21 Apr 2007 07:30:52 +0000 (07:30 +0000)]
Backport r54671 - fix in python.sty.

17 years agoBackport r54762: exceptions are no longer old-style instances.
Georg Brandl [Sat, 21 Apr 2007 07:28:26 +0000 (07:28 +0000)]
Backport r54762: exceptions are no longer old-style instances.

17 years agoBackport r54763: repair missing spaces after \UNIX.
Georg Brandl [Sat, 21 Apr 2007 07:25:39 +0000 (07:25 +0000)]
Backport r54763: repair missing spaces after \UNIX.

17 years agoBackport r54787 - better error messages in rexec and bastion
Georg Brandl [Sat, 21 Apr 2007 07:23:36 +0000 (07:23 +0000)]
Backport r54787 - better error messages in rexec and bastion

17 years agoBackport r54757 - missing NULL checks.
Georg Brandl [Sat, 21 Apr 2007 07:22:57 +0000 (07:22 +0000)]
Backport r54757 - missing NULL checks.

17 years agoPatch #1695229: Fix a regression with tarfile.open() and a missing name
Lars Gustäbel [Fri, 20 Apr 2007 20:10:59 +0000 (20:10 +0000)]
Patch #1695229: Fix a regression with tarfile.open() and a missing name
argument.

17 years agoFix directory names to have only one trailing slash.
Lars Gustäbel [Fri, 20 Apr 2007 14:49:02 +0000 (14:49 +0000)]
Fix directory names to have only one trailing slash.
A regression from rev. 52525.

17 years agoTagging for release of Python 2.5.1
Anthony Baxter [Wed, 18 Apr 2007 03:53:15 +0000 (03:53 +0000)]
Tagging for release of Python 2.5.1

17 years ago2.5.1 final v2.5.1
Anthony Baxter [Wed, 18 Apr 2007 03:35:45 +0000 (03:35 +0000)]
2.5.1 final

17 years agoRevert 53667
Raymond Hettinger [Wed, 18 Apr 2007 02:02:15 +0000 (02:02 +0000)]
Revert 53667

17 years agoRevert SF #1615701 (rev 53655): dict.update() does *not* call __getitem__() or
Neal Norwitz [Mon, 16 Apr 2007 06:59:13 +0000 (06:59 +0000)]
Revert SF #1615701 (rev 53655): dict.update() does *not* call __getitem__() or
keys() if subclassed.  This is to remain consistent with 2.5.

See discussion here:
  http://mail.python.org/pipermail/python-dev/2007-April/072565.html

17 years agoRevert 54805 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.
Neal Norwitz [Mon, 16 Apr 2007 06:20:14 +0000 (06:20 +0000)]
Revert 54805 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.

17 years agoRevert 54813 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.
Neal Norwitz [Mon, 16 Apr 2007 06:19:52 +0000 (06:19 +0000)]
Revert 54813 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.

17 years agoRevert 54815 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.
Neal Norwitz [Mon, 16 Apr 2007 06:19:32 +0000 (06:19 +0000)]
Revert 54815 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.

17 years agoSF #1701207: svnversion_init assertion failed
Neal Norwitz [Mon, 16 Apr 2007 06:12:02 +0000 (06:12 +0000)]
SF #1701207: svnversion_init assertion failed

Revert bogus asserts (added to the wrong place) from rev 52501.

Approved by Anthony.

17 years agoFix potential crash in path manipulation on windows
Kristján Valur Jónsson [Fri, 13 Apr 2007 22:21:07 +0000 (22:21 +0000)]
Fix potential crash in path manipulation on windows

17 years agoFix a bug when using the __lltrace__ opcode tracer, and a problem sith signed chars...
Kristján Valur Jónsson [Fri, 13 Apr 2007 22:09:59 +0000 (22:09 +0000)]
Fix a bug when using the __lltrace__ opcode tracer, and a problem sith signed chars in frameobject.c which can occur with opcodes > 127

17 years agoAdd code to read from master_fd in the parent, breaking when we get an OSError
Barry Warsaw [Fri, 13 Apr 2007 16:12:02 +0000 (16:12 +0000)]
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 agoDescribe undocumented third argument to touchline()
Andrew M. Kuchling [Wed, 11 Apr 2007 13:47:58 +0000 (13:47 +0000)]
Describe undocumented third argument to touchline()

17 years agoTagging for release of Python 2.5.1c1
Anthony Baxter [Thu, 5 Apr 2007 06:37:33 +0000 (06:37 +0000)]
Tagging for release of Python 2.5.1c1

17 years agoFix unpack so it works on 64-bit platforms. v2.5.1c1
Neal Norwitz [Thu, 5 Apr 2007 05:06:49 +0000 (05:06 +0000)]
Fix unpack so it works on 64-bit platforms.

17 years agopreparing for 2.5.1c1
Anthony Baxter [Thu, 5 Apr 2007 04:52:06 +0000 (04:52 +0000)]
preparing for 2.5.1c1

17 years agoFix-up error-exits on struct_unpack().
Raymond Hettinger [Wed, 4 Apr 2007 21:57:12 +0000 (21:57 +0000)]
Fix-up error-exits on struct_unpack().

17 years agoBug #1563759: struct.unpack doens't support buffer protocol objects
Raymond Hettinger [Wed, 4 Apr 2007 20:32:03 +0000 (20:32 +0000)]
Bug #1563759: struct.unpack doens't support buffer protocol objects

17 years agoBug #1686475: Support stat'ing open files on Windows again.
Martin v. Löwis [Wed, 4 Apr 2007 18:30:56 +0000 (18:30 +0000)]
Bug #1686475: Support stat'ing open files on Windows again.

17 years ago- Fix an off-by-one bug in locale.strxfrm().
Matthias Klose [Tue, 3 Apr 2007 04:39:34 +0000 (04:39 +0000)]
- Fix an off-by-one bug in locale.strxfrm().

  Patch taken from http://bugs.debian.org/416934.

17 years agoSF #1382213: Tutorial section 9.5.1 ignores MRO for new-style classes
Raymond Hettinger [Tue, 3 Apr 2007 01:37:56 +0000 (01:37 +0000)]
SF #1382213:  Tutorial section 9.5.1 ignores MRO for new-style classes

17 years agoSF 1602378 Clarify docstrings for bisect
Raymond Hettinger [Tue, 3 Apr 2007 00:01:09 +0000 (00:01 +0000)]
SF 1602378 Clarify docstrings for bisect

17 years agoArray module's buffer interface can now handle empty arrays.
Raymond Hettinger [Mon, 2 Apr 2007 22:39:08 +0000 (22:39 +0000)]
Array module's buffer interface can now handle empty arrays.

17 years agoSF #1693079 Array module cannot pickle empty arrays
Raymond Hettinger [Mon, 2 Apr 2007 17:03:46 +0000 (17:03 +0000)]
SF #1693079 Array module cannot pickle empty arrays

17 years agoBackport 54644:
Neal Norwitz [Sun, 1 Apr 2007 18:29:47 +0000 (18:29 +0000)]
Backport 54644:
SF #1685563, MSVCCompiler creates redundant and long PATH strings

If MSVCCompiler.initialize() was called multiple times, the path
would get duplicated.  On Windows, this is a problem because the
path is limited to 4k.  There's no benefit in adding a path multiple
times, so prevent that from occuring.  We also normalize the path
before checking for duplicates so things like /a and /a/ won't both
be stored.

17 years agoBump the patch level version of distutils since there were a few bug fixes
Marc-André Lemburg [Sat, 31 Mar 2007 21:02:43 +0000 (21:02 +0000)]
Bump the patch level version of distutils since there were a few bug fixes
since the 2.5.0 release.

Backport of r54615.

17 years agoBug #1655392: don't add -L/usr/lib/pythonX.Y/config to the LDFLAGS
Georg Brandl [Sat, 31 Mar 2007 18:58:21 +0000 (18:58 +0000)]
Bug #1655392: don't add -L/usr/lib/pythonX.Y/config to the LDFLAGS
returned by python-config if Python was built with --enable-shared
because that prevented the shared library from being used.
  (backport from rev. 54634)

17 years agoBackport 54594:
Neal Norwitz [Sat, 31 Mar 2007 18:56:11 +0000 (18:56 +0000)]
Backport 54594:
Fix SF #1688393, sock.recvfrom(-24) crashes

Also fix some method names that were copied incorrectly (trunk fixed).

17 years agoAdd item
Andrew M. Kuchling [Fri, 30 Mar 2007 17:58:16 +0000 (17:58 +0000)]
Add item

17 years agoIn Windows' time.clock(), when QueryPerformanceFrequency() fails,
Georg Brandl [Thu, 29 Mar 2007 12:42:16 +0000 (12:42 +0000)]
In Windows' time.clock(), when QueryPerformanceFrequency() fails,
the C lib's clock() is used, but it must be divided by CLOCKS_PER_SEC
as for the POSIX implementation (thanks to #pypy).
 (backport from rev. 54606)

17 years agoPatch #1489771: update syntax rules in Python Reference Manual.
Žiga Seilnacht [Sat, 24 Mar 2007 14:27:21 +0000 (14:27 +0000)]
Patch #1489771: update syntax rules in Python Reference Manual.
Python 2.5 added support for explicit relative import statements and
yield expressions, which were missing in the manual.
Also fix grammar productions that used the names from the Grammar file,
markup that broke the generated grammar.txt, and wrap some lines that
broke the pdf output.
 (backport from rev. 54559)

17 years agoPrevent creation (followed by a segfault) of array types when the size
Thomas Heller [Fri, 23 Mar 2007 19:56:45 +0000 (19:56 +0000)]
Prevent creation (followed by a segfault) of array types when the size
overflows the valid Py_ssize_t range.  Check return values of
PyMem_Malloc.

Backported from trunk.

17 years agoBug #978833: Revert r50844, as it broke _socketobject.dup.
Martin v. Löwis [Fri, 23 Mar 2007 13:27:29 +0000 (13:27 +0000)]
Bug #978833: Revert r50844, as it broke _socketobject.dup.

17 years agoPatch #1686451: Fix return type for PySequence_{Count,Index,Fast_GET_SIZE}.
Martin v. Löwis [Fri, 23 Mar 2007 10:35:57 +0000 (10:35 +0000)]
Patch #1686451: Fix return type for PySequence_{Count,Index,Fast_GET_SIZE}.

17 years agoExplain the purpose of the b_needsfree flag. This answers Neals
Thomas Heller [Thu, 22 Mar 2007 20:33:04 +0000 (20:33 +0000)]
Explain the purpose of the b_needsfree flag.  This answers Neals
question (well, two months too late).

17 years agoBack out "Patch #1643874: memory leak in ctypes fixed."
Thomas Heller [Thu, 22 Mar 2007 19:43:37 +0000 (19:43 +0000)]
Back out "Patch #1643874: memory leak in ctypes fixed."

The code in this patch leaves no way to give up the ownership of a
BSTR instance.

17 years agoBug #1685704: use -m switch in timeit docs.
Georg Brandl [Thu, 22 Mar 2007 08:05:53 +0000 (08:05 +0000)]
Bug #1685704: use -m switch in timeit docs.
 (backport from rev. 54524)

17 years agoBug #1675967: re patterns pickled with older Python versions can
Žiga Seilnacht [Wed, 21 Mar 2007 20:37:39 +0000 (20:37 +0000)]
Bug #1675967: re patterns pickled with older Python versions can
now be unpickled.
 (backport form rev. 54492)

17 years agoTest and fix fromkeys optional argument.
Raymond Hettinger [Wed, 21 Mar 2007 20:36:45 +0000 (20:36 +0000)]
Test and fix fromkeys optional argument.

17 years agoAdd NEWS entry for old item
Andrew M. Kuchling [Wed, 21 Mar 2007 16:52:51 +0000 (16:52 +0000)]
Add NEWS entry for old item

17 years agoBug #1684254: webbrowser now uses shlex to split any command lines
Georg Brandl [Wed, 21 Mar 2007 11:52:38 +0000 (11:52 +0000)]
Bug #1684254: webbrowser now uses shlex to split any command lines
given to get(). It also detects when you use '&' as the last argument
and creates a BackgroundBrowser then.
 (backport -- this is a regression from 2.4 and therefore backported)

17 years agoPatch #1684834: document some utility C API functions.
Georg Brandl [Wed, 21 Mar 2007 09:17:36 +0000 (09:17 +0000)]
Patch #1684834: document some utility C API functions.
 (backport from rev. 54483)

17 years agoPatch #1682205: a TypeError while unpacking an iterable is no longer
Georg Brandl [Wed, 21 Mar 2007 09:00:55 +0000 (09:00 +0000)]
Patch #1682205: a TypeError while unpacking an iterable is no longer
masked by a generic one with the message "unpack non-sequence".
 (backport from rev. 54480)

17 years agoExtend work on rev 52962 and 53830 eliminating redundant PyObject_Hash() calls and...
Raymond Hettinger [Tue, 20 Mar 2007 21:45:04 +0000 (21:45 +0000)]
Extend work on rev 52962 and 53830 eliminating redundant PyObject_Hash() calls and fixing set/dict interoperability.

17 years agoAdd new example
Raymond Hettinger [Tue, 20 Mar 2007 21:12:23 +0000 (21:12 +0000)]
Add new example

17 years agoBackport docs for recv_into and recvfrom_into.
Georg Brandl [Sun, 18 Mar 2007 08:26:23 +0000 (08:26 +0000)]
Backport docs for recv_into and recvfrom_into.

17 years agomove note to the correct section
Gregory P. Smith [Sat, 17 Mar 2007 22:32:49 +0000 (22:32 +0000)]
move note to the correct section

17 years agoRFE #1670167: fix in isinstance() docs.
Georg Brandl [Fri, 16 Mar 2007 08:33:51 +0000 (08:33 +0000)]
RFE #1670167: fix in isinstance() docs.
 (backport from rev. 54409)

17 years agoPatch #1642547: Fix an error/crash when encountering syntax errors in complex if...
Collin Winter [Fri, 16 Mar 2007 04:12:48 +0000 (04:12 +0000)]
Patch #1642547: Fix an error/crash when encountering syntax errors in complex if statements.
Backported from r54404.