]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
choose_boundary(): Incorporated a threadsafe incrementing counter, so that
authorTim Peters <tim.peters@gmail.com>
Sun, 15 Jun 2003 22:05:58 +0000 (22:05 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 15 Jun 2003 22:05:58 +0000 (22:05 +0000)
commit080da28bdbaf36677bf6a429f44d8f3a8eb44bf6
tree5d1ad3bce499a26f86213019c3f2b99db382db1d
parentb1e63c0d05f1a2b137c37d51a24667637f7142ea
choose_boundary():  Incorporated a threadsafe incrementing counter, so that
unique boundary strings within a program run are guaranteed.  On Windows,
duplicates were pretty likely, due to the coarse granularity of time.time.
Toned down the absurdly optimistic claims in the docstring.

Bugfix candidate.
Lib/mimetools.py