summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Backport checkin:Walter Dörwald2004-12-291-1/+1
| | | | Fix wrong variable name.
* Backport of 1.36:Jack Jansen2004-12-281-2/+2
| | | | | | | - getDefaultDatabase wasn't listed in __all__. - using a different database for non-final releases should only be done for X.Y.0. Non-final micro releases can use the default database just fine, as they are required to be backward compatible.
* [Bug #1083110] calling .flush() on decompress objects causes a segfault due ↵Andrew M. Kuchling2004-12-281-0/+10
| | | | to an uninitialized pointer: fixes the problem and adds a test case
* The GUI was hanging if the shell window was closed while a raw_input()Kurt B. Kaiser2004-12-233-7/+22
| | | | | | | | | was pending. Restored the quit() of the readline() mainloop(). http://mail.python.org/pipermail/idle-dev/2004-December/002307.html M NEWS.txt M PyShell.py M idlever.py
* Recompiled after source changes.Thomas Heller2004-12-222-0/+0
|
* Backport checkin:Walter Dörwald2004-12-212-43/+121
| | | | | | | | | | | | | | | The changes to the stateful codecs in 2.4 resulted in StreamReader.readline() trying to return a complete line even if a size parameter was given (see http://www.python.org/sf/1076985). This leads to buffer overflows with long source lines under Windows if e.g. cp1252 is used as the source encoding. This patch reverts the behaviour of readline() to something that behaves more like Python 2.3: If a size parameter is given, read() is called only once. As a side effect of this, readline() now supports all types of linebreaks supported by unicode.splitlines(). Note that the tokenizer is still broken and it's possible to provoke segfaults (see http://www.python.org/sf/1089395).
* SF bug #951915: fix bug in StringIO.truncate - length not changedRaymond Hettinger2004-12-201-0/+6
| | | | (Patch by Armin Rigo.)
* Back-ported: marshal.dumps() with the new optional argument 'version' justArmin Rigo2004-12-201-0/+5
| | | | immediately segfaults, due to a typo!
* Bugs item #1069409 C:\Python24\Lib\compileall.py returns FalseRaymond Hettinger2004-12-201-1/+1
| | | | * return an integer rather than a boolean
* Backport fix for bug #1083645 have test_imp be skipped if threading is notBrett Cannon2004-12-181-1/+5
| | | | available.
* Bug #1083645Raymond Hettinger2004-12-182-4/+25
| | | | * The decimal module wouldn't run on builds without threads.
* Backport checkin: Fix copy & paste error in comments.Walter Dörwald2004-12-141-2/+2
|
* Backport from trunk: use os.geteuid() for checking whether we are root,Johannes Gijsbers2004-12-121-1/+1
| | | | as suggested by Michael Hudson.
* SF bug #1083202: UnboundLocalError raised by atexit moduleRaymond Hettinger2004-12-111-3/+3
| | | | The sys module could be called before being imported.
* Backport of fix for SF bug #1076467: don't run test_on_error as root, asJohannes Gijsbers2004-12-061-1/+2
| | | | the permission errors don't get provoked that way.
* Don't have test_mkalias_relative run if sys.prefix does not exist. Backport ofBrett Cannon2004-12-061-0/+2
| | | | fix for bug #1077302.
* Raise TypeError if bufsize argument is not an integer. Patch 1071755, ↵Peter Astrand2004-12-052-0/+14
| | | | slightly modified.