Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0f5e5a

Browse files
author
Andrew MacIntyre
committed
update OS/2 EMX port notes
1 parent 71d74e8 commit b0f5e5a

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

PC/os2emx/README.os2emx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ distribution by changing to the Python 2.3 home directory and executing the
292292
REGRTEST.CMD batch file. The following tests are known to fail at this
293293
time:
294294
- test_mhlib (I don't know of any port of MH to OS/2);
295-
- test_pwd (see "YOU HAVE BEEN WARNED" item 10, probably a bug in my code);
295+
- test_pwd (see "YOU HAVE BEEN WARNED" item 10);
296296
- test_grp (as per test_pwd);
297297
- test_strftime (see "YOU HAVE BEEN WARNED" item 15);
298298
- test_strptime (see "YOU HAVE BEEN WARNED" item 22);
@@ -494,16 +494,21 @@ grp.py: $ETC_GROUP (%ETC_GROUP%)
494494
$ETC/group (%ETC%/group)
495495
$PYTHONHOME/Etc/group (%PYTHONHOME%/Etc/group)
496496

497+
The ETC_PASSWD and ETC_GROUP environment variables are intended to allow
498+
support for multiple passwd/grp files, where other applications may not
499+
support as wide a variety of input variations (drive remappings,
500+
separators etc).
501+
497502
Both modules support using either the ":" character (Unix standard) or
498503
";" (OS/2, DOS, Windows standard) field separator character, and pwd.py
499504
implements the following drive letter conversions for the home_directory and
500505
shell fields (for the ":" separator only):
501506
$x -> x:
502507
x; -> x:
503508

504-
Example versions of passwd and group are in the Etc subdirectory. Note
505-
that as of this release, this code fails the regression test. I'm looking
506-
into why, and hope to have this fixed.
509+
Example versions of passwd and group are in the Etc subdirectory. The
510+
regression tests (test_pwd and test_grp) will fail if valid password and
511+
group files cannot be found, but should pass otherwise.
507512

508513
Be aware that Python's pwd & group modules are for reading password and
509514
group information only.

0 commit comments

Comments
 (0)