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: Remove VMS specific code in expat.h & xmlrole.h
Type: compile error Stage: resolved
Components: Versions: Python 3.5
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: John.Malmberg, akuchling, christian.heimes, fdrake, vstinner
Priority: normal Keywords:

Created on 2014-08-16 20:54 by John.Malmberg, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg225415 - (view) Author: John Malmberg (John.Malmberg) * Date: 2014-08-16 20:54
The Modules/expat/expat.h and Modules/expat/xmlrole.h contain VMS specific code that actually breaks building python 3.5 on VMS.

Per http://bugs.python.org/issue16136, such VMS specific code should be removed for Python 3.5.


This code may still be needed for the Python 2.7 since that appears to being built using the compiler mode which is to be compatible with VAX/VMS 5.5-1.
msg235959 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2015-02-14 09:52
@John can you provide a patch to remove the VMS specific code from the two files mentioned?
msg236064 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2015-02-15 20:08
Modules/expat is not a copy of a module hosted somewhere else?
msg236072 - (view) Author: John Malmberg (John.Malmberg) * Date: 2015-02-15 22:31
These files are identical to the files in the expat git repository.

So it looks like I need to submit the fix and get it accepted to that repository first.  And then at some point cPython will pick up the change.

I can still provide diffs if desired, but based on Victor's comment, they would not be applied.

Historical Note:
That VMS specific code is only needed for building on VAX/VMS 5.5-1 and earlier with the long obsolete VAX C.  VAX/VMS 5.5-1 was released in June 1992.

VAX/VMS 5.5-2 was released November 1992, and around that time a new DEC C compiler release appeared that no longer needed that hack, but used it as the default mode for backwards compatibility.  That default mode is not compatible with many Open Source projects.
History
Date User Action Args
2022-04-11 14:58:07adminsetgithub: 66407
2022-01-23 19:20:06iritkatrielsetstatus: open -> closed
resolution: third party
stage: resolved
2019-02-24 22:52:29BreamoreBoysetnosy: - BreamoreBoy
2015-04-14 17:46:53akuchlingsetnosy: + fdrake, akuchling
2015-02-15 22:31:23John.Malmbergsetmessages: + msg236072
2015-02-15 20:08:27vstinnersetnosy: + vstinner
messages: + msg236064
2015-02-14 09:52:24BreamoreBoysetnosy: + BreamoreBoy
messages: + msg235959
2014-08-19 21:51:43berker.peksagsetnosy: + christian.heimes
2014-08-16 20:54:10John.Malmbergcreate