Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ sf.net patch # 1121611 ] | Gregory P. Smith | 2005-08-21 | 5 | -22/+2095 |
| | | | | | | | | | A new hashlib module to replace the md5 and sha modules. It adds support for additional secure hashes such as SHA-256 and SHA-512. The hashlib module uses OpenSSL for fast platform optimized implementations of algorithms when available. The old md5 and sha modules still exist as wrappers around hashlib to preserve backwards compatibility. | ||||
* | Fix BZ2File.(x)readlines() for files without a newline. | Georg Brandl | 2005-08-21 | 1 | -8/+31 |
| | |||||
* | Correct definition of ST_GEN_IDX. | Martin v. Löwis | 2005-08-14 | 1 | -2/+2 |
| | |||||
* | Patch #1180695: Implement nanosecond stat resolution on FreeBSD, | Martin v. Löwis | 2005-08-09 | 1 | -0/+47 |
| | | | | add st_gen, st_birthtime. | ||||
* | PEP 342 implementation. Per Guido's comments, the generator throw() | Phillip J. Eby | 2005-08-02 | 2 | -14/+45 |
| | | | | | method still needs to support string exceptions, and allow None for the third argument. Documentation updates are needed, too. | ||||
* | Fix a typo. (found by Jong-uk Kim) | Hye-Shik Chang | 2005-07-28 | 1 | -1/+1 |
| | |||||
* | This is barry-scott's patch: | Michael W. Hudson | 2005-07-27 | 1 | -3/+3 |
| | | | | | | | | [ 1231069 ] ioctl has problem with -ive request codes by using the 'I' not the 'i' format code to PyArg_ParseTuple(). Backport candidate? Maybe... | ||||
* | [ 1243081 ] repair typos | Georg Brandl | 2005-07-22 | 1 | -1/+1 |
| | |||||
* | Fix bug | Michael W. Hudson | 2005-07-05 | 1 | -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. Hudson | 2005-06-20 | 1 | -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 Schemenauer | 2005-06-18 | 1 | -0/+1 |
| | | | | Backport candidate. | ||||
* | remove c++ style comment | Gregory P. Smith | 2005-06-16 | 1 | -1/+1 |
| | |||||
* | Fix check for error condition | Andrew M. Kuchling | 2005-06-15 | 1 | -1/+1 |
| | |||||
* | Michael Hudson pointed out that the Dialect_Type object isn't INCREF'd. Why | Skip Montanaro | 2005-06-15 | 1 | -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. Hudson | 2005-06-15 | 1 | -172/+165 |
| | | | | | | Slightly de-Fultonize two bits of C layout. No semantic changes. | ||||
* | Add a missing incref. | Michael W. Hudson | 2005-06-15 | 1 | -0/+1 |
| | | | | Backport candidate. | ||||
* | Leak fix from Michael Hudson. Fix memory leak when dialect doesn't | Skip Montanaro | 2005-06-15 | 1 | -0/+2 |
| | | | | validate. Closes 1220242. | ||||
* | [Bug #1200134] Fix buffer overflow by constraining size of .getstr(), ↵ | Andrew M. Kuchling | 2005-06-09 | 1 | -9/+13 |
| | | | | .instr() to size of allocated buffer | ||||
* | change set_bt_compare() callback comparison function to only take two | Gregory P. Smith | 2005-06-06 | 1 | -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. Smith | 2005-06-06 | 1 | -0/+1 |
| | |||||
* | fixes pybsddb SF bug id 1215432. DB.associate() would crash when a | Gregory P. Smith | 2005-06-06 | 1 | -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. (Reported | Hye-Shik Chang | 2005-06-04 | 1 | -1/+1 |
| | | | | by Darek Suchojad) | ||||
* | pybsddb 4.3.2: | Gregory P. Smith | 2005-06-04 | 1 | -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 Brandl | 2005-06-03 | 1 | -0/+4 |
| | |||||
* | pybsddb 4.3.1, adds support for DB.set_bt_compare database btree comparison | Gregory P. Smith | 2005-06-03 | 1 | -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. Kuchling | 2005-06-02 | 1 | -6/+1 |
| | | | | args is NULL | ||||
* | Patch #1212117: Add optional attribute st_flags to os.stat_result | Hye-Shik Chang | 2005-06-02 | 1 | -2/+15 |
| | | | | | when the member is available on the platform. (Contributed by Diego Petteno) | ||||
* | Add O_SHLOCK & O_EXLOCK. Closes patch #1103951. | Skip Montanaro | 2005-05-16 | 1 | -0/+6 |
| | |||||
* | Flush out support for ``class B(): pass`` syntax by adding support to the | Brett Cannon | 2005-04-09 | 1 | -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. Hudson | 2005-04-07 | 1 | -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. Hudson | 2005-04-06 | 1 | -1/+1 |
| | |||||
* | Add a comment explaining the import of longintrepr.h. | Michael W. Hudson | 2005-04-06 | 1 | -1/+1 |
| | |||||
* | Fill docstrings for module and functions, extracted from the tex | Hye-Shik Chang | 2005-04-04 | 1 | -13/+108 |
| | | | | documentation. (Patch #1173245, Contributed by Jeremy Yallop) | ||||
* | Fixes for | Michael W. Hudson | 2005-03-30 | 1 | -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. Hudson | 2005-03-30 | 1 | -1/+2 |
| | |||||
* | I don't think it's particularly accurate to say Guido is maintaining | Michael W. Hudson | 2005-03-30 | 1 | -3/+0 |
| | | | | this module any more. | ||||
* | Conditionally export a few more AFMT_* macros: AFMT_U16_NE, AFMT_S32_LE, | Greg Ward | 2005-03-28 | 1 | -0/+12 |
| | | | | AFMT_S32_BE, AFMT_MPEG. | ||||
* | Apply remove's mutation test after every equality test. | Raymond Hettinger | 2005-03-19 | 1 | -7/+7 |
| | |||||
* | Add a remove() method to collections.deque objects. | Raymond Hettinger | 2005-03-18 | 1 | -1/+38 |
| | |||||
* | SF bug #1160187: Setup file needs entries for collections, itertools, strop | Raymond Hettinger | 2005-03-09 | 1 | -0/+4 |
| | |||||
* | operator.itemgetter() and operator.attrgetter() now support extraction | Raymond Hettinger | 2005-03-09 | 1 | -14/+72 |
| | | | | | of multiple fields. This provides direct support for sorting by multiple keys. | ||||
* | Build with --disable-unicode again. Fixes #1158607. | Martin v. Löwis | 2005-03-08 | 2 | -1/+17 |
| | | | | Will backport to 2.4. | ||||
* | Convert file names of posix.access according to the file system encoding. | Martin v. Löwis | 2005-03-08 | 1 | -1/+2 |
| | |||||
* | Make functional.partial() more closely match the spec by emulating | Raymond Hettinger | 2005-03-08 | 1 | -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-only | Greg Ward | 2005-03-07 | 1 | -26/+54 |
| | | | | attributes to oss_audio_device object: 'closed', 'name', and 'mode'. | ||||
* | Patches #925152, #1118602: Avoid reading after the end of the buffer | Martin v. Löwis | 2005-03-04 | 1 | -1/+1 |
| | | | | in pyexpat.GetInputContext. Will backport to 2.4. | ||||
* | Patches #749830, #1144555: allow UNIX mmap size to default to current | Martin v. Löwis | 2005-03-03 | 1 | -5/+8 |
| | | | | file size. | ||||
* | Fix grammatical typo in a comment. | Brett Cannon | 2005-03-01 | 1 | -1/+1 |
| | |||||
* | SF patch #941881: PEP 309 Implementation (Partial Function Application). | Raymond Hettinger | 2005-02-28 | 1 | -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 in | Martin v. Löwis | 2005-02-27 | 1 | -0/+10 |
| | | | | remove_history and replace_history. Will backport to 2.4. |