summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Patch #1507247: tarfile.py: use current umask for intermediateLars Gustäbel2007-01-231-13/+1
| | | | directories.
* Bug #1627316: handle error in condition/ignore pdb commands more gracefully.Georg Brandl2007-01-221-2/+12
|
* Bug #1249573: fix rfc822.parsedate not accepting a certain date formatGeorg Brandl2007-01-221-0/+5
|
* Make comment match the codeAndrew M. Kuchling2007-01-221-1/+1
|
* Improve pattern used for mbox 'From' lines; add a simple testAndrew M. Kuchling2007-01-222-3/+38
|
* Use new email module names (#1637162, #1637159, #1637157).Georg Brandl2007-01-226-28/+28
|
* Patch #1627441: close sockets properly in urllib2.Georg Brandl2007-01-214-6/+61
|
* Bug #1486663: don't reject keyword arguments for subclasses of builtinGeorg Brandl2007-01-214-1/+43
| | | | types.
* Patch #1610575: Add support for _Bool to struct.Martin v. Löwis2007-01-211-7/+61
|
* Port test_new.py to unittest.Walter Dörwald2007-01-202-190/+162
|
* resource.RUSAGE_BOTH might not exist.Walter Dörwald2007-01-201-1/+1
|
* Add argument tests an calls of resource.getrusage().Walter Dörwald2007-01-201-0/+18
|
* Port test_resource.py to unittest.Walter Dörwald2007-01-202-58/+78
|
* SF# 1635892: Fix docs for betavariate's input parameters .Raymond Hettinger2007-01-191-1/+1
|
* This test doesn't pass on Windows. The cause seems to be that chmodNeal Norwitz2007-01-181-2/+8
| | | | | | | | doesn't support the same funcationality as on Unix. I'm not sure if this fix is the best (or if it will even work)--it's a test to see if the buildbots start passing again. It might be better to not even run this test if it's windows (or non-posix).
* Try reverting part of r53145 that seems to cause the Windows buildbots to ↵Neal Norwitz2007-01-181-2/+2
| | | | fail in test_uu.UUFileTest.test_encode
* Fixed ntpath.expandvars to not replace references to non-existingSjoerd Mullender2007-01-163-2/+30
| | | | | variables with nothing. Also added tests. This fixes bug #494589.
* Updated rotating file handlers to use _open().Vinay Sajip2007-01-161-10/+6
|
* Added WatchedFileHandler (based on SF patch #1598415)Vinay Sajip2007-01-141-0/+49
|
* Patch #1635058 by Mark Roberts: ensure that htonl and friends never accept orGuido van Rossum2007-01-141-0/+14
| | | | return negative numbers, per the underlying C implementation.
* Handle old-style instances more gracefully (display documentation onKa-Ping Yee2007-01-141-6/+13
| | | | the relevant class instead of documentation on <type 'instance'>).
* Remove a dependency of this test on $COLUMNS.Guido van Rossum2007-01-141-2/+10
|
* Merged changes from standalone version 2.3.3. This should probably all beGerhard Häring2007-01-144-6/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merged into the 2.5 maintenance branch: - self->statement was not checked while fetching data, which could lead to crashes if you used the pysqlite API in unusual ways. Closing the cursor and continuing to fetch data was enough. - Converters are stored in a converters dictionary. The converter name is uppercased first. The old upper-casing algorithm was wrong and was replaced by a simple call to the Python string's upper() method instead. -Applied patch by Glyph Lefkowitz that fixes the problem with subsequent SQLITE_SCHEMA errors. - Improvement to the row type: rows can now be iterated over and have a keys() method. This improves compatibility with both tuple and dict a lot. - A bugfix for the subsecond resolution in timestamps. - Corrected the way the flags PARSE_DECLTYPES and PARSE_COLNAMES are checked for. Now they work as documented. - gcc on Linux sucks. It exports all symbols by default in shared libraries, so if symbols are not unique it can lead to problems with symbol lookup. pysqlite used to crash under Apache when mod_cache was enabled because both modules had the symbol cache_init. I fixed this by applying the prefix pysqlite_ almost everywhere. Sigh.
* Use defaults if sys.executable isn't set (e.g. on Jython).Marc-André Lemburg2007-01-131-1/+4
| | | | This change allows running PyBench under Jython.
* Fix for bug #1634343: allow specifying empty arguments on WindowsPeter Astrand2007-01-132-1/+3
|
* Add parameter sys_version to _sys_version().Marc-André Lemburg2007-01-131-16/+47
| | | | | | | | Change the cache for _sys_version() to take the parameter into account. Add support for parsing the IronPython 1.0.1 sys.version value - even though it still returns '1.0.0'; the version string no longer includes the patch level.
* Fix grammar in docstringsNeal Norwitz2007-01-131-2/+2
|
* Bump version number and change copyright year.Marc-André Lemburg2007-01-131-63/+259
| | | | | | | | | | | | | | | Add new API linux_distribution() which supports reading the full distribution name and also knows how to parse LSB-style release files. Redirect the old dist() API to the new API (using the short distribution name taken from the release file filename). Add branch and revision to _sys_version(). Add work-around for Cygwin to libc_ver(). Add support for IronPython (thanks for Anthony Baxter) and make Jython support more robust.
* Deprecate the sets module.Brett Cannon2007-01-133-0/+10
|
* patch #1610795: BSD version of ctypes.util.find_library, by MartinThomas Heller2007-01-121-28/+50
| | | | | | | Kammerhofer. release25-maint backport candidate, but the release manager has to decide.
* Avoid warnings in the test suite because ctypes.wintypes cannot beThomas Heller2007-01-121-1/+2
| | | | imported on non-windows systems.
* Correct the comments: the code is right.Thomas Heller2007-01-111-2/+2
|
* Fixes for 64-bit Windows: In ctypes.wintypes, correct the definitionsThomas Heller2007-01-112-5/+30
| | | | | of HANDLE, WPARAM, LPARAM data types. Make parameterless foreign function calls work.
* SF #1486663 -- Allow keyword args in subclasses of set() and frozenset().Raymond Hettinger2007-01-111-0/+11
|
* - idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).Matthias Klose2007-01-111-1/+1
|
* Fix the signature of log_error(). (A subclass that did the right thingGuido van Rossum2007-01-101-2/+2
| | | | was getting complaints from pychecker.)
* Change the ctypes version number to "1.1.0".Thomas Heller2007-01-101-1/+1
|
* Verify the sizes of the basic ctypes data types against the structThomas Heller2007-01-091-0/+28
| | | | | | module. Will backport to release25-maint.
* Added a docstringVinay Sajip2007-01-091-0/+4
|
* Bug #1627575: Added _open() method to FileHandler which can be used to ↵Vinay Sajip2007-01-091-9/+14
| | | | reopen files. The FileHandler instance now saves the encoding (which can be None) in an attribute called "encoding".
* Bare except clause removed from LogRecord.__init__. Now, only ValueError, ↵Vinay Sajip2007-01-081-3/+3
| | | | | | TypeError and AttributeError are trapped. (SF #411881)