| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
too large; the gzip filesize should be written out mod 2**32. (Reported by Johan Fredrik Ohman)
|
| |
|
|
|
|
|
|
|
| |
charmaptranslate_makespace() allocated more memory than required for the
next replacement but didn't remember that fact, so memory size was growing
exponentially every time a replacement string is longer that one character.
This fixes SF bug #828737.
|
|
|
|
|
|
| |
It works like the pure python verion except:
* it stops storing data after of the iterators gets deallocated
* the data queue is implemented with two stacks instead of one dictionary.
|
|
|
|
| |
Backported to 2.3.
|
| |
|
| |
|
| |
|
|
|
|
| |
extension module that was once part of Medusa. Contributed by Kjetil Jacobsen
|
|
|
|
|
|
|
|
|
|
|
| |
of the dispatcher object break. e.g. if you close() the object, it
tries to remove itself from the default map, not from the map the
dispatcher was created with.
The patch, from Stephane Ninin, records the map as an attribute of
the dispatcher instance.
2.3 bugfix candidate.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch was tweaked slightly. It's get a different mechanism for
generating the cnonce which uses /dev/urandom when possible to
generate less-easily-guessed random input.
Also rearrange the imports so that they are alphabetical and
duplicates are eliminated.
Add a few XXX comments about things left undone and things that could
be improved.
|
|
|
|
|
| |
iterator where it probably shouldn't have.
Closes SF bug #818861.
|
|
|
|
| |
rather than showing weird numbers like 8.4e+03 usec.
|
|
|
|
| |
(From SF patch #810751)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
key provides C support for the decorate-sort-undecorate pattern.
reverse provide a stable sort of the list with the comparisions reversed.
* Amended the docs to guarantee sort stability.
|
|
|
|
|
| |
Remove fallback code that tries to read marshal data from a results
file, since this module never writes marshal data.
|
| |
|
|
|
|
|
| |
This should not be backported to 2.3, as it might break backwards
compatibility.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
module existed in the current directory. Fix this. Backport
candidate (I presume).
|
| |
|
|
|
|
| |
Backport candidate.
|
| |
|
|
|
|
| |
Not sure if this fix is great, but it's probably a small improvement.
|
| |
|
|
|
|
| |
Adopt Jeremy Fincher's suggested function name, "any", instead of "some".
|
|
|
|
|
|
|
| |
* Added C coded getrandbits(k) method that runs in linear time.
* Call the new method from randrange() for ranges >= 2**53.
* Adds a warning for generators not defining getrandbits() whenever they
have a call to randrange() with too large of a population.
|
|
|
|
|
|
|
| |
first line of a header section isn't an RFC-ish header, it's just
ignored instead of throwing an UnboundLocalError.
Backport candidate.
|
| |
|
|
|
|
|
|
|
|
|
| |
is None, the next row read is used as the fieldnames. In the common case,
this means the programmer doesn't need to know the fieldnames ahead of time.
The first row of the file will be used. In the uncommon case, this means
the programmer can set the reader's fieldnames attribute to None at any time
and have the next row read as the next set of fieldnames, so a csv file can
contain several "sections", each with different fieldnames.
|
|
|
|
| |
of the current value without reading the value itself.
|
| |
|
|
|
|
|
|
|
| |
db that is opened. DB_THREAD and DB_INIT_LOCK allow for multithreaded
access. DB_PRIVATE prevents the DBEnv from using the filesystem
(making it only usable by this process; and in this implementation
using one DBEnv per bsddb database)
|
| |
|
| |
|
|
|
|
| |
Already 'backported' to release23-maint.
|
| |
|
|
|
|
| |
given prefix rather than comparing a slice.
|
|
|
|
|
|
| |
assertRaises.
NOT a bugfix candidate.
|
|
|
|
|
|
|
|
|
|
| |
why in a new comment. My home Win98SE box is one of the "real systems"
alluded to (my system "default sound" appears to have vanished sometime
in the last month, that's certainly not a Python bug, and the MS
PlaySound docs are correct in their explanation of what happens then).
Bugfix candidate. If someone can still sneak it into 2.3.1, that would
be good.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
method (PyUnit issue 563882, thanks to Alexandre Fayolle)
- Ignore non-callable attributes of classes when searching for test
method names (PyUnit issue 769338, thanks to Seth Falcon)
- New assertTrue and assertFalse aliases for comfort of JUnit users
- Automatically discover 'runTest()' test methods (PyUnit issue 469444,
thanks to Roeland Rengelink)
- Dropped Python 1.5.2 compatibility, merged appropriate shortcuts from
Python CVS; should work with Python >= 2.1.
- Removed all references to string module by using string methods instead
|
| |
|
|
|
|
|
|
|
|
|
|
| |
features in BerkeleyDB not exposed. notably: the DB_MPOOLFILE interface
has not yet been wrapped in an object.
Adds support for building and installing bsddb3 in python2.3 that has
an older version of this module installed as bsddb without conflicts.
The pybsddb.sf.net build/packaged version of the module uses a
dynamicly loadable module called _pybsddb rather than _bsddb.
|