Issue222833

classification
Title: os.defpath is not defined.
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

Created on 2000-11-18.19:22:41 by bckfnn, last changed 2000-11-18.22:46:57 by bckfnn.

Messages
msg111 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.19:22:41
A minor difference between CPython and JPython. os.defpath is not defined 
in the os module.


[d:\]jpython
JPython 1.1beta4 on java1.2.1 (JIT: symcjit)
Copyright (C) 1997-1999 Corporation for National Research Initiatives
>>> import os
>>> print os.defpath
Traceback (innermost last):
  File "<console>", line 1, in ?
AttributeError: class 'org.python.modules.os' has no attribute 'defpath'
>>>

[d:\]python
Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import os
>>> print os.defpath
.;C:\bin
>>>
msg112 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.22:46:57
Fixed in javaos.py.
History
Date User Action Args
2000-11-18 19:22:41bckfnncreate