Issue445364

classification
Title: time.ctime returning strange chars
Type: Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bckfnn Nosy List: bckfnn, nobody
Priority: normal Keywords:

Created on 2001-07-27.23:22:44 by anonymous, last changed 2001-07-30.08:29:40 by nobody.

Messages
msg357 (view) Author: Nobody/Anonymous (nobody) Date: 2001-07-27.23:22:44
jython ver 2.1a2
time.ctime() returns strange charcters instead of the 
day.

>>> time.ctime()
Traceback (innermost last):
  File "<console>", line 1, in ?
TypeError: ctime(): expected 1 args; got 0


time.ctime() doesn't accept no parameters as python 
does.

>>> time.ctime()
Traceback (innermost last):
  File "<console>", line 1, in ?
TypeError: ctime(): expected 1 args; got 0

msg358 (view) Author: Finn Bock (bckfnn) Date: 2001-07-28.19:53:14
Logged In: YES 
user_id=4201

A copy&paste error seems to have eaten the "strange 
character" part of the report.
msg359 (view) Author: Finn Bock (bckfnn) Date: 2001-07-29.17:16:40
Logged In: YES 
user_id=4201

The TypeError is fixed in time.java: 2.15;

The main problem in the report isn't documented so I'm 
going to close it as fixed. If anyone knows what 
the "strange chars" is about, feel free to re-open the bug 
report.
msg360 (view) Author: Nobody/Anonymous (nobody) Date: 2001-07-30.08:29:40
Logged In: NO 

The strange character was just jython using my locale 
settings which led to strange characters in the console 
window under win2k (different codepages).
History
Date User Action Args
2001-07-27 23:22:44anonymouscreate