[ python-Bugs-1069433 ] Python 2.4c1 does not have universal newline support

SourceForge.net noreply at sourceforge.net
Mon Nov 22 14:51:55 CET 2004


Bugs item #1069433, was opened at 2004-11-20 00:33
Message generated for change (Comment added) made by ncoghlan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1069433&group_id=5470

Category: Windows
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: PieterB (pieterb)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python 2.4c1 does not have universal newline support

Initial Comment:
On my WinXP SP 1 system with Python2.4c1.msi installed
the testcase test_univnewlines.py fails:

Traceback (most recent call last):
  File "C:\Python24\Lib\test\test_univnewlines.py",
line 8, in -toplevel-
    raise test_support.TestSkipped, TestSkipped: This Python does not have universal
newline support

I assume Python on WinXP should have universal newline
support. This also causes 
test_subprocess.py to fail at line 334.

Furthermore my test_descr also fails, but I don't know
if it's related:

...
Testing methods...
Testing special operators...

Traceback (most recent call last):
  File "C:\Python24\Lib\test\test_descr.py", line 4065,
in -toplevel-
    test_main()
  File "C:\Python24\Lib\test\test_descr.py", line 4008,
in test_main
    specials()
  File "C:\Python24\Lib\test\test_descr.py", line 1875,
in specials
    print Letter('w')
PicklingError: Can't pickle <class '__main__.Letter'>:
attribute lookup __main__.Letter failed

----------------------------------------------------------------------

Comment By: Nick Coghlan (ncoghlan)
Date: 2004-11-22 23:51

Message:
Logged In: YES 
user_id=1038590

The three tests mentioned (test_univnewlines,
test_subprocess & test_descr) also all work correctly for me
when invoked directly, rather than through regrtest.py.


----------------------------------------------------------------------

Comment By: Nick Coghlan (ncoghlan)
Date: 2004-11-22 22:19

Message:
Logged In: YES 
user_id=1038590

Win XP Pro, SP 1 here: 240 tests OK, 50 tests skipped (all
expected skips)

The OP needs to check their path settings and their file
associations. If 2.4c1 is installed without registering the
extensions, then the regression tests should be run using:

c:
cd \Python24\Lib\test
\Python24\python.exe regrtest.py

If the .py file association is to a previous version (e.g.
2.2), then "regrtest.py" will invoke that version.

Similarly, if a previous version is on the path, "python
regrtest.py" will also invoke the incorrect version.

----------------------------------------------------------------------

Comment By: Scott David Daniels (scott_daniels)
Date: 2004-11-20 11:01

Message:
Logged In: YES 
user_id=493818

Not replicated on Win2K Service Pack 4.
All named tests pass here.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1069433&group_id=5470


More information about the Python-bugs-list mailing list