Commit Graph

36218 Commits

Author SHA1 Message Date
Martin v. Löwis 0682a52e31 Add UUIDs for 2.5.1 and 2.5.2 2007-01-19 18:01:38 +00:00
Martin v. Löwis 4885e7d098 Prefix AST symbols with _Py_. Fixes #1637022.
Will backport.
2007-01-19 06:42:22 +00:00
Neal Norwitz a6c0b59814 SF #1635217, Fix unbalanced paren 2007-01-19 05:53:33 +00:00
Neal Norwitz 06a9a0ccf4 This test doesn't pass on Windows. The cause seems to be that chmod
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).
2007-01-18 06:20:55 +00:00
Fred Drake b94ed71bd1 add missing version entry 2007-01-18 05:42:30 +00:00
Neal Norwitz 7beeb2b0a5 Try reverting part of r53145 that seems to cause the Windows buildbots to fail in test_uu.UUFileTest.test_encode 2007-01-18 05:40:58 +00:00
Georg Brandl b26b1c6d6b Bug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs. 2007-01-17 21:19:58 +00:00
Georg Brandl 45dc1f2fd3 Bug #1637967: missing //= operator in list. 2007-01-17 21:09:04 +00:00
Andrew M. Kuchling 3ffcfe2f68 [Part of bug #1599254] Add suggestion to Mailbox docs to use Maildir, and warn user to lock/unlock mailboxes when modifying them 2007-01-17 19:55:06 +00:00
Thomas Heller 2e07810ef0 Replace C++ comments with C comments. 2007-01-17 09:40:34 +00:00
Neal Norwitz 7d106efee3 Remove Calvin since he only has access to the website currently. 2007-01-17 08:37:26 +00:00
Neal Norwitz 1e52d6b4c4 Give Calvin Spealman access for python-dev summaries. 2007-01-17 06:23:51 +00:00
Sjoerd Mullender 33a0a06d31 Fixed ntpath.expandvars to not replace references to non-existing
variables with nothing.  Also added tests.
This fixes bug #494589.
2007-01-16 16:42:38 +00:00
Marc-André Lemburg fa3d08b4a9 Add news items for the recent pybench and platform changes. 2007-01-16 13:03:06 +00:00
Vinay Sajip b3d8a06a46 Updated rotating file handlers to use _open(). 2007-01-16 09:50:07 +00:00
Brett Cannon f5c034af10 Add a note for strptime that just because strftime supports some extra
directive that is not documented that strptime will as well.
2007-01-15 19:12:08 +00:00
Guido van Rossum 2799aab86d Doc patch matching r53434 (htonl etc. now always take/return positive ints). 2007-01-15 00:02:35 +00:00
Vinay Sajip 1ff01fb0af Added documentation for WatchedFileHandler (based on SF patch #1598415) 2007-01-14 21:50:50 +00:00
Vinay Sajip 73306b07ed Added WatchedFileHandler (based on SF patch #1598415) 2007-01-14 21:49:59 +00:00
Guido van Rossum bb2cc698c1 Patch #1635058 by Mark Roberts: ensure that htonl and friends never accept or
return negative numbers, per the underlying C implementation.
2007-01-14 17:03:32 +00:00
Ka-Ping Yee 8ef1cf30b7 Handle old-style instances more gracefully (display documentation on
the relevant class instead of documentation on <type 'instance'>).
2007-01-14 04:25:15 +00:00
Guido van Rossum 0567ba20f3 Remove a dependency of this test on $COLUMNS. 2007-01-14 03:46:33 +00:00
Gerhard Häring 0741a60ca7 Merged changes from standalone version 2.3.3. This should probably all be
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.
2007-01-14 01:43:50 +00:00
Marc-André Lemburg b1a8ef6297 Jython doesn't have sys.setcheckinterval() - ignore it in that case. 2007-01-13 23:15:33 +00:00
Marc-André Lemburg 3b8f60b700 Use defaults if sys.executable isn't set (e.g. on Jython).
This change allows running PyBench under Jython.
2007-01-13 23:13:54 +00:00
Marc-André Lemburg a50e6233f5 Add Python implementation to the machine details.
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).
2007-01-13 22:59:36 +00:00
Peter Astrand 10514a70ac Fix for bug #1634343: allow specifying empty arguments on Windows 2007-01-13 22:35:35 +00:00
Marc-André Lemburg 2be9d43c18 Add parameter sys_version to _sys_version().
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.
2007-01-13 22:32:21 +00:00
Neal Norwitz 4b86f8b88b Fix grammar in docstrings 2007-01-13 21:22:37 +00:00
Marc-André Lemburg 9e0dc960d7 Bump version number and change copyright year.
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.
2007-01-13 21:00:08 +00:00
Georg Brandl 7ded34d25e Fix typo. 2007-01-13 12:31:51 +00:00
Brett Cannon 093b67061a Deprecate the sets module. 2007-01-13 00:29:49 +00:00
Thomas Heller 6fd4549bc6 patch #1610795: BSD version of ctypes.util.find_library, by Martin
Kammerhofer.
2007-01-12 20:21:53 +00:00
Thomas Heller d059e7b423 patch #1610795: BSD version of ctypes.util.find_library, by Martin
Kammerhofer.

release25-maint backport candidate, but the release manager has to
decide.
2007-01-12 20:17:34 +00:00
Thomas Heller 572104ff5c Avoid warnings in the test suite because ctypes.wintypes cannot be
imported on non-windows systems.
2007-01-12 20:08:19 +00:00
Anthony Baxter 2464087bda add parsetok.h as a dependency - previously, changing this file doesn't
cause the right files to be rebuilt.
2007-01-12 09:35:56 +00:00
Brett Cannon 78a132b814 Fix error where the end of a funcdesc environment was accidentally moved too
far down.
2007-01-12 07:27:52 +00:00
Thomas Heller f5b5183a19 Correct the comments: the code is right. 2007-01-11 21:23:12 +00:00
Thomas Heller 8138c26a83 Fixes for 64-bit Windows: In ctypes.wintypes, correct the definitions
of HANDLE, WPARAM, LPARAM data types.  Make parameterless foreign
function calls work.
2007-01-11 21:18:56 +00:00
Raymond Hettinger 9fdfadb06e SF #1486663 -- Allow keyword args in subclasses of set() and frozenset(). 2007-01-11 18:22:55 +00:00
Matthias Klose a398e2d059 - idle: Honor the "Cancel" action in the save dialog (Debian bug #299092). 2007-01-11 11:44:04 +00:00
Matthias Klose 764a7ec8ca - Make the documentation match the code and the docstring 2007-01-11 10:26:31 +00:00
Guido van Rossum 833e9611b3 Fix the signature of log_error(). (A subclass that did the right thing
was getting complaints from pychecker.)
2007-01-10 23:12:56 +00:00
Thomas Heller 9ae562efb1 Must change the version number in the _ctypes extension as well. 2007-01-10 20:51:19 +00:00
Thomas Heller fb9d78733e Change the ctypes version number to "1.1.0". 2007-01-10 20:12:13 +00:00
Gustavo Niemeyer 37e6502c25 Minor change in int() docstring for proper spacing. 2007-01-10 16:15:48 +00:00
Gustavo Niemeyer a443bc8ec7 Mention in the int() docstring that a base zero has meaning, as
stated in http://docs.python.org/lib/built-in-funcs.html as well.
2007-01-10 16:13:40 +00:00
Thomas Heller 85a2192bb6 Verify the sizes of the basic ctypes data types against the struct
module.

Will backport to release25-maint.
2007-01-09 19:19:33 +00:00
Vinay Sajip 1211edd81b Added a docstring 2007-01-09 14:54:56 +00:00
Vinay Sajip ab41c109fa Added entry about addition of _open() method to logging.FileHandler. 2007-01-09 14:51:36 +00:00