Gregory P. Smith
6564ca72ad
fix import to work with either module name.
2005-06-09 07:11:42 +00:00
Andrew M. Kuchling
6e57c2a653
[Patch #1171487 , bug #1170331 ] Fix error in base64.b32decode when encoding a single null byte; test a null byte in all encodings to be sure it works
2005-06-08 22:51:38 +00:00
Andrew M. Kuchling
8dbe1a70d7
[Bug #1149413 ] 'psize' argument should be 'pgsize'
2005-06-08 21:51:28 +00:00
Anthony Baxter
422b10fc25
fix broken (unexecuted) test
2005-06-08 04:55:50 +00:00
Anthony Baxter
95a2a4ea70
Tools/scripts/reindent.py _is_ your friend
2005-06-08 04:35:50 +00:00
Skip Montanaro
684364c646
Tweak note about using os.open to lock files if O_SHLOCK and O_EXLOCK are
...
present.
2005-06-08 02:28:11 +00:00
Andrew M. Kuchling
ecdad8575e
[Bug #1172763 ] dumbdbm uses eval() on lines, so it chokes if there's an extra \r on the end of a line; fixed by stripping off trailing whitespace.
2005-06-07 19:36:10 +00:00
Raymond Hettinger
eb2608415e
Minor namespace clean-up.
2005-06-07 18:52:34 +00:00
Andrew M. Kuchling
8f6f08c5d4
[Bug #1170422 ] Use correct option name
2005-06-07 18:51:42 +00:00
Raymond Hettinger
d391d10d2e
Add a decimal FAQ
2005-06-07 18:50:56 +00:00
Gregory P. Smith
7e87a8a0be
fix more Errors (not Failures) when run using BerkeleyDB <= 4.0
2005-06-06 18:12:24 +00:00
Gregory P. Smith
c9321ccdfc
fix Errors (not Failures) in test cases when running with BerkeleyDB<4.2
2005-06-06 17:59:00 +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
889bca0df1
make the tests that expect uncatchable exceptions from a callback test
...
for them in a roundabout way (catching and parsing stderr)
keeps test output clean.
2005-06-06 17:30:22 +00:00
Gregory P. Smith
91116b629e
additional sanity check. secondaryDB cannot be closed.
2005-06-06 10:28:06 +00:00
Gregory P. Smith
9e28205502
test case for pybsddb SF bug id 1215432
2005-06-06 10:26:25 +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
Gregory P. Smith
48796c3241
test DB.associate using transactions. somewhat related to SF pybsddb
...
bug #1215432
2005-06-06 09:52:10 +00:00
Vinay Sajip
4c1423bb7a
Documentation clarified re. config socket listener protocol
2005-06-05 20:39:36 +00:00
Georg Brandl
b6c1bb883e
Bug #1184380 : extending&embedding example broken
2005-06-05 10:56:59 +00:00
Skip Montanaro
61aa630d01
Fix missing assignments of marshal.load() values. Closes #1214662 .
2005-06-04 12:55:32 +00:00
Georg Brandl
89f000e7a8
Bug #1210001 : typo in email doc
2005-06-04 10:01:15 +00:00
Georg Brandl
9166e1a24a
Bug #1196315 : fix weakref.WeakValueDictionary constructor.
2005-06-04 09:20:03 +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
Tim Peters
5d36a55eaa
Whitespace normalization.
2005-06-03 22:40:27 +00:00
Georg Brandl
6b95f1d963
Bug #1194181 : bz2.BZ2File didn't handle mode 'U' correctly.
2005-06-03 19:47:00 +00:00
Michael W. Hudson
6d6917be00
Fix a couple of crashing-on-malformed data marshal bugs.
2005-06-03 15:17:16 +00:00
Anthony Baxter
451ae18751
[ 1197218 ] test_locale fix on modern linux
...
On more modern linuxes (and probably others) straight 'en_US' isn't a
valid locale. Make the code try a couple of alternates.
backport candidate
2005-06-03 15:04:15 +00:00
Michael W. Hudson
df88846ebc
This is my patch:
...
[ 1180995 ] binary formats for marshalling floats
Adds 2 new type codes for marshal (binary floats and binary complexes), a
new marshal version (2), updates MAGIC and fiddles the de-serializing of
code objects to be less likely to clobber the real reason for failing if
it fails.
2005-06-03 14:41:55 +00:00
Georg Brandl
268e61cf74
Bug #1213894 : os.path.realpath didn't resolve symlinks that were the first
...
component of the path.
2005-06-03 14:28:50 +00:00
Anthony Baxter
5661699995
fix object.__divmod__.__doc__
...
backport candidate
2005-06-03 14:12:21 +00:00
Michael W. Hudson
e7fa1af85b
M-x untabify
2005-06-03 13:55:58 +00:00
Raymond Hettinger
f8f937f211
Update permissions for Birkenfeld.
2005-06-03 11:15:03 +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
Andrew M. Kuchling
921879abc2
[Bug #1209880 ] Describe only the True/False return values from lock.acquire()
2005-06-02 16:59:18 +00:00
Andrew M. Kuchling
6a15c5d038
[Bug #1193001 ] Make the notation section use the same productionlist env. as other grammar rules
2005-06-02 13:50:19 +00:00
Andrew M. Kuchling
3554cad009
[Bug #1177831 ] Exercise (?(id)yes|no) for a group other than the first one
2005-06-02 13:38:45 +00:00
Andrew M. Kuchling
c30faa812c
[Bug #1177831 ] Fix generation of code for GROUPREF_EXISTS. Thanks to Andre Malo for the fix.
2005-06-02 13:35:52 +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
Neil Schemenauer
f36947032f
Fix compiler.ast.flatten function so that it works on lists.
2005-06-02 05:55:20 +00:00
Andrew M. Kuchling
76276177de
[Bug #1152762 ] Ensure _end_of_line() returns an x-coordinate that's within the text box
2005-06-02 00:10:04 +00:00
Piers Lauder
d80ef02ec0
added GET/SETANNOTATION methods
2005-06-01 23:50:52 +00:00
Andrew M. Kuchling
a0abb24729
[Bug #1105706 ] Use correct name for constant
2005-06-01 23:31:18 +00:00
Andrew M. Kuchling
79cf9d8e7f
[Bug #1123268 ] Fix typo
2005-06-01 23:22:11 +00:00
Andrew M. Kuchling
1a5152d94b
[Bug #1181939 ] Remove incorrect text about __init__; move map discussion into a separate paragraph
2005-06-01 15:39:57 +00:00
Andrew M. Kuchling
597bd60ef1
[Bug #1194249 ] Fix duplicate assignment in example code
2005-06-01 15:26:24 +00:00
Michael W. Hudson
da85a90808
NEWS entry for the patch I checked in last week.
2005-06-01 11:34:22 +00:00
Raymond Hettinger
dede3bdfa1
SF bug #1209411 : divmod documentation shd reference // not /
2005-05-31 11:04:00 +00:00