Martin v. Löwis
f09582eeda
Correct definition of ST_GEN_IDX.
2005-08-14 21:42:34 +00:00
Martin v. Löwis
ebd9d5ba1a
Patch #1180695 : Implement nanosecond stat resolution on FreeBSD,
...
add st_gen, st_birthtime.
2005-08-09 15:00:59 +00:00
Phillip J. Eby
0d6615fd29
PEP 342 implementation. Per Guido's comments, the generator throw()
...
method still needs to support string exceptions, and allow None for the
third argument. Documentation updates are needed, too.
2005-08-02 00:46:46 +00:00
Hye-Shik Chang
97bb8ad394
Fix a typo. (found by Jong-uk Kim)
2005-07-28 05:57:19 +00:00
Michael W. Hudson
8137bea4ca
This is barry-scott's patch:
...
[ 1231069 ] ioctl has problem with -ive request codes
by using the 'I' not the 'i' format code to PyArg_ParseTuple().
Backport candidate? Maybe...
2005-07-27 20:24:40 +00:00
Georg Brandl
08c02dbb85
[ 1243081 ] repair typos
2005-07-22 18:39:19 +00:00
Michael W. Hudson
b89638148b
Fix bug
...
[ 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.
2005-07-05 15:21:58 +00:00
Michael W. Hudson
188d4366be
Fix bug:
...
[ 1163563 ] Sub threads execute in restricted mode
basically by fixing bug 1010677 in a non-broken way.
Backport candidate.
2005-06-20 16:52:57 +00:00
Neil Schemenauer
3b1cbf9ba0
Add missing INCREF.
...
Backport candidate.
2005-06-18 17:37:06 +00:00
Gregory P. Smith
8966d3de70
remove c++ style comment
2005-06-16 19:01:42 +00:00
Andrew M. Kuchling
b5e7ff4aeb
Fix check for error condition
2005-06-15 18:46:50 +00:00
Skip Montanaro
32c5d424fd
Michael Hudson pointed out that the Dialect_Type object isn't INCREF'd. Why
...
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).
2005-06-15 13:35:08 +00:00
Michael W. Hudson
2368b3c41b
Consistently use hard tabs for indentation.
...
Slightly de-Fultonize two bits of C layout.
No semantic changes.
2005-06-15 12:48:40 +00:00
Michael W. Hudson
64e0814798
Add a missing incref.
...
Backport candidate.
2005-06-15 12:25:20 +00:00
Skip Montanaro
d60fbd469e
Leak fix from Michael Hudson. Fix memory leak when dialect doesn't
...
validate. Closes 1220242.
2005-06-15 01:33:30 +00:00
Andrew M. Kuchling
52a14c3cdc
[Bug #1200134 ] Fix buffer overflow by constraining size of .getstr(), .instr() to size of allocated buffer
2005-06-09 17:53:27 +00:00
Gregory P. Smith
ac741c57d4
change set_bt_compare() callback comparison function to only take two
...
arguments (left, right) like any sane comparison function. no need to
pass in the db object as an argument.
2005-06-06 17:31:32 +00:00
Gregory P. Smith
91116b629e
additional sanity check. secondaryDB cannot be closed.
2005-06-06 10:28:06 +00:00
Gregory P. Smith
692ca9a0cb
fixes pybsddb SF bug id 1215432. DB.associate() would crash when a
...
DBError was supposed to be raised.
needs backport to 2.4.x and possibly 2.3.x.
2005-06-06 09:55:06 +00:00
Hye-Shik Chang
4c560ea05b
Correct URL to the official UnicodeData 3.2.0 resource. (Reported
...
by Darek Suchojad)
2005-06-04 07:31:48 +00:00
Gregory P. Smith
e947706b10
pybsddb 4.3.2:
...
* 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.
2005-06-04 06:46:59 +00:00
Georg Brandl
6b95f1d963
Bug #1194181 : bz2.BZ2File didn't handle mode 'U' correctly.
2005-06-03 19:47:00 +00:00
Gregory P. Smith
e4ed2de260
pybsddb 4.3.1, adds support for DB.set_bt_compare database btree comparison
...
functions written in python.
contributed by <frederic.gobry@epfl.ch >
2005-06-03 07:03:07 +00:00
Andrew M. Kuchling
a43ece9654
Delete some vestigial code; execution will never reach the 'if' statement if args is NULL
2005-06-02 17:07:11 +00:00
Hye-Shik Chang
5f937a7b8b
Patch #1212117 : Add optional attribute st_flags to os.stat_result
...
when the member is available on the platform. (Contributed by
Diego Petteno)
2005-06-02 13:09:30 +00:00