Terry J. Reedy added the comment:
Thank you for the update. I think any problems with the current HP/UX compiler
are best reported on a new issue.
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
Michael Osipov <1983-01...@gmx.net> added the comment:
I believe this issue can be safely closed. It is a no-brainer to compile Python
from master on HP-UX with aCC these days. It works for me at least.
--
nosy: +michael-o
___
Python tracker
Changes by Éric Araujo mer...@netwok.org:
Added file: http://bugs.python.org/file22671/getpath.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
___
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file22671/getpath.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
___
Éric Araujo mer...@netwok.org added the comment:
Here’s a unified diff.
--
Added file: http://bugs.python.org/file22696/hp-ux-compiler-workarounds.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
Éric Araujo mer...@netwok.org added the comment:
Arg, I thought I removed a duplicate patch but it was actually an updated
version. Sorry about that; the link in the history at the bottom of this page
still links to the file. Updated unified diff attached.
--
Added file:
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file22696/hp-ux-compiler-workarounds.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
___
Éric Araujo mer...@netwok.org added the comment:
Jim: Sorry if we reacted first with process remarks instead of thanking you for
the patches and reviewing them. We value contributions, and we try to be
welcoming, but sometimes we forget what it’s like to enter this community.
Some things
Jim Schneider jim.schnei...@dataflux.com added the comment:
Martin - I don't have time to manage your project's administrative requirements
with respect to my fixes. I'm providing them out of the hope they will be of
use to others who need to build on HP/UX, but I don't really care if they
Martin v. Löwis mar...@v.loewis.de added the comment:
Please don't manage independent bugs in a single issue, even if they are
related. The way this is done here will it make hard to track what exactly has
been done, and what needs to be done.
As it stands, please combine all patches into a
New submission from Jim Schneider jim.schnei...@dataflux.com:
The C compiler that comes with HP/UX 11 has some shortcomings that prevent
building Python 3.2.1 out of the box. I am attaching patches here as I work
through issues.
The first patch fixes namespace shortcomings when trying to use
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
___
___
Jim Schneider jim.schnei...@dataflux.com added the comment:
This patch works around the problem underlying issue 5999 by making sure the
__STDC_VERSION__ macro is defined and has a value of at least 199901
--
Added file: http://bugs.python.org/file22666/fileutils.patch
STINNER Victor victor.stin...@haypocalc.com added the comment:
You may the number of this issue in a comment of your patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oops. You may *add* the number of this issue in a comment of your patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
Jim Schneider jim.schnei...@dataflux.com added the comment:
Workaround for compiler bug; HP/UX compiler refuses to past (implicitly char *)
string constants with wide (wchar_t *) string constants. This patch is also
pasted to issue 12561 (which should be closed).
Note: There is disagreement
STINNER Victor victor.stin...@haypocalc.com added the comment:
I think that getpath.patch is wrong (it's just a workaround hiding a real bug):
see msg140422 of the issue #12561.
--
___
Python tracker rep...@bugs.python.org
Jim Schneider jim.schnei...@dataflux.com added the comment:
This patch just reduces compiler noise by explicitly casting pointers to void
*. I expect the Visual Studio C/C++ compiler suite also issued these warnings,
too.
--
Added file:
Jim Schneider jim.schnei...@dataflux.com added the comment:
Sorry - last comment should have been compiler refuses to past*e*, not past.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12572
Jim Schneider jim.schnei...@dataflux.com added the comment:
The HP/UX C compiler grumbles when a symbol that is declared static is later
defined without the static storage class specifier. The attached patch just
adds the missing static keywords.
--
Added file:
Jim Schneider jim.schnei...@dataflux.com added the comment:
I'm adding the original listeners for issue 5999 to this one.
The fileutils.patch patch attached to this issue directly addresses what's
wrong in issue 5999; I'd consider it closed, but as I didn't open it, and I'm
not actually part
Jim Schneider jim.schnei...@dataflux.com added the comment:
From issue 12561 (which I will be closing):
Author: STINNER Victor (haypo) * Date: 2011-07-15 15:36
Use L CONSTANT to decode a byte string to a character string doesn't work
with non-ASCII strings. _Py_char2wchar() should be used
Éric Araujo mer...@netwok.org added the comment:
Minor note: we prefer unified diffs, and when possible, all related changes in
one file. See http://docs.python.org/devguide/
I can’t review the patches, as I don’t know C nor HP/UX. I’m not sure why you
opened this report instead of
Jim Schneider jim.schnei...@dataflux.com added the comment:
Update to getpath.patch (issue 12561) - this version uses _Py_char2wchar where
possible. Unfortunately, as lib_python is declared and defined statically,
this can't be used in both cases where the HP/UX compiler has issues.
Terry J. Reedy tjre...@udel.edu added the comment:
The fileutils.patch patch attached to this issue directly addresses what's
wrong in issue 5999; I'd consider it closed, ...
When an patch is committed that fixes that issue, say so there and I or someone
will close it.
From issue 12561
Jim Schneider jim.schnei...@dataflux.com added the comment:
Terry - I apologize for jumping the gun a bit, and let me be a bit more clear.
When I realized that the HP/UX compiler was going to have as many problems as
it does compiling python 3, I decided it would be best to create a single
26 matches
Mail list logo