summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged changes from standalone version 2.3.3. This should probably all beGerhard Häring2007-01-1422-490/+574
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Jython doesn't have sys.setcheckinterval() - ignore it in that case.Marc-André Lemburg2007-01-131-1/+1
|
* 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.
* Add Python implementation to the machine details.Marc-André Lemburg2007-01-131-27/+43
| | | | | | | | | | | | | Pretty-print the Python version used for running PyBench. Let the user know when calibration has finished. [ 1563844 ] pybench support for IronPython: Simplify Unicode version detection. Make garbage collection and check interval settings optional if the Python implementation doesn't support thess (e.g. IronPython).
* 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.
* Fix typo.Georg Brandl2007-01-131-1/+1
|
* Deprecate the sets module.Brett Cannon2007-01-135-0/+15
|
* patch #1610795: BSD version of ctypes.util.find_library, by MartinThomas Heller2007-01-121-0/+2
| | | | Kammerhofer.
* 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.
* add parsetok.h as a dependency - previously, changing this file doesn'tAnthony Baxter2007-01-121-0/+3
| | | | cause the right files to be rebuilt.
* Fix error where the end of a funcdesc environment was accidentally moved tooBrett Cannon2007-01-121-1/+1
| | | | far down.
* 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-114-6/+36
| | | | | 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-112-2/+13
|
* - idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).Matthias Klose2007-01-112-1/+3
|
* - Make the documentation match the code and the docstringMatthias 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.)
* Must change the version number in the _ctypes extension as well.Thomas Heller2007-01-101-1/+1
|
* Change the ctypes version number to "1.1.0".Thomas Heller2007-01-102-1/+3
|
* Minor change in int() docstring for proper spacing.Gustavo Niemeyer2007-01-101-1/+1
|
* Mention in the int() docstring that a base zero has meaning, asGustavo Niemeyer2007-01-101-2/+3
| | | | stated in http://docs.python.org/lib/built-in-funcs.html as well.
* 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
|
* Added entry about addition of _open() method to logging.FileHandler.Vinay 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".
* Added entries about removal of some bare except clauses from logging.Vinay Sajip2007-01-081-0/+9
|
* Bare except clause removed from LogRecord.__init__. Now, only ValueError, ↵Vinay Sajip2007-01-081-3/+3
| | | | | | TypeError and AttributeError are trapped. (SF #411881)
* Bare except clause removed from SMTPHandler.emit(). Now, only ImportError is ↵Vinay Sajip2007-01-081-2/+2
| | | | | | | trapped. Bare except clause removed from SocketHandler.createSocket(). Now, only socket.error is trapped. (SF #411881)
* Fix zero-length corner case for iterating over a mutating deque.Raymond Hettinger2007-01-082-3/+8
|
* Avoid O(N**2) bottleneck in _communicate_(). Fixes #1598181.Peter Astrand2007-01-071-3/+4
|
* Re-implemented fix for #1531862 once again, in a way that works with Python ↵Peter Astrand2007-01-071-2/+6
| | | | 2.2. Fixes bug #1603424.
* Add Josiah to SF for maintaining asyncore/asynchatNeal Norwitz2007-01-061-0/+3
|
* update to (c) years to include 2007Anthony Baxter2007-01-067-11/+12
|
* SF# 1409443: Expand comment to cover the interaction between f->f_lasti and ↵Raymond Hettinger2007-01-061-1/+10
| | | | the PREDICT macros.
* Silence a warning from gcc 4.0.1 by specifying a function's parameter list isBrett Cannon2007-01-051-1/+1
| | | | 'void' instead of just a set of empty parentheses.
* [Patch #1520904] Fix bsddb tests to write to the temp directory instead of ↵Andrew M. Kuchling2007-01-0511-14/+17
| | | | the Lib/bsddb/test directory
* [Bug #1622533] Make docstrings raw strings because they contain control ↵Andrew M. Kuchling2007-01-052-2/+2
| | | | characters (\0, \1)
* Add Collin Winter for access to update PEP 3107Neal Norwitz2007-01-051-0/+3
|
* typo fixGregory P. Smith2007-01-051-1/+1
|
* Prevent crash on shutdown which can occur if we are finalizingNeal Norwitz2007-01-052-1/+5
| | | | | | | and the module dict has been cleared already and some object raises a warning (like in a __del__). Will backport.
* bump module version to match supported berkeleydb versionGregory P. Smith2007-01-051-1/+1
|
* Support linking of the bsddb module against BerkeleyDB 4.5.xGregory P. Smith2007-01-056-7/+18
| | | | (will backport to 2.5)
* Bug #1566280: Explicitly invoke threading._shutdown from Py_Main,Martin v. Löwis2007-01-043-5/+37
| | | | | to avoid relying on atexit. Will backport to 2.5.
* Fix stability of heapq's nlargest() and nsmallest().Raymond Hettinger2007-01-042-18/+14
|
* SF #1627373, fix typo in CarbonEvt.Neal Norwitz2007-01-041-1/+1
|
* Add EnvironmentVarGuard to test.test_support. Provides a context manager toBrett Cannon2007-01-043-1/+55
| | | | temporarily set or unset environment variables.