summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate os.popen* and popen2 module in favor of the subprocess module.Neal Norwitz2007-05-111-0/+2
|
* Don't ever report a failure when the sum of the reference count differencesNeal Norwitz2007-05-111-1/+1
| | | | | | | are zero. This should help reduce the false positives. The message about references leaking is maintained to provide as much info as possible rather than simply suppressing the message at the source.
* Verify changes to the trunk go to the normal checkins listNeal Norwitz2007-05-071-1/+0
|
* Updates of recent changes to logging.Vinay Sajip2007-05-061-5/+16
|
* Deprecate BaseException.message as per PEP 352.Brett Cannon2007-05-051-0/+2
|
* Fix for #1303614 and #1174712:Armin Rigo2007-05-021-7/+3
| | | | | | | - __dict__ descriptor abuse for subclasses of built-in types - subclassing from both ModuleType and another built-in types Thanks zseil for the patch.
* There really are some tests that are problematic.Neal Norwitz2007-04-291-1/+1
|
* Patch #1698768: updated the "using Python on the Mac" intro.Georg Brandl2007-04-251-0/+2
|
* Bug #1706381: Specifying the SWIG option "-c++" in the setup.py fileGeorg Brandl2007-04-241-0/+4
| | | | | (as opposed to the command line) will now write file names ending in ".cpp" too.
* Added a comment about last change in urllib2.py (all 2xx responsesFacundo Batista2007-04-241-0/+4
| | | | are ok now).
* Add an optional address to copy the failure mails to.Neal Norwitz2007-04-201-3/+20
| | | | | | | | | Detect a conflict in the only file that should have outstanding changes when this script is run. This doesn't matter on the trunk, but does when run on a branch. Trunk always has the date set to today in boilerplate.tex. Each time a release is cut with a different date, a conflict occurs. (We could copy a known good version, but then we would lose changes to this file.)
* Add Travis Oliphant.Martin v. Löwis2007-04-171-1/+4
|
* When __slots__ are set to a unicode string, make it work the same asNeal Norwitz2007-04-141-0/+3
| | | | setting a plain string, ie don't expand to single letter identifiers.
* Fix utf-8-sig incremental decoder, which didn't recognise a BOM when theWalter Dörwald2007-04-121-0/+2
| | | | first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.
* SF 1193128: Let str.translate(None) be an identity transformationRaymond Hettinger2007-04-121-0/+4
|
* SF 1191699: Make slices picklableRaymond Hettinger2007-04-111-0/+2
|
* Add window.chgat() method, submitted via e-mail by Fabian KreutzAndrew M. Kuchling2007-04-111-0/+1
|
* Doc that file.next() has undefined behaviour when called on a file opened withBrett Cannon2007-04-081-0/+3
| | | | | | 'w'. Closes bug #1569057. To be backported once 2.5 branch is unfrozen.
* Bug #1686475: Support stat'ing open files on Windows again.Martin v. Löwis2007-04-041-0/+2
| | | | Will backport to 2.5.
* Implement a contextmanager test.test_support.catch_warning that canWalter Dörwald2007-04-031-0/+3
| | | | | | | be used to catch the last warning issued by the warning framework. Change test_warnings.py and test_structmembers.py to use this new contextmanager.
* - Fix an off-by-one bug in locale.strxfrm().Matthias Klose2007-04-031-0/+3
| | | | patch taken from http://bugs.debian.org/416934.
* time.strptime's caching of its locale object was being recreated when theBrett Cannon2007-04-011-0/+3
| | | | | | | | | locale changed but not used during the function call it was recreated during. The test in this checkin is untested (OS X does not have the proper locale support for me to test), although the fix for the bug this deals with was tested by the OP (#1290505). Once the buildbots verify the test at least doesn't fail it becomes a backport candidate.
* SF #1685563, MSVCCompiler creates redundant and long PATH stringsNeal Norwitz2007-04-011-1/+3
| | | | | | | | | | | 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. Will backport.
* Bug #1655392: don't add -L/usr/lib/pythonX.Y/config to the LDFLAGSGeorg Brandl2007-03-312-1/+7
| | | | | returned by python-config if Python was built with --enable-shared because that prevented the shared library from being used.
* Added timout parameter to telnetlib.Telnet. Also createdFacundo Batista2007-03-291-0/+5
| | | | | test_telnetlib.py with a basic test and timeout ones. Docs are also updated.
* Patch #1489771: update syntax rules in Python Reference Manual.Žiga Seilnacht2007-03-241-0/+3
| | | | | | | | 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. Will backport.
* Add note about type.__init__().Guido van Rossum2007-03-231-1/+2
|
* Added a 'create_connect()' function to socket.py, which creates aFacundo Batista2007-03-231-0/+4
| | | | | connection with an optional timeout, and modified httplib.py to use this function in HTTPConnection. Applies patch 1676823.
* Bug #978833: Revert r50844, as it broke _socketobject.dup.Martin v. Löwis2007-03-231-0/+2
| | | | Will backport.
* Patch #1686451: Fix return type for PySequence_{Count,Index,Fast_GET_SIZE}.Martin v. Löwis2007-03-231-0/+3
| | | | Will backport.
* Add Mark Dickinson for SF # 1675423.Neal Norwitz2007-03-231-0/+1
|
* - Bug #1683368: The object.__init__() and object.__new__() methods areGuido van Rossum2007-03-231-1/+8
| | | | | | | | | | | | | now stricter in rejecting excess arguments. The only time when either allows excess arguments is when it is not overridden and the other one is. For backwards compatibility, when both are overridden, it is a deprecation warning (for now; maybe a Py3k warning later). When merging this into 3.0, the warnings should become errors. Note: without the change to string.py, lots of spurious warnings happen. What's going on there?
* Back out "Patch #1643874: memory leak in ctypes fixed."Thomas Heller2007-03-221-2/+0
| | | | | The code in this patch leaves no way to give up the ownership of a BSTR instance.
* Bug #1675967: re patterns pickled with older Python versions canŽiga Seilnacht2007-03-211-0/+3
| | | | now be unpickled. Will backport.
* New test for rev. 54407 which only uses directories under TESTFN.Georg Brandl2007-03-211-0/+4
|
* Patch #1682205: a TypeError while unpacking an iterable is no longerGeorg Brandl2007-03-211-0/+3
| | | | masked by a generic one with the message "unpack non-sequence".
* Remove unused file spotted by Paul HankinNeal Norwitz2007-03-211-0/+2
|
* Try backing out 54407 to see if it corrects the problems on the WindowsNeal Norwitz2007-03-201-4/+0
| | | | | buildbots. This rev was backported, so we will need to keep both branches in sync, pending the outcome of the test after this checkin.
* Patch #1630118: add a SpooledTemporaryFile class to tempfile.Collin Winter2007-03-192-0/+3
|
* move note to the correct sectionGregory P. Smith2007-03-171-3/+3
|
* Patch #1675423: PyComplex_AsCComplex() now tries to convert an objectGeorg Brandl2007-03-171-0/+5
| | | | | | | to complex using its __complex__() method before falling back to the __float__() method. Therefore, the functions in the cmath module now can operate on objects that define a __complex__() method. (backport)
* Patch 1339796: add a relpath() function to os.path.Collin Winter2007-03-162-0/+3
|
* Patch #1623563: allow __class__ assignment for classes with __slots__.Žiga Seilnacht2007-03-162-0/+4
| | | | | The old and the new class are still required to have the same slot names, but the order in which they are specified is not relevant.
* Patch #1273829: os.walk() now has a "followlinks" parameter. If set toGeorg Brandl2007-03-161-0/+4
| | | | | True (which is not the default), it visits symlinks pointing to directories.
* Bug #1681228: the webbrowser module now correctly uses the defaultGeorg Brandl2007-03-161-0/+5
| | | | | | | GNOME or KDE browser, depending on whether there is a session of one of those present. Also, it tries the Windows default browser before trying Mozilla variants. (backport)
* Patch #1642547: Fix an error/crash when encountering syntax errors in ↵Collin Winter2007-03-161-0/+3
| | | | | | complex if statements. Will backport.
* Patch #1462488: prevent a segfault in object_reduce_ex() by splittingŽiga Seilnacht2007-03-151-0/+3
| | | | | the implementation for __reduce__ and __reduce_ex__ into two separate functions. Fixes bug #931877. Will backport.
* Patch #1681153: the wave module now closes a file object it opened ifGeorg Brandl2007-03-151-0/+3
| | | | initialization failed.
* Wrap a long line and fix a typo (is -> if)Neal Norwitz2007-03-151-3/+3
|
* Raise ResourceDenied in test_urllib2net when the Net connection goes bad.Brett Cannon2007-03-141-1/+2
|