diff options
author | Guido van Rossum <guido@python.org> | 1993-01-04 09:16:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-01-04 09:16:51 (GMT) |
commit | fea2af1e9b0c99cac6cb8806c4af651a38e92d07 (patch) | |
tree | e9e0ec3b003498ab942e1c0b7dd3d28951ca2701 /Lib/mimetools.py | |
parent | a2b7f40513ba5d75a2063c3fabe47377cd8c0416 (diff) | |
download | cpython-fea2af1e9b0c99cac6cb8806c4af651a38e92d07.zip cpython-fea2af1e9b0c99cac6cb8806c4af651a38e92d07.tar.gz cpython-fea2af1e9b0c99cac6cb8806c4af651a38e92d07.tar.bz2 |
* More changes due to stricter argument passing rules
* Fixed calendar.py, mimetools.py, whrandom.py to cope with time.time()
returning a floating point number. (And fix old bug in calendar)
* Add recursion level to mainloop.mainloop(), to make it reentrant.
Diffstat (limited to 'Lib/mimetools.py')
-rw-r--r-- | Lib/mimetools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py index 79c6fb1..84eff9d 100644 --- a/Lib/mimetools.py +++ b/Lib/mimetools.py @@ -108,6 +108,6 @@ def choose_boundary(): pid = `os.getpid()` seed = `rand.rand()` _prefix = hostid + '.' + uid + '.' + pid - timestamp = `time.time()` + timestamp = `int(time.time())` seed = `rand.rand()` return _prefix + '.' + timestamp + '.' + seed |