summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* [Bug #1083110] calling .flush() on decompress objects causes a segfault due ↵Andrew M. Kuchling2004-12-281-0/+3
| | | | to an uninitialized pointer: fixes the problem and adds a test case
* Add NEWS entry about bug #1076985.Walter Dörwald2004-12-221-0/+4
|
* 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-201-0/+3
| | | | (Patch by Armin Rigo.)
* SF #1085304: Make array.array pickle-ableRaymond Hettinger2004-12-161-0/+2
|
* locale.py now uses an updated locale alias table (built usingMarc-André Lemburg2004-12-101-0/+5
| | | | | | | | | Tools/i18n/makelocalealias.py, a tool to parse the X11 locale alias file); the encoding lookup was enhanced to use Python's encoding alias table As sige-effect, this fixes SF bug [ 1080864 ] locale.py doesn't recognize valid locale setting.
* Combined several entries.Raymond Hettinger2004-12-071-6/+2
|
* Eliminate the deprecated option to return None instead of a tuple of ↵Raymond Hettinger2004-12-071-0/+6
| | | | arguments in __reduce__().
* Change code in setup.py for parsing LDFLAGS and CPPFLAGS to use optparseBrett Cannon2004-12-071-0/+2
| | | | | instead of getopt. Required making use of gettext._ as optional (optparse changed OK'ed by Greg Ward in private email).
* setup.py now uses the library directories specified in LDFLAGS (``-L``Brett Cannon2004-12-071-0/+9
| | | | | | | | | | | | | | | | | | | directories) and the include directories specified in CPPFLAGS (``-I`` directories) for compiling the extension modules. This has led to the core being compiled with the values in the shell's CPPFLAGS. It has also removed the need for special casing to use Fink and DarwinPorts under darwin since the needed directories can now be specified in LDFLAGS and CPPFLAGS (e.g., DarwinPorts users can now do ``LDFLAGS=-L/opt/local/lib; CPPFLAGS=-I/opt/local/include; ./configure`` for everything to work properly). Parsing the values in the environment variables is done with getopt. While optparse would have been a nicer solution it cannot be used because of dependency issues at execution time; optparse uses gettext which uses struct which will not have been compiled when the code is imported. If optparse ever makes its importation of gettext optional by catching ImportError and setting _() to an identity function then it can be used.
* Removed deprecated tzparse module.Raymond Hettinger2004-12-051-0/+2
|
* Added optional None arguments to itertools.islice().Raymond Hettinger2004-12-051-0/+4
|
* Removed the deprecated bin parameter from the pickle module.Raymond Hettinger2004-12-051-0/+2
|
* Remove the deprecated statcache module.Raymond Hettinger2004-12-051-0/+2
|
* Removed deprecated method arguments from the shelve module.Raymond Hettinger2004-12-051-0/+2
|
* Removed deprecated method from pstats.Raymond Hettinger2004-12-051-0/+2
|
* Removed deprecated use_statcache argument.Raymond Hettinger2004-12-051-0/+2
|
* SF bug #1078905: Docs for unittest run() methods are misleadingRaymond Hettinger2004-12-041-0/+4
|
* Remove the deprecated whrandom module.Raymond Hettinger2004-12-041-0/+2
|
* Remove PyRange_New().Raymond Hettinger2004-12-031-0/+2
|
* Acknowledge contribution of a thorough tutorial review.Raymond Hettinger2004-12-031-0/+1
|
* SF patch #1077353: add key= argument to min and maxRaymond Hettinger2004-12-032-1/+5
| | | | (First draft of patch contributed by Steven Bethard.)
* Add key= argument to heapq.nsmallest() and heapq.nlargest().Raymond Hettinger2004-12-021-0/+40
|
* whoops!Anthony Baxter2004-11-301-2/+2
|
* doodedoodedoo on the way to 2.4 finalAnthony Baxter2004-11-301-39/+3
|
* preparing for 2.4 final (wooooooo!)Anthony Baxter2004-11-291-1/+1
|
* Hye-Shik Chang's fix for Bug 875692.Kurt B. Kaiser2004-11-231-0/+13
| | | | | | | | | Improve signal handling, especially when using threads, by forcing an early re-execution of PyEval_EvalFrame() "periodic" code when things_to_do is not cleared by Py_MakePendingCalls(). M Misc/NEWS M Python/ceval.c
* 2.4rc1Anthony Baxter2004-11-182-2/+2
|
* Mark PyRange_New() as deprecated.Raymond Hettinger2004-11-181-1/+2
|
* split functionality into pystack and pystackv commands. The former willSkip Montanaro2004-11-171-4/+19
| | | | | | | work with core dumps because it avoids calling any Python API routines. The latter prints all the local variable values as well as the stack frames but won't work with core dumps because it relies on _PyObject_Dump to print variables.
* SF bug 1065388: calendar day/month name lookup too slowTim Peters2004-11-131-0/+11
| | | | | | __getitem__() methods: compute only the new spellings needed to satisfy the given indexing object. This is purely an optimization (it should have no effect on visible semantics).
* SF patch 1062495: Modules/zipimport.c does not compile on solaris ↵Raymond Hettinger2004-11-101-0/+1
| | | | | | (Contributed by Niki W. Waibel.) Simple renaming to avoid a conflict that prevented compilation on Solaris.
* test_doctest.py test_pdb_set_trace_nested(): A new test from Jim FultonTim Peters2004-11-081-1/+4
| | | | | | | | | showing that doctest's pdb.set_trace() support was dramatically broken. doctest.py _OutputRedirectingPdb.trace_dispatch(): Return a local trace function instead of (implicitly) None. Else interaction with pdb was bizarre, noticing only 'call' events. Amazingly, the existing set_trace() tests didn't care.
* SF bug 1061968: threads: segfault or Py_FatalError at exitTim Peters2004-11-081-1/+4
| | | | | | | | | | | | | | | | | PyGILState_Ensure(): The fix in 2.4a3 for bug 1010677 reintroduced thread shutdown race bug 225673. Repaired by (once again) ensuring the GIL is held whenever deleting a thread state. Alas, there's no useful test case for this shy bug. Four years ago, only Guido could provoke it, on his box, and today only Armin can provoke it on his box. I've never been able to provoke it (but not for lack of trying!). This is a critical fix for 2.3.5 too, since the fix for 1010677 got backported there already and so also reintroduced 225673. I don't intend to backport this fix. For whoever (if anyone) does, there are other thread fixes in 2.4 that need backporting too, and I bet they need to happen first for this patch to apply cleanly.
* Fix for SF bug 988120 via patch 1061941.Jeremy Hylton2004-11-071-0/+1
| | | | If read() returned less than the number of bytes request, the full amount was subtracted from length instead of the actually read amount.
* Add comment about removal of CoreServices/CoreFoundation compilation againstBrett Cannon2004-11-071-1/+3
| | | | | the core on OS X (also specifically mention removal of PyMac_GetAppletScriptFile() ).
* Essentially SF patch 1061679: add missing __all__ to pickletools.py.Tim Peters2004-11-061-0/+2
| | | | Harmless.
* Comment cleanup.Brett Cannon2004-11-061-11/+11
|
* post-releaseAnthony Baxter2004-11-041-39/+55
|
* Fix bug 1052242. Also includes rewrite of test case using unittest andSkip Montanaro2004-11-041-0/+11
| | | | avoiding use of popen.
* release shenanigansAnthony Baxter2004-11-032-2/+2
|
* SF patch #1056967, changes the semantics of Template.safe_substitute() to notBarry Warsaw2004-11-011-0/+4
| | | | raise a ValueError for dangling delimiters (the delimiter itself is returned).
* SF 1055820: weakref callback vs gc vs threadsTim Peters2004-10-301-0/+11
| | | | | | | | In cyclic gc, clear weakrefs to unreachable objects before allowing any Python code (weakref callbacks or __del__ methods) to run. This is a critical bugfix, affecting all versions of Python since weakrefs were introduced. I'll backport to 2.3.
* Patch #1044395: Allow configure option --enable-shared in FreeBSD.Hye-Shik Chang2004-10-261-2/+2
| | | | (Submitted by James William Pye, Patch revised by Jiwon Seo)
* SF #737473: Show up-to-date source code in tracebacks always.Hye-Shik Chang2004-10-261-0/+3
| | | | | And add an optional argument 'filename' to linecache.checkcache() to enable checking caches per-file.
* SF bug #1054139: serious string hashing error in 2.4b1Raymond Hettinger2004-10-261-1/+1
| | | | | _PyString_Resize() readied strings for mutation but did not invalidate the cached hash value.
* SF bug #1052503: pdb runcall should accept keyword argumentsRaymond Hettinger2004-10-241-0/+2
|
* SF bug #1048870: call arg of lambda not updatingRaymond Hettinger2004-10-241-1/+4
|
* Move to version 2 of the PSF license, approved by the Board earlier today.Tim Peters2004-10-231-2/+22
|
* Fix minor reST error in Misc/NEWS.Brett Cannon2004-10-222-0/+2
| | | | Applies patch #1051866. Thanks Felix Wiemann.