summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* pre-release magicAnthony Baxter2005-03-092-4/+4
|
* tabstop delenda estAnthony Baxter2005-03-091-3/+3
|
* SF #818006: revert addition of 'closed', 'mode', and 'name' attributesGreg Ward2005-03-091-14/+0
| | | | to oss_audio_device objects.
* Build with --disable-unicode again. Fixes #1158607.Martin v. Löwis2005-03-082-6/+14
|
* SF #818006: add useful read-only attributes to oss_audio_device object:Greg Ward2005-03-072-8/+31
| | | | | 'closed', 'name', and 'mode' (as recommended by http://python.org/doc/current/lib/bltin-file-objects.html).
* Ensure that warnings.filters is properly restored after fiddling with itGreg Ward2005-03-071-7/+10
| | | | (this was breaking test_warnings).
* SF #1149508: ensure textwrap handles hyphenated numbers correctly,Greg Ward2005-03-052-3/+22
| | | | eg. "2004-03-04" is not broken across lines.
* Patch #1075887: Don't require MSVC in distutils if there is nothingMartin v. Löwis2005-03-041-0/+6
| | | | to build. Will backport to 2.4
* Convert "__init__ should return None" from an exception to a warning.Raymond Hettinger2005-03-041-1/+7
|
* Patch #1103407: Properly deal with tarfile iterators when untarringMartin v. Löwis2005-03-031-4/+15
| | | | symbolic links on Windows. Fixes #1100429.
* Corrected bug in list2cmdline wrt backslashes. Fixes #1083306.Peter Astrand2005-03-031-0/+1
|
* Only run extensive subprocess tests if -usubprocess to regrtest is ↵Peter Astrand2005-03-032-4/+7
| | | | specified. Fixes #1124637
* SF bug #1155938: Missing None check for __init__().Raymond Hettinger2005-03-031-0/+13
|
* Revert previous checkin on getargs 'L' code. Try to convert allMartin v. Löwis2005-03-032-23/+5
| | | | numbers in PyLong_AsLongLong, and update test suite accordingly.
* Patch #1117454: Remove code to special-case cookies without valuesMartin v. Löwis2005-03-034-12/+23
| | | | in LWPCookieJar.
* Patch #1117339: Add cookielib special name tests.Martin v. Löwis2005-03-032-5/+28
|
* Patch #1112812: Make bsddb/__init__.py more friendly for modulefinder.Martin v. Löwis2005-03-031-2/+2
|
* Clear internal call error in 'L' format. Fixes #723201.Martin v. Löwis2005-03-031-1/+13
|
* Patch #1121234: Properly cleanup _exit and tkerror commands.Martin v. Löwis2005-03-011-0/+7
|
* Use getdoc(object) instead of object.__doc__ to fix indentation problems.Ka-Ping Yee2005-02-191-2/+10
| | | | | | | | | | | Thanks to Robert Dick <dickrp@ece.northwestern.edu> for reporting this bug and submitting a patch. Adjust doc(object) to display useful documentation for plain values (e.g. help([]) now shows the methods on the list instead of just printing "[]"). (This change has been tested interactively, by generating docs for the standard library, and by running the module documentation webserver.)
* Avoid using items() in environ.update(). Fixes #1124513.Martin v. Löwis2005-02-171-8/+18
|
* Backport: FixMichael W. Hudson2005-02-171-0/+3
| | | | | | | | [ 1124295 ] Function's __name__ no longer accessible in restricted mode which I introduced with a bit of mindless copy-paste when making __name__ writable. You can't assign to __name__ in restricted mode, which I'm going to pretend was intentional :)
* Remove dependency on order of mode flagsRaymond Hettinger2005-02-161-1/+1
|
* fix decoding in _stringify to not depend on the default encodingFred Drake2005-02-112-1/+43
| | | | (closes SF bug #1115989)
* Fix typoAndrew M. Kuchling2005-02-102-2/+2
|
* forwardport of 2.3.5 fixes to copy.pyAlex Martelli2005-02-072-3/+120
|
* SF patch #1116583: NameError in cookielib domain checkRaymond Hettinger2005-02-051-4/+3
|
* Recompiled after source changes.Thomas Heller2005-02-032-0/+0
|
* fix XMLFilterBase.resolveEntity() so the caller gets the resultFred Drake2005-02-031-1/+1
| | | | (PyXML bug #1112052)
* Security fix PSF-2005-001 for SimpleXMLRPCServer.py.Guido van Rossum2005-02-031-5/+29
|
* Revert os.py 1.75, and directly implement update.Martin v. Löwis2005-01-291-0/+22
| | | | Fixes #1110478 and #1100235.
* Fixed typo in verbose output for RLock acquire.Brett Cannon2005-01-271-1/+1
| | | | Fixes bug #1110998.
* Some bugs have been fixed in distutils, so increment the last part ofThomas Heller2005-01-201-1/+1
| | | | | the version number. For the distutils version numbering scheme, see http://mail.python.org/pipermail/distutils-sig/2005-January/004368.html
* Fix [ 1103844 ] fix distutils.install.dump_dirs() with negated options.Thomas Heller2005-01-201-2/+7
| | | | Backport from trunk.
* If an extension can't be loaded, print warning and skip it instead ofKurt B. Kaiser2005-01-192-1/+8
| | | | erroring out.
* Improve error handling when .idlerc can't be created (warn and exit)Kurt B. Kaiser2005-01-192-15/+19
|
* SF bug #1099516: tempfile files not types.FileTypeRaymond Hettinger2005-01-111-5/+5
| | | | Clarified that the returned object is file-like rather than an actual file.
* Backport checkin:Walter Dörwald2005-01-102-2/+32
| | | | Fix and test for SF bug #1098990: codec readline() splits lines apart.
* Backport for bug #839496: always read files in binary mode. Opening files inJohannes Gijsbers2005-01-101-5/+4
| | | | | text mode may cause newline translations, making the actual size of the content transmitted *less* than the content-length.
* Backport patch #712317: In URLs such as http://www.example.com?query=spam,Johannes Gijsbers2005-01-092-41/+63
| | | | | | treat '?' as a delimiter. Previously, the 'network location' (<authority> in RFC 2396) would become 'www.example.com?query=spam', while RFC 2396 does not allow a '?' in <authority>. See bug #548176 for further discussion.
* Backport patch #1095362: replace hardcoded test for POST/GET with call toJohannes Gijsbers2005-01-091-1/+1
| | | | | get_method, removing some duplication and gaining some flexibility in the process.
* Backport of 1.38:Jack Jansen2005-01-071-4/+7
| | | | Allow relative URLs for included databases and packages.
* Backported from the trunk:Jack Jansen2005-01-061-2/+4
| | | | | | | | | After discussion on the PythonMac-SIG it was decided that it is better to make using "-undefined dynamic_lookup" for linking extensions more automatic on 10.3 and later. So if we're on that platform and MACOSX_DEPLOYMENT_TARGET is not set we now set it to the current OSX version during configure. Additionally, distutils will pick up the configure-time value by default.
* Backport of 1.37:Jack Jansen2005-01-031-7/+43
| | | | | | | | | | - Added an "installer" flavor, which uses the "open" command to install something (overridable through Install-command entry) - Hidden status is now determined by flavor == hidden, not by missing Download-URL. Hidden packages behave like installer packages. - Made some error messages a bit more understandable. Because there's new functionality the version has been upped to 0.5.
* On UNIX, when the execution of the child fails, we must waitpid() toPeter Astrand2005-01-011-0/+1
| | | | prevent leaving zombies.
* SF patch #1094007: Remove witty comment in pydoc.pyRaymond Hettinger2005-01-011-2/+1
| | | | (Removed at Ping's request.)
* SF patch #1051395: locale.getdefaultlocale does not return tuple in some OSRaymond Hettinger2005-01-011-1/+1
| | | | (Contributed by Jiwon Seo.)
* Backport:Jack Jansen2004-12-312-7/+13
| | | | | | Fix for #1091468: DESTROOTed frameworkinstalls fail. Added a --destroot option to various tools, and do the right thing when we're doing a destroot install.
* Patch #1011890: fix inspect.getsource breaking with line-continuation &Johannes Gijsbers2004-12-311-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | more. Thanks to Simon Percivall! The patch makes changes to inspect.py in two places: * the pattern to match against functions at line 436 is modified: lambdas should be matched even if not preceded by whitespace, as long as "lambda" isn't part of another word. * the BlockFinder class is heavily modified. Changes are: - checking for "def", "class" or "lambda" names before setting self.started to True. Then checking the same line for word characters after the colon (if the colon is on that line). If so, and the line does not end with a line continuation marker, raise EndOfBlock immediately. - adding self.passline to show that the line is to be included and no more checking is necessary on that line. Since a NEWLINE token is not generated when a line continuation marker exists, this allows getsource to continue with these functions even if the following line would not be indented. Don't backport the tests, as these have been too heavily modified on the trunk.
* Backport checkin:Walter Dörwald2004-12-291-1/+1
| | | | Fix wrong variable name.