summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* [ 1243081 ] repair typosGeorg Brandl2005-07-221-1/+1
|
* Fix bugMichael W. Hudson2005-07-051-0/+2
| | | | | | | | | | | [ 1232517 ] OverflowError in time.utime() causes strange traceback A needed error check was missing. (Actually, this error check may only have become necessary in fairly recent Python, not sure). Backport candidate.
* Fix bug:Michael W. Hudson2005-06-201-3/+6
| | | | | | | | [ 1163563 ] Sub threads execute in restricted mode basically by fixing bug 1010677 in a non-broken way. Backport candidate.
* Add missing INCREF.Neil Schemenauer2005-06-181-0/+1
| | | | Backport candidate.
* remove c++ style commentGregory P. Smith2005-06-161-1/+1
|
* Fix check for error conditionAndrew M. Kuchling2005-06-151-1/+1
|
* Michael Hudson pointed out that the Dialect_Type object isn't INCREF'd. WhySkip Montanaro2005-06-151-0/+1
| | | | | this worked is a bit mystical. Perhaps it never gets freed because the object just happens never to be DECREF'd (but that seems unlikely).
* Consistently use hard tabs for indentation.Michael W. Hudson2005-06-151-172/+165
| | | | | | Slightly de-Fultonize two bits of C layout. No semantic changes.
* Add a missing incref.Michael W. Hudson2005-06-151-0/+1
| | | | Backport candidate.
* Leak fix from Michael Hudson. Fix memory leak when dialect doesn'tSkip Montanaro2005-06-151-0/+2
| | | | validate. Closes 1220242.
* [Bug #1200134] Fix buffer overflow by constraining size of .getstr(), ↵Andrew M. Kuchling2005-06-091-9/+13
| | | | .instr() to size of allocated buffer
* change set_bt_compare() callback comparison function to only take twoGregory P. Smith2005-06-061-10/+7
| | | | | arguments (left, right) like any sane comparison function. no need to pass in the db object as an argument.
* additional sanity check. secondaryDB cannot be closed.Gregory P. Smith2005-06-061-0/+1
|
* fixes pybsddb SF bug id 1215432. DB.associate() would crash when aGregory P. Smith2005-06-061-5/+3
| | | | | | DBError was supposed to be raised. needs backport to 2.4.x and possibly 2.3.x.
* Correct URL to the official UnicodeData 3.2.0 resource. (ReportedHye-Shik Chang2005-06-041-1/+1
| | | | by Darek Suchojad)
* pybsddb 4.3.2:Gregory P. Smith2005-06-041-24/+64
| | | | | | | | | | | * the has_key() method was not raising a DBError when a database error had occurred. [SF patch id 1212590] * added a wrapper for the DBEnv.set_lg_regionmax method [SF patch id 1212590] * DBKeyEmptyError now derives from KeyError just like DBNotFoundError. * internally everywhere DB_NOTFOUND was checked for has been updated to also check for DB_KEYEMPTY. This fixes the semantics of a couple operations on recno and queue databases to be more intuitive and results in less unexpected DBKeyEmptyError exceptions being raised.
* Bug #1194181: bz2.BZ2File didn't handle mode 'U' correctly.Georg Brandl2005-06-031-0/+4
|
* pybsddb 4.3.1, adds support for DB.set_bt_compare database btree comparisonGregory P. Smith2005-06-031-1/+163
| | | | | | functions written in python. contributed by <frederic.gobry@epfl.ch>
* Delete some vestigial code; execution will never reach the 'if' statement if ↵Andrew M. Kuchling2005-06-021-6/+1
| | | | args is NULL
* Patch #1212117: Add optional attribute st_flags to os.stat_resultHye-Shik Chang2005-06-021-2/+15
| | | | | when the member is available on the platform. (Contributed by Diego Petteno)
* Add O_SHLOCK & O_EXLOCK. Closes patch #1103951.Skip Montanaro2005-05-161-0/+6
|
* Flush out support for ``class B(): pass`` syntax by adding support to theBrett Cannon2005-04-091-6/+15
| | | | | | 'parser' module and 'compiler' package. Closes patch #1176012. Thanks logistix.
* In a threads-disabled build, typing Ctrl-C into a raw_input() crashed,Michael W. Hudson2005-04-071-0/+4
| | | | | | | | | because (essentially) I didn't realise that PY_BEGIN/END_ALLOW_THREADS actually expanded to nothing under a no-threads build, so if you somehow NULLed out the threadstate (e.g. by calling PyThread_SaveThread) it would stay NULLed when you return to Python. Argh! Backport candidate.
* Make that a C, not a C++, comment.Michael W. Hudson2005-04-061-1/+1
|
* Add a comment explaining the import of longintrepr.h.Michael W. Hudson2005-04-061-1/+1
|
* Fill docstrings for module and functions, extracted from the texHye-Shik Chang2005-04-041-13/+108
| | | | documentation. (Patch #1173245, Contributed by Jeremy Yallop)
* Fixes forMichael W. Hudson2005-03-301-26/+23
| | | | | | | | | | | | | | | | | [ 1166660 ] The readline module can cause python to segfault It seems to me that the code I'm rewriting here attempted to call any user-supplied hook functions using the thread state of the thread that called the hook-setting function, as opposed to that of the thread that is currently executing. This doesn't work, in general. Fix this by using the PyGILState API (It wouldn't be that hard to define a dummy version of said API when #ifndef WITH_THREAD, would it?). Also, check the conversion to integer of the return value of a hook function for errors (this problem was mentioned in the ipython bug report linked to in the above bug).
* Be a bit more accurate.Michael W. Hudson2005-03-301-1/+2
|
* I don't think it's particularly accurate to say Guido is maintainingMichael W. Hudson2005-03-301-3/+0
| | | | this module any more.
* Conditionally export a few more AFMT_* macros: AFMT_U16_NE, AFMT_S32_LE,Greg Ward2005-03-281-0/+12
| | | | AFMT_S32_BE, AFMT_MPEG.
* Apply remove's mutation test after every equality test.Raymond Hettinger2005-03-191-7/+7
|
* Add a remove() method to collections.deque objects.Raymond Hettinger2005-03-181-1/+38
|
* SF bug #1160187: Setup file needs entries for collections, itertools, stropRaymond Hettinger2005-03-091-0/+4
|
* operator.itemgetter() and operator.attrgetter() now support extractionRaymond Hettinger2005-03-091-14/+72
| | | | | of multiple fields. This provides direct support for sorting by multiple keys.
* Build with --disable-unicode again. Fixes #1158607.Martin v. Löwis2005-03-082-1/+17
| | | | Will backport to 2.4.
* Convert file names of posix.access according to the file system encoding.Martin v. Löwis2005-03-081-1/+2
|
* Make functional.partial() more closely match the spec by emulatingRaymond Hettinger2005-03-081-5/+55
| | | | | | | some useful features of regular functions: * Made weak referencable. * Allow attribute access so a user can set __name__, __doc__, etc.
* SF #818006: merge from release24-maint branch: add useful read-onlyGreg Ward2005-03-071-26/+54
| | | | attributes to oss_audio_device object: 'closed', 'name', and 'mode'.
* Patches #925152, #1118602: Avoid reading after the end of the bufferMartin v. Löwis2005-03-041-1/+1
| | | | in pyexpat.GetInputContext. Will backport to 2.4.
* Patches #749830, #1144555: allow UNIX mmap size to default to currentMartin v. Löwis2005-03-031-5/+8
| | | | file size.
* Fix grammatical typo in a comment.Brett Cannon2005-03-011-1/+1
|
* SF patch #941881: PEP 309 Implementation (Partial Function Application).Raymond Hettinger2005-02-281-0/+225
| | | | | Combined efforts of many including Peter Harris, Hye-Shik Chang, Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger.
* Patch #1093585: raise a ValueError for negative history items inMartin v. Löwis2005-02-271-0/+10
| | | | remove_history and replace_history. Will backport to 2.4.
* The error message "can't start new thread" should not end in aGuido van Rossum2005-02-201-1/+1
| | | | newline.
* FixMichael W. Hudson2005-01-311-0/+4
| | | | | | | [ 1077106 ] Negative numbers to os.read() cause segfault Sorry for sitting on this for so long! Is there a chance it could make 2.3.5?
* Put docstring for getspall into same #ifdef block as function definitionNeal Norwitz2005-01-241-6/+4
| | | | Remove C++ (C99) style comments
* Patch #579435: Shadow Password Support ModuleMartin v. Löwis2005-01-232-0/+180
|
* Default stat_float_times to true.Martin v. Löwis2005-01-161-1/+1
|
* Moved reader \r and \n processing from the iterator to the state machine -Andrew McNamara2005-01-131-97/+75
| | | | | 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-131-0/+45
| | | | the changes.