Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace normalization. | Tim Peters | 2007-01-30 | 21 | -131/+131 |
| | |||||
* | Add a test for slicing an exception. | Brett Cannon | 2007-01-29 | 1 | -0/+7 |
| | |||||
* | Use the thread lock's context manager instead of a try/finally statement. | Brett Cannon | 2007-01-28 | 1 | -4/+1 |
| | |||||
* | Patch #1634778: add missing encoding aliases for iso8859_15 and | Georg Brandl | 2007-01-27 | 2 | -0/+7 |
| | | | | iso8859_16. | ||||
* | Patch #1638243: the compiler package is now able to correctly compile | Georg Brandl | 2007-01-27 | 3 | -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 really | Brett Cannon | 2007-01-25 | 3 | -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 more | Brett Cannon | 2007-01-25 | 2 | -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örwald | 2007-01-24 | 2 | -25/+29 |
| | |||||
* | Fix crasher for when an object's __del__ creates a new weakref to itself. | Brett Cannon | 2007-01-23 | 2 | -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 intermediate | Lars Gustäbel | 2007-01-23 | 1 | -13/+1 |
| | | | | directories. | ||||
* | Bug #1627316: handle error in condition/ignore pdb commands more gracefully. | Georg Brandl | 2007-01-22 | 1 | -2/+12 |
| | |||||
* | Bug #1249573: fix rfc822.parsedate not accepting a certain date format | Georg Brandl | 2007-01-22 | 1 | -0/+5 |
| | |||||
* | Make comment match the code | Andrew M. Kuchling | 2007-01-22 | 1 | -1/+1 |
| | |||||
* | Improve pattern used for mbox 'From' lines; add a simple test | Andrew M. Kuchling | 2007-01-22 | 2 | -3/+38 |
| | |||||
* | Use new email module names (#1637162, #1637159, #1637157). | Georg Brandl | 2007-01-22 | 6 | -28/+28 |
| | |||||
* | Patch #1627441: close sockets properly in urllib2. | Georg Brandl | 2007-01-21 | 4 | -6/+61 |
| | |||||
* | Bug #1486663: don't reject keyword arguments for subclasses of builtin | Georg Brandl | 2007-01-21 | 4 | -1/+43 |
| | | | | types. | ||||
* | Patch #1610575: Add support for _Bool to struct. | Martin v. Löwis | 2007-01-21 | 1 | -7/+61 |
| | |||||
* | Port test_new.py to unittest. | Walter Dörwald | 2007-01-20 | 2 | -190/+162 |
| | |||||
* | resource.RUSAGE_BOTH might not exist. | Walter Dörwald | 2007-01-20 | 1 | -1/+1 |
| | |||||
* | Add argument tests an calls of resource.getrusage(). | Walter Dörwald | 2007-01-20 | 1 | -0/+18 |
| | |||||
* | Port test_resource.py to unittest. | Walter Dörwald | 2007-01-20 | 2 | -58/+78 |
| | |||||
* | SF# 1635892: Fix docs for betavariate's input parameters . | Raymond Hettinger | 2007-01-19 | 1 | -1/+1 |
| | |||||
* | This test doesn't pass on Windows. The cause seems to be that chmod | Neal Norwitz | 2007-01-18 | 1 | -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 Norwitz | 2007-01-18 | 1 | -2/+2 |
| | | | | fail in test_uu.UUFileTest.test_encode | ||||
* | Fixed ntpath.expandvars to not replace references to non-existing | Sjoerd Mullender | 2007-01-16 | 3 | -2/+30 |
| | | | | | variables with nothing. Also added tests. This fixes bug #494589. | ||||
* | Updated rotating file handlers to use _open(). | Vinay Sajip | 2007-01-16 | 1 | -10/+6 |
| | |||||
* | Added WatchedFileHandler (based on SF patch #1598415) | Vinay Sajip | 2007-01-14 | 1 | -0/+49 |
| | |||||
* | Patch #1635058 by Mark Roberts: ensure that htonl and friends never accept or | Guido van Rossum | 2007-01-14 | 1 | -0/+14 |
| | | | | return negative numbers, per the underlying C implementation. | ||||
* | Handle old-style instances more gracefully (display documentation on | Ka-Ping Yee | 2007-01-14 | 1 | -6/+13 |
| | | | | the relevant class instead of documentation on <type 'instance'>). | ||||
* | Remove a dependency of this test on $COLUMNS. | Guido van Rossum | 2007-01-14 | 1 | -2/+10 |
| | |||||
* | Merged changes from standalone version 2.3.3. This should probably all be | Gerhard Häring | 2007-01-14 | 4 | -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é Lemburg | 2007-01-13 | 1 | -1/+4 |
| | | | | This change allows running PyBench under Jython. | ||||
* | Fix for bug #1634343: allow specifying empty arguments on Windows | Peter Astrand | 2007-01-13 | 2 | -1/+3 |
| | |||||
* | Add parameter sys_version to _sys_version(). | Marc-André Lemburg | 2007-01-13 | 1 | -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 docstrings | Neal Norwitz | 2007-01-13 | 1 | -2/+2 |
| | |||||
* | Bump version number and change copyright year. | Marc-André Lemburg | 2007-01-13 | 1 | -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 Cannon | 2007-01-13 | 3 | -0/+10 |
| | |||||
* | patch #1610795: BSD version of ctypes.util.find_library, by Martin | Thomas Heller | 2007-01-12 | 1 | -28/+50 |
| | | | | | | | Kammerhofer. release25-maint backport candidate, but the release manager has to decide. | ||||
* | Avoid warnings in the test suite because ctypes.wintypes cannot be | Thomas Heller | 2007-01-12 | 1 | -1/+2 |
| | | | | imported on non-windows systems. | ||||
* | Correct the comments: the code is right. | Thomas Heller | 2007-01-11 | 1 | -2/+2 |
| | |||||
* | Fixes for 64-bit Windows: In ctypes.wintypes, correct the definitions | Thomas Heller | 2007-01-11 | 2 | -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 Hettinger | 2007-01-11 | 1 | -0/+11 |
| | |||||
* | - idle: Honor the "Cancel" action in the save dialog (Debian bug #299092). | Matthias Klose | 2007-01-11 | 1 | -1/+1 |
| | |||||
* | Fix the signature of log_error(). (A subclass that did the right thing | Guido van Rossum | 2007-01-10 | 1 | -2/+2 |
| | | | | was getting complaints from pychecker.) | ||||
* | Change the ctypes version number to "1.1.0". | Thomas Heller | 2007-01-10 | 1 | -1/+1 |
| | |||||
* | Verify the sizes of the basic ctypes data types against the struct | Thomas Heller | 2007-01-09 | 1 | -0/+28 |
| | | | | | | module. Will backport to release25-maint. | ||||
* | Added a docstring | Vinay Sajip | 2007-01-09 | 1 | -0/+4 |
| | |||||
* | Bug #1627575: Added _open() method to FileHandler which can be used to ↵ | Vinay Sajip | 2007-01-09 | 1 | -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 Sajip | 2007-01-08 | 1 | -3/+3 |
| | | | | | | TypeError and AttributeError are trapped. (SF #411881) |