[pywin32-bugs] [ pywin32-Bugs-861258 ] PyTime.Format kills Python interpreter
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-02-08 05:25:26
|
Bugs item #861258, was opened at 2003-12-16 13:45 Message generated for change (Settings changed) made by osuchw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=861258&group_id=78018 Category: com Group: None >Status: Closed Resolution: Fixed Priority: 5 Submitted By: Waldemar Osuch (osuchw) Assigned to: Nobody/Anonymous (nobody) Summary: PyTime.Format kills Python interpreter Initial Comment: When using win32all-163 following session causes hard crash. C:\Python23>python Python 2.3.2 (#49, Oct 2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import pywintypes >>> t = pywintypes.Time(-1223123) >>> t <PyTime:12/30/1899 12:00:00 AM> >>> t.Format('%d-%b-%Y') See attached DrWatson log file I came accross this error when retrieving dates from MSAcces database and trying to convert it into something I can load into Oracle. It seems that the dates before epoch cause this. ---------------------------------------------------------------------- Comment By: Waldemar Osuch (osuchw) Date: 2004-02-07 22:23 Message: Logged In: YES user_id=895041 Looks like the crash was fixed in pywin32 build200. It generates ValueError now ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=861258&group_id=78018 |