From: SourceForge.net <no...@so...> - 2006-10-17 20:08:05
|
Bugs item #1534547, was opened at 2006-08-04 16:46 Message generated for change (Comment added) made by laukpe You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1534547&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: os.path.curdir, os.path.sep, ... missing from Jython 2.2a1 Initial Comment: I noticed that following attributes are missing from 'os.path' module in Jython 2.2a1 but they are available at least on Python 2.4. altsep curdir extsep pardir pathsep sep Having these attributes would make it easier to write code that works both in Python and Jython. Fortunately 'sep' and 'pathsep' are available in 'os' module and others are not that important because, AFAIK, they have same values at least on Windows, Linux and modern Macs. ---------------------------------------------------------------------- Comment By: Pekka Laukkanen (laukpe) Date: 2006-10-17 23:08 Message: Logged In: YES user_id=1379331 When writing code for both Jython and Python it is not that problematic that these attributes are missing because you'll notice it pretty soon. A much bigger problem is that people writing code to Python are unlikely to know that and it's not possible to use code where these attrs are used in Jython without tweaking. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1534547&group_id=12867 |