[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2013-01-17 Thread py.user
py.user added the comment: found a redundant code (stdlib.h already defines the NULL macro) commit e33747a4b1a45acdd696a4e07bbd40ea7fb37366 Author: Stefan Krah sk...@bytereef.org Date: Thu Nov 22 22:49:11 2012 +0100 Issue #13057: Include stdio.h when NULL is used in configure.ac.

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2013-01-17 Thread Trent Nelson
Changes by Trent Nelson tr...@snakebite.org: -- nosy: +trent ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13057 ___ ___ Python-bugs-list mailing

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2013-01-17 Thread py.user
py.user added the comment: the hunk is from commit commit b2edc2629f5e0f11280ba9846d1a86346f4a7287 Author: Stefan Krah sk...@bytereef.org Date: Thu Nov 22 23:47:32 2012 +0100 Fix more usages of NULL without including stdio.h. --HG-- branch : 3.3 --

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2012-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset b4f6cd5f9ab7 by Stefan Krah in branch '2.7': Issue #13057: Include stdio.h when NULL is used in configure.ac. http://hg.python.org/cpython/rev/b4f6cd5f9ab7 -- nosy: +python-dev ___ Python tracker

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2012-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset f0baa6be2bf1 by Stefan Krah in branch '3.3': Issue #13057: Include stdio.h when NULL is used in configure.ac. http://hg.python.org/cpython/rev/f0baa6be2bf1 -- ___ Python tracker rep...@bugs.python.org

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2012-11-22 Thread Stefan Krah
Stefan Krah added the comment: Fixed in 2.7, 3.3 and 3.4. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13057

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: Wow. I added it everywhere in the file. I love you!! (Ermm... I mean, literally) It can work now. :). I will move on to migrate my application with this new python. Hopefully I don't see other modules breaking. Thanks for the GREAT

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Could you please stop putting these unrelated links into your posts? It is really annoying. Thanks. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13057

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: I put up an issue the python I build is not able to run thread.start_new_thread. Someone replied to me that there is a bug in configure file and I follow the patch and rebuild my python, my thread is working after the patch is applied. I

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Wong Wah Meng
Changes by Wong Wah Meng r32...@freescale.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13057 ___ ___

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Wah Meng: I think there are a couple of misconceptions that need to be cleared up: 1) Georg's complaint was about the links to http://dyno.freescale.net/ in you posts. 2) This is not a support hotline but a *bug tracker*. Since

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-30 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: 1.) I see. Sorry ya, I didn't notice. They are automatically generated as my email footer. 2.) Ok, appreciate the information and helps! Regards, Wah Meng -- ___ Python tracker

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: However, the new binary is still not able to start a new thread from the thread module. Traceback? mach/cthreads.h is only relevant for Hurd, as far as I can see. configure:8572: cc +DD64 -I/home/r32813/local/include -o

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: Traceback? $ python Python 2.7.1 (r271:86832, Sep 28 2011, 17:31:02) [C] on hp-ux11 Type help, copyright, credits or license for more information. import thread def testing(): ...print Hello World ... thread.start_new_thread(testing,

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: To me this looks like stdio.h should be included as well. Could you try the patch? -- keywords: +patch Added file: http://bugs.python.org/file23262/issue-13057.diff ___ Python tracker

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: Hello Stefan, Hmm. how do I apply the patch? I download the issue-13057.diff file and then.? Regards, Wah Meng -- ___ Python tracker rep...@bugs.python.org

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: patch -p1 issue-13057.diff in the directory where configure is should do the trick. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13057

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: I tried here is the outcome. It says it can't find a patch?? $ cat issue-13057.diff diff -r f612b783bc17 configure --- a/configure Thu Sep 29 07:52:46 2011 +0800 +++ b/configure Thu Sep 29 21:39:32 2011 +0200 @@ -8619,6 +8619,7 @@

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: If that's a Mercurial clone of Python you can try hg import --no-commit issue-13057.diff. Otherwise you could just edit configure manually -- the attached patch is trivial. You could also install patch. --

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: Mercurial clone of python? Haha I am not sure what that is. My unix also won't recognize hg, and will ignore import --no-commit issue-13057.diff. I went ahead to edit configure file. Partially understanding the content of .diff file, I

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: Hello, I tried rebuild but it is still the same. :( Attached is the extract of the modified configure file, with line number at the side (from VI editor). Basically my changes are added as from line 8620 through 8624. I am not sure if

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: You just have to add: #include stdio.h just after: #include pthread.h The + in the diff only means that the line was added and shouldn't be included in the file. -- ___ Python tracker

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: Thank goodness. Let me try. Regards, Wah Meng Genesis Wafermap Support Ticket: To report a problem: http://dyno.freescale.net/Question/QuestionMain3.asp?location=zmy02category=tickettype=6820 To request a service:

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Wong Wah Meng
Wong Wah Meng r32...@freescale.com added the comment: Sorry, there a more than one entry of #include pthread.h in configure file. So do I inject everywhere? Regards, Wah Meng Genesis Wafermap Support Ticket: To report a problem:

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: After the one at line 8620. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13057 ___ ___

[issue13057] Thread not working for python 2.7.1 built with HP Compiler on HP-UX 11.31 ia64

2011-09-28 Thread Wong Wah Meng
New submission from Wong Wah Meng r32...@freescale.com: Resending as my old alternative email ID wasn't registered under my account. === Hello there, I included --with-threads option into the configure script calling,