This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: On HPUX 11i universal newlines seems to cause readline(s) to
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: mwh Nosy List: dmcisaac, mwh
Priority: normal Keywords:

Created on 2004-06-25 17:23 by dmcisaac, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg21306 - (view) Author: dmcisaac (dmcisaac) Date: 2004-06-25 17:23
I compiled version 2.3.4 on hp-ux 11i, with shared and 
threads enabled, using Gnu c 3.3.3.
'make test' fails on all tests that use readline() and/or 
readlines() and test_univnewlines fails with a memory 
fault and core dump. All other tests pass that I expect 
to pass.
If I hand modify pyconfig.h to comment out with 
universal newline support and recompile (after a make 
clean) then the readline(s) failures go away.
I have also compiled without thread support and got the 
same failures as with using universal newlines.
msg21307 - (view) Author: dmcisaac (dmcisaac) Date: 2004-06-28 19:31
Logged In: YES 
user_id=1071078

On further investigation I got everything to compile the way I 
think it should if I ommit optimization.
msg21308 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2004-08-07 21:21
Logged In: YES 
user_id=6656

Closing.  Hope that's what you wanted.

Sometimes bugs that go away when you turn off optimization
are real problems  in Python code.  But not very often --
and even less often on HP-UX :-/
History
Date User Action Args
2022-04-11 14:56:05adminsetgithub: 40454
2004-06-25 17:23:13dmcisaaccreate