summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Refactor PEP 352 tests to make it easier in the future to make sure certainBrett Cannon2007-02-231-18/+34
| | | | things cannot be raised or caught.
* Fix typo in commentNeal Norwitz2007-02-231-1/+1
|
* Add itertools.izip_longest().Raymond Hettinger2007-02-211-0/+54
|
* Fixup docstrings for merge().Raymond Hettinger2007-02-191-2/+2
|
* Patch #1490190: posixmodule now includes os.chflags() and os.lchflags()Martin v. Löwis2007-02-193-1/+28
| | | | functions on platforms where the underlying system calls are available.
* Add test for merge stabilityRaymond Hettinger2007-02-191-0/+15
|
* Use C heapreplace() instead of slower _siftup() in pure python.Raymond Hettinger2007-02-191-2/+2
|
* Add tie-breaker count to preserve sort stability.Raymond Hettinger2007-02-191-6/+6
|
* Add merge() function to heapq.Raymond Hettinger2007-02-192-3/+49
|
* Extend work on revision 52962: Eliminate redundant calls to PyObject_Hash().Raymond Hettinger2007-02-191-0/+20
|
* Minor fix for currentframe (SF #1652788).Vinay Sajip2007-02-161-5/+5
|
* Make the __import__ call in encodings.__init__ absolute with a level 0 call.Brett Cannon2007-02-161-4/+4
|
* Update the encoding package's search function to use absolute imports whenBrett Cannon2007-02-151-2/+4
| | | | | | | | | | | | calling __import__. This helps make the expected search locations for encoding modules be more explicit. One could use an explicit value for __path__ when making the call to __import__ to force the exact location searched for encodings. This would give the most strict search path possible if one is worried about malicious code being imported. The unfortunate side-effect of that is that if __path__ was modified on 'encodings' on purpose in a safe way it would not be picked up in future __import__ calls.
* A missing binary mode in AppendTest caused failures in WindowsLars Gustäbel2007-02-141-2/+2
| | | | Buildbot.
* Strip the '.gz' extension from the filename that is written to theLars Gustäbel2007-02-131-3/+6
| | | | gzip header.
* Patch #1647484: Renamed GzipFile's filename attribute to name. TheLars Gustäbel2007-02-132-8/+20
| | | | | filename attribute is still accessible as a property that emits a DeprecationWarning.
* Patch #1517891: Make 'a' create the file if it doesn't exist.Martin v. Löwis2007-02-132-1/+30
| | | | Fixes #1514451.
* Patch #698833: Support file decryption in zipfile.Martin v. Löwis2007-02-132-2/+126
|
* Patch #685268: Consider a package's __path__ in imputil.Martin v. Löwis2007-02-131-0/+4
| | | | Will backport.
* Fix the line to what is my guess at the original author's meaning.Armin Rigo2007-02-121-1/+1
| | | | | (The line has no effect anyway, but is present because it's customary call the base class __init__).
* Patch 1463026: Support default namespace in XMLGenerator.Martin v. Löwis2007-02-122-17/+57
| | | | Fixes #847665. Will backport.
* fix trace.py --ignore-dirSkip Montanaro2007-02-111-1/+1
|
* Bug #1600860: Search for shared python library in LIBDIR, notMartin v. Löwis2007-02-091-3/+12
| | | | | lib/python/config, on "linux" and "gnu" systems. Will backport.
* Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;Kurt B. Kaiser2007-02-083-21/+103
| | | | | | mouse and cursor selection in ACWindow implemented; double Tab inserts current selection and closes ACW (similar to double-click and Return); scroll wheel now works in ACW. Added AutoComplete instructions to IDLE Help.
* Bug #1653736: Complain about keyword arguments to time.isoformat.Martin v. Löwis2007-02-081-0/+5
| | | | Will backport to 2.5.
* Fix docstring bugRaymond Hettinger2007-02-081-1/+1
|
* Do not let overflows in enumerate() and count() pass silently.Raymond Hettinger2007-02-081-2/+1
|
* Bug #1575169: operator.isSequenceType() now returns False for subclasses of ↵Raymond Hettinger2007-02-071-0/+2
| | | | dict.
* Check for a common user error with defaultdict().Raymond Hettinger2007-02-071-3/+4
|
* SF #1615701: make d.update(m) honor __getitem__() and keys() in dict subclassesRaymond Hettinger2007-02-071-0/+8
|
* Handle AttributeError during calltip lookupKurt B. Kaiser2007-02-071-1/+1
|
* [ 1621265 ] Auto-completion list placementKurt B. Kaiser2007-02-072-6/+18
| | | | | Move AC window below input line unless not enough space, then put it above. Patch: Tal Einat
* narrow exception per [ 1540849 ] except too broadKurt B. Kaiser2007-02-061-1/+1
|
* Updated patch (CodeContext.061217.patch) toKurt B. Kaiser2007-02-061-53/+19
| | | | | [ 1362975 ] CodeContext - Improved text indentation Tal Einat 16Dec06
* Patch #1652681: create nonexistent files in append mode andLars Gustäbel2007-02-062-2/+63
| | | | allow appending to empty files.
* Applied patch 1124861.3.patch to solve bug #1124861: Automatically create ↵Peter Astrand2007-02-061-3/+25
| | | | pipes on Windows, if GetStdHandle fails. Will backport.
* Clean up ModifiedInterpreter.runcode() structureKurt B. Kaiser2007-02-061-27/+29
|
* 1. Calltips now 'handle' tuples in the argument list (display '<tuple>' :)Kurt B. Kaiser2007-02-052-36/+48
| | | | | | Suggested solution by Christos Georgiou, Bug 791968. 2. Clean up tests, were not failing when they should have been. 4. Remove some camelcase and an unneeded try/except block.
* Add 'raw' support to configHandler. Patch 1650174 Tal Einat.Kurt B. Kaiser2007-02-052-12/+13
|
* We had several if statements checking the value of a fd. This is unsafe, ↵Peter Astrand2007-02-021-15/+15
| | | | since valid fds might be zero. We should check for not None instead.
* No more raising of string exceptions!Brett Cannon2007-01-301-23/+39
| | | | | | | The next step of PEP 352 (for 2.6) causes raising a string exception to trigger a TypeError. Trying to catch a string exception raises a DeprecationWarning. References to string exceptions has been removed from the docs since they are now just an error.
* Whitespace normalization.Tim Peters2007-01-3021-131/+131
|
* Add a test for slicing an exception.Brett Cannon2007-01-291-0/+7
|
* Use the thread lock's context manager instead of a try/finally statement.Brett Cannon2007-01-281-4/+1
|
* Patch #1634778: add missing encoding aliases for iso8859_15 andGeorg Brandl2007-01-272-0/+7
| | | | iso8859_16.
* Patch #1638243: the compiler package is now able to correctly compileGeorg Brandl2007-01-273-1/+34
| | | | | a with statement; previously, executing code containing a with statement compiled by the compiler package crashed the interpreter.
* Remove specific mention of my name and email address from modules. Not reallyBrett Cannon2007-01-253-13/+2
| | | | | needed and all bug reports should go to the bug tracker, not directly to me. Plus I am not the only person to have edited these files at this point.
* Fix time.strptime's %U support. Basically rewrote the algorithm to be moreBrett Cannon2007-01-252-31/+34
| | | | | | | | | generic so that one only has to shift certain values based on whether the week was specified to start on Monday or Sunday. Cut out a lot of edge case code compared to the previous version. Also broke algorithm out into its own function (that is private to the module). Fixes bug #1643943 (thanks Biran Nahas for the report).
* Port test_popen.py to unittest.Walter Dörwald2007-01-242-25/+29
|
* Fix crasher for when an object's __del__ creates a new weakref to itself.Brett Cannon2007-01-232-1/+16
| | | | | | Patch only fixes new-style classes; classic classes still buggy. Closes bug #1377858. Already backported.