summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* tweaks, small updatesMichael W. Hudson2005-01-181-9/+9
|
* Document the reconvert module.Skip Montanaro2005-01-161-0/+2
|
* Default stat_float_times to true.Martin v. Löwis2005-01-161-0/+2
|
* Added SEEK_* constants. Fixes #711830.Martin v. Löwis2005-01-161-0/+2
|
* Moved reader \r and \n processing from the iterator to the state machine -Andrew McNamara2005-01-131-2/+3
| | | | | this allows for better handling of newline characters in quoted fields (and hopefully resolves Bug 967934).
* Add strptime() constructor to datetime class. Thanks to Josh Spoerri forSkip Montanaro2005-01-132-0/+3
| | | | the changes.
* Add counting of source iterator lines to the reader object - handy forAndrew McNamara2005-01-121-0/+4
| | | | | user error messages (otherwise difficult to do without instrumenting the source).
* When quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fieldsAndrew McNamara2005-01-121-2/+5
| | | | to floats.
* When using QUOTE_NONNUMERIC, we now test for "numericness" withAndrew McNamara2005-01-121-0/+3
| | | | | | | | PyNumber_Check, rather than trying to convert to a float. Reimplemented writer - now raises exceptions when it sees a quotechar but neither doublequote or escapechar are set. Doublequote results are now more consistent (eg, single quote should generate """", rather than "", which is ambiguous).
* Rename csv.set_field_limit to csv.field_size_limit (since it both sets andAndrew McNamara2005-01-121-1/+1
| | | | gets).
* Add news about csv module updates.Andrew McNamara2005-01-121-0/+28
|
* SF 1098985: set objects cannot be marshalledRaymond Hettinger2005-01-111-0/+2
|
* Add definitions for "up" and "down" commands that print/display the currentSkip Montanaro2005-01-081-2/+52
| | | | | | | | | | Python file/line when the current C execution frame is inside PyEval_EvalFrame. These are commented out by default because GDB sometimes crashes as a result (seems like a GDB bug). Add a pyframe command that displays the current Python stack frame. If the marked lines are uncommented, it will also cause Emacs/XEmacs to display the current file/line.
* In _DummyThread objects the lock stored in __block (allocated thanks toBrett Cannon2005-01-081-0/+5
| | | | | | | | _Thread.__init__) was never used. This is a waste since locks use OS primitives that are in limited supply. So the lock is deleted in _DummyThread.__init__ . Closes bug #1089632.
* SF #75103: imghdr -- identify JPEGs in EXIF formatRaymond Hettinger2005-01-071-0/+2
|
* Teach the peephole optimizer to fold simple constant expressions.Raymond Hettinger2005-01-021-0/+3
|
* [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.