summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix wrong variable name.Walter Dörwald2004-12-291-1/+1
|
* Typo fixAndrew M. Kuchling2004-12-291-1/+1
|
* - getDefaultDatabase wasn't listed in __all__.Jack Jansen2004-12-281-2/+2
| | | | | | - using a different database for non-final releases should only be done for X.Y.0. Non-final micro releases can use the default database just fine, as they are required to be backward compatible.
* Just passing -undefined dynamic_lookup isn't enough: we also need to setJack Jansen2004-12-281-1/+1
| | | | | | the MACOSX_DEPLOYMENT_TARGET environment variable to 10.3 when calling the loader. And we do this with "env" because distutils apparently doesn't understand environment variable assignments before command names.
* [Bug #1083110] calling .flush() on decompress objects causes a segfault due ↵Andrew M. Kuchling2004-12-283-1/+18
| | | | to an uninitialized pointer: fixes the problem and adds a test case
* Added quotes around the destroot arguments, so empty destroot works.Jack Jansen2004-12-271-7/+7
|
* Updated version numbers.Jack Jansen2004-12-2712-31/+32
|
* Fix for #1091468: DESTROOTed frameworkinstalls fail. Added a --destrootJack Jansen2004-12-274-11/+28
| | | | | | | option to various tools, and do the right thing when we're doing a destroot install. Will backport to 2.4 and 2.3.
* After discussion on the PythonMac-SIG it was decided that it is betterJack Jansen2004-12-263-7/+11
| | | | | | | | | | to make using "-undefined dynamic_lookup" for linking extensions more automatic on 10.3 and later. So if we're on that platform and MACOSX_DEPLOYMENT_TARGET is not set we now set it to the current OSX version during configure. Additionally, distutils will pick up the configure-time value by default. Will backport.
* A script to fix Apple-installed Python 2.3 (and a test whether the userJack Jansen2004-12-262-1/+103
| | | | | | | | | | | | needs to run it in the Makefile). After installing a newer framework Python the apple-installed Python can no longer build extension modules, because they will inadvertantly be linked against the newer framework. This script modifies lib/config/Makefile so it will link extensions with "-undefined dynamic_lookup", which forestalls this problem. Will backport to 2.4 and 2.3.
* correct decorator example, tweak description slightlySkip Montanaro2004-12-261-11/+15
|
* Update VC references. Backported to 2.4.Martin v. Löwis2004-12-241-2/+2
|
* Use = instead of == as operator to testMatthias Klose2004-12-242-2/+2
|
* Fix sentence stating TextEdit only saves in RTF; can save in plaintext as well.Brett Cannon2004-12-241-2/+2
| | | | Closes bug #1085300. Thanks unclewalrus.
* Dima Dorfman's patch for coercion/comparison of C types (patch #995939), withArmin Rigo2004-12-232-16/+47
| | | | | a minor change after the coercion, to accept two objects not necessarily of the same type but with the same tp_compare.
* discuss how the __builtin__ module is normally used, and try to clarify theFred Drake2004-12-231-5/+38
| | | | difference between __builtins__ and __builtin__ (based on an email comment)
* fix weird capitalization of "built-in"Fred Drake2004-12-231-1/+1
|
* Improve error message if rpc'l localcall() fails with unexpectedKurt B. Kaiser2004-12-231-1/+3
| | | | exception.
* The GUI was hanging if the shell window was closed while a raw_input()Kurt B. Kaiser2004-12-232-6/+16
| | | | | | | | was pending. Restored the quit() of the readline() mainloop(). http://mail.python.org/pipermail/idle-dev/2004-December/002307.html M NEWS.txt M PyShell.py
* Recompiled after source changes.Thomas Heller2004-12-222-0/+0
|
* Close stdout and stderr, which are redirected into a temp file, beforeThomas Heller2004-12-221-1/+7
| | | | | | | | trying to remove this file - the file was never removed before. Fixes [ 1067732 ] wininst --install-script leaves residual files Already backported.
* Two small changes, SF bug #974757 and SF patch #1037974.Jeremy Hylton2004-12-221-6/+8
| | | | | | | | Pass the full URL to find_user_password(), in particular so that hosts with port numbers can be looked up. Also specify the digest algorithm, even if it's MD5. Titus Brown verified that this fixes a problem with LiveJournal.
* SF patch #1055159 via Titus Brown: Document redirect limitation.Jeremy Hylton2004-12-222-0/+7
| | | | Bug fix candidate.
* Patch #1088716: build and incorporate libpython24.a. Backported to 2.4Martin v. Löwis2004-12-221-1/+51
|
* Properly quote IDLE shortcut. Will backport to 2.4.Martin v. Löwis2004-12-221-2/+2
|
* Add NEWS entry about bug #1076985.Walter Dörwald2004-12-221-0/+4
|
* Remove outdated comments about expanduser and expandvars for Macintosh thatBrett Cannon2004-12-221-3/+1
| | | | referred to OS 9 semantics.
* add __file__ to the globals available for tests loaded via DocFileSuite;Fred Drake2004-12-214-0/+21
| | | | | this is useful for locating supporting data files, just as it is in Python modules
* The changes to the stateful codecs in 2.4 resulted in StreamReader.readline()Walter Dörwald2004-12-212-43/+121
| | | | | | | | | | | | | | trying to return a complete line even if a size parameter was given (see http://www.python.org/sf/1076985). This leads to buffer overflows with long source lines under Windows if e.g. cp1252 is used as the source encoding. This patch reverts the behaviour of readline() to something that behaves more like Python 2.3: If a size parameter is given, read() is called only once. As a side effect of this, readline() now supports all types of linebreaks supported by unicode.splitlines(). Note that the tokenizer is still broken and it's possible to provoke segfaults (see http://www.python.org/sf/1089395).
* The remote procedure call module rpc.py can now access data attributes ofKurt B. Kaiser2004-12-216-11/+23
| | | | | | | | | | | remote registered objects. Changes to these attributes are local, however. M EditorWindow.py M NEWS.txt M PyShell.py M idlever.py M rpc.py M run.py
* Add accidentally removed \end{description} back in.Johannes Gijsbers2004-12-211-0/+1
|
* Changing the idle wrapper to use Python and execvp() to pass arguments toSean Reifschneider2004-12-211-3/+9
| | | | idle.
* SF bug #951915: fix bug in StringIO.truncate - length not changedRaymond Hettinger2004-12-202-0/+9
| | | | (Patch by Armin Rigo.)
* Any call to marshal.dumps() with the new optional argument 'version' justArmin Rigo2004-12-203-4/+9
| | | | | immediately segfaults, due to a typo! This was obviously never tested... Added a test for it, and also fixed the documentation.
* Bug #1088206: zlib decompressobj documentation typoRaymond Hettinger2004-12-201-1/+1
|
* Bugs item #1069409 C:\Python24\Lib\compileall.py returns FalseRaymond Hettinger2004-12-201-1/+1
| | | | * return an integer rather than a boolean
* Bug #1079011: Incorrect error message (somewhat)Raymond Hettinger2004-12-191-1/+1
|
* Bug #1066607: "Limitations" section of profiler docs is incorrectRaymond Hettinger2004-12-191-10/+1
|
* Bug #1087216: datetime module documentation missing critical detailRaymond Hettinger2004-12-191-3/+9
|
* Skip test_imp if threading is not available.Brett Cannon2004-12-181-1/+5
| | | | Closes bug #1083645. Thanks Detlef Vollmann.
* Switch from getting LDFLAGS and CPPFLAGS from the environment to the Makefile.Brett Cannon2004-12-181-5/+5
| | | | | | | | This is to avoid a problem that inconsistently comes up where the environment variable is unset while the Makefile clearly has the values set and are used during ``make``. Closes bug #1081045.
* Bug #1083645Raymond Hettinger2004-12-182-4/+25
| | | | * The decimal module wouldn't load on builds without threads.
* Small boost to PySequence_Fast(). Lists build faster than tuples forRaymond Hettinger2004-12-181-1/+1
| | | | unsized iterable inputs.
* fix unterminated commentAndrew MacIntyre2004-12-181-1/+1
|
* Refactor:Raymond Hettinger2004-12-171-10/+21
| | | | | | | | * Improve algorithm -- no more O(n) steps except sched.cancel(). * Improve thread safety of sched.run() and sched.empty() (other threads could alter the queue between the time the queue was first checked and when the lead event was deleted). * Localize variable access in sched.run() to minimize overhead.
* SF bug #1086555: refcount problem in syslogRaymond Hettinger2004-12-161-3/+4
|
* SF #1085304: Make array.array pickle-ableRaymond Hettinger2004-12-163-0/+46
|
* Add missing decref.Raymond Hettinger2004-12-161-0/+1
|
* SF bug #1085744: Performance issues with PySequence_Tuple()Raymond Hettinger2004-12-161-4/+14
| | | | | | | * Added missing error checks. * Fixed O(n**2) growth pattern. Modeled after lists to achieve linear amortized resizing. Improves construction of "tuple(it)" when "it" is large and does not have a __len__ method. Other cases are unaffected.
* fixed compilation against BerkeleyDB 3.2.9 (sf bug # 1077040)Gregory P. Smith2004-12-161-0/+8
|