[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,

[issue11457] Expose nanosecond precision from system calls

2011-09-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11457 ___ ___

[issue13058] Fix file descriptor leak on error

2011-09-29 Thread Thomas Jarosch
New submission from Thomas Jarosch thomas.jaro...@intra2net.com: Hi, attached patch fixes a file descriptor leak on error. Best regards, Thomas Jarosch -- components: Extension Modules files: cpython-fix-file-descriptor-leak.patch keywords: patch messages: 144588 nosy: thomas.jarosch

[issue13059] Sporadic test_multiprocessing failure: IOError(bad message length) in recv_bytes()

2011-09-29 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: [ 62/359] test_multiprocessing Warning -- threading._dangling was modified by test_multiprocessing Warning -- multiprocessing.process._dangling was modified by test_multiprocessing test test_multiprocessing crashed -- Traceback

[issue13060] make round() floating-point errors less hurtful

2011-09-29 Thread Arne Babenhauserheide
New submission from Arne Babenhauserheide arne_...@web.de: Hi, I just stumbled over round() errors. I read the FAQ¹, and even though the FAQ states that this is no bug, its implementation is less than ideal. To illustrate: round(0.5, 1) 0.0 and round(5, -1) 0 This is mathematically

[issue13060] make round() floating-point errors less hurtful

2011-09-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Note that a C accelerator for Decimal is in the works. -- nosy: +mark.dickinson, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13060

[issue13060] make round() floating-point errors less hurtful

2011-09-29 Thread Arne Babenhauserheide
Arne Babenhauserheide arne_...@web.de added the comment: Better comparision of decimal and float: timeit(a+a, setup=from decimal import Decimal, getcontext; getcontext().prec=17; a = Decimal(1.0)) 21.125790119171143 timeit(a+a, setup=a = float(1.0)) 0.05324697494506836 --

[issue13060] make round() floating-point errors less hurtful

2011-09-29 Thread Arne Babenhauserheide
Arne Babenhauserheide arne_...@web.de added the comment: If the C accelerator for decimal gets decimal performance close to floats (which I doubt, because it has to do much more), it could be very useful for me. What is its estimated time to completion? Even when it is finished, it does not

[issue13060] make round() floating-point errors less hurtful

2011-09-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It seems to me that saying floating point and mathematically correct in the same breath is...optimistic :) But that's why I added Mark to nosy, he knows far more about this stuff than I do. As far as I know the accelerator is feature

[issue13060] make round() floating-point errors less hurtful

2011-09-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: This is mathematically wrong ... No, it's not 'mathematically wrong'. There are many different rounding conventions in use, and no single universally agreed convention for rounding halfway cases. Python chooses to use unbiased

[issue13060] make round() floating-point errors less hurtful

2011-09-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- type: - feature request versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13060 ___

[issue13060] make round() floating-point errors less hurtful

2011-09-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Classifying this as a feature request: the behaviour of round isn't going to change here, but there might be community support for adding a mechanism for round to allow other rounding modes. It might be worth taking this to the

[issue13060] allow other rounding modes in round()

2011-09-29 Thread Arne Babenhauserheide
Arne Babenhauserheide arne_...@web.de added the comment: I did not know about rounding to even, so maybe there should be a warning in the 2.7 documentation, that the behavior changed in python 3 (I just checked that: python2.7 is in line with the documentation). The first time I stumbled

[issue13060] allow other rounding modes in round()

2011-09-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: maybe there should be a warning in the 2.7 documentation Well, such a warning really belongs in the Python 3 documentation rather than the Python 2 documentation. (Or at least, AFAIK that's the convention that's been followed to date:

[issue13060] allow other rounding modes in round()

2011-09-29 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: If the C accelerator for decimal gets decimal performance close to floats (which I doubt, because it has to do much more), it could be very useful for me. What is its estimated time to completion? It is finished and awaiting review

[issue11457] os.stat(): add new fields to get timestamps as Decimal objects with nanosecond resolution

2011-09-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- title: Expose nanosecond precision from system calls - os.stat(): add new fields to get timestamps as Decimal objects with nanosecond resolution ___ Python tracker rep...@bugs.python.org

[issue13061] Decimal module yields incorrect results when Python compiled with llvm

2011-09-29 Thread Joshua Bleecher Snyder
New submission from Joshua Bleecher Snyder joshar...@gmail.com: When Python is compiled on OS X with llvm, the decimal module behaves erratically (simple calculations are wrong, most doctests fail). This was originally reported here:

[issue13062] Introspection generator and function closure state

2011-09-29 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: Based on the python-ideas thread about closures, I realised there are two features the inspect module could offer to greatly simplify some aspects of testing closure and generator behaviour: inspect.getclosure(func) Returns a

[issue11457] os.stat(): add new fields to get timestamps as Decimal objects with nanosecond resolution

2011-09-29 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: BTW, what is the status of cdecimal? I just wrote the same in another issue, but not everyone is subscribed to that: I think cdecimal is finished and production ready. The version in

[issue13058] Fix file descriptor leak on error

2011-09-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset dec00ae64ca8 by Charles-François Natali in branch '2.7': Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas http://hg.python.org/cpython/rev/dec00ae64ca8 New changeset 160b52c9e8b3 by

[issue13058] Fix file descriptor leak on error

2011-09-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Patch applied, thanks! -- nosy: +neologix resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.4 ___ Python tracker

[issue13060] allow other rounding modes in round()

2011-09-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13060 ___ ___

[issue12746] normalization is affected by unicode width

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Issue fixed in Python 3.3 by Martin, changesets 40cf7204ca2b and 50f008019213. -- nosy: +loewis resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13054] sys.maxunicode value after PEP-393

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: As said on IRC, unicodesize and character_size should be 1 before the test is something like 'x'*1. Or you can just remove this constant, it's not very useful to have a constant equal to 1 :-) --

[issue13062] Introspection generator and function closure state

2011-09-29 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- components: +Library (Lib) stage: - needs patch versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13062 ___

[issue13062] Introspection generator and function closure state

2011-09-29 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13062 ___ ___ Python-bugs-list

[issue13062] Introspection generator and function closure state

2011-09-29 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- nosy: +Yury.Selivanov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13062 ___ ___

[issue13063] test_concurrent_futures failures on Windows: IOError('[Errno 232] The pipe is being closed') on _send_bytes()

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also issue #13059. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13063 ___

[issue13059] Sporadic test_multiprocessing failure: IOError(bad message length) in recv_bytes()

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also issue #13063. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13059 ___

[issue13063] test_concurrent_futures failures on Windows: IOError('[Errno 232] The pipe is being closed') on _send_bytes()

2011-09-29 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: Re-running test 'test_concurrent_futures' in verbose mode test_killed_child (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 5.79s ok test_map (test.test_concurrent_futures.ProcessPoolExecutorTest) ... 3.63s ok

[issue13061] Decimal module yields incorrect results when Python compiled with llvm

2011-09-29 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Possibly related to http://bugs.python.org/issue11149? Maybe I missed it in the links you gave, but that is easily settled by compiling with and without -fwrapv. -- nosy: +skrah ___ Python

[issue3130] In some UCS4 builds, sizeof(Py_UNICODE) could end up being more than 4.

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The PEP 393 has been accepted: strings are now stored as PyUCS1*, PyUCS2* or PyUCS4*. The Py_UNICODE type still exist but is deprecated, and only used in the legacy API. Py_UNICODE is now always the wchar_t type, it cannot be

[issue13060] allow other rounding modes in round()

2011-09-29 Thread Arne Babenhauserheide
Arne Babenhauserheide arne_...@web.de added the comment: cdecimal sounds great! when is it scheduled for inclusion? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13060 ___

[issue13062] Introspection generator and function closure state

2011-09-29 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13062 ___ ___ Python-bugs-list

[issue7652] Merge C version of decimal into py3k.

2011-09-29 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___ ___ Python-bugs-list

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The PEP 393 has been accepted. There is no more narrow or wide build, Py_UNICODE is now always wchar_t. We have also a stable ABI which doesn't depend on the internal stucture of Unicode strings. In Python 3.2, the name of

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2011-09-29 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Updated patch based on Eric's comments: Store _supports_safe_rmdir at the module level. Move imports up to module level Skip test on non-threading build -- Added file: http://bugs.python.org/file23261/i4489_v4.patch

[issue13054] sys.maxunicode value after PEP-393

2011-09-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I think there's no point in deprecating a function (or data) with a perfectly valid definition. As for test_bigmem, better keep character_size hardwired to 1 (if all tests really use only ASCII chars, which I'm not sure they do). --

[issue13061] Decimal module yields incorrect results when Python compiled with llvm

2011-09-29 Thread Joshua Bleecher Snyder
Joshua Bleecher Snyder joshar...@gmail.com added the comment: Possibly related to http://bugs.python.org/issue11149? Maybe I missed it in the links you gave, but that is easily settled by compiling with and without -fwrapv. Apologies -- I didn't do enough homework on this one. Yes, I can

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2011-09-29 Thread Daniel Stutzbach
Daniel Stutzbach stutzb...@google.com added the comment: Gladly. :-) -- resolution: - out of date stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8654

[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

[issue2799] Remove _PyUnicode_AsString(), rework _PyUnicode_AsStringAndSize(), add PyUnicode_AsChar()

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The PEP 393 changed the API: #define _PyUnicode_AsString PyUnicode_AsUTF8 #define _PyUnicode_AsStringAndSize PyUnicode_AsUTF8AndSize -- ___ Python tracker rep...@bugs.python.org

[issue13061] Decimal module yields incorrect results when Python compiled with llvm

2011-09-29 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13061 ___ ___ Python-bugs-list mailing list

[issue1943] improved allocation of PyUnicode objects

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The PEP 393 is based on the idea proposed in this issue (use only one memory block, not two), but also enhanced it to reduce more the memory using other technics: - use a different character type depending on the maximum

[issue7330] PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Hum, the issue is still open, I will try to review it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7330 ___

[issue11574] TextIOWrapper: Unicode Fallback Encoding on Python 3.3

2011-09-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- title: Unicode Fallback Encoding on Python 3.3 - TextIOWrapper: Unicode Fallback Encoding on Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11574

[issue12632] Python 3 doesn't support cp65001 as the OEM code page

2011-09-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- title: Windows GPF with Code Page 65001 - Python 3 doesn't support cp65001 as the OEM code page ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12632

[issue12242] distutils2 environment marker for current compiler

2011-09-29 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: What is result is i use GNU compiler by example with name arm-linux-androideabi-gcc ? -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12242

[issue12242] distutils2 environment marker for current compiler

2011-09-29 Thread Eli Collins
Changes by Eli Collins e...@assurancetechnologies.com: Added file: http://bugs.python.org/file23263/ca53ff77ce6f.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12242 ___

[issue12242] distutils2 environment marker for current compiler

2011-09-29 Thread Eli Collins
Eli Collins e...@assurancetechnologies.com added the comment: Attached is a fourth revision (ca53ff77ce6f.diff). This covers the typos identified in the last review, but I'm submitting a new patch because I ran a quick proofreading regexp, and identified a few more formatting mistakes.

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The PEP 393 has been accepted and merge into Python 3.3. Python 3.3 doesn't need the Py_UNICODE_NEXT macro anymore. But my macros (unicode_macros.patch) are still useful. -- versions: +Python 3.2 -Python 3.3

[issue10521] str methods don't accept non-BMP fillchar on a narrow Unicode build

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: This issue has been fixed in Python 3.3 thanks to the PEP 393. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10521

[issue10521] str methods don't accept non-BMP fillchar on a narrow Unicode build

2011-09-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: It can still be fixed on 2.7/3.2 though. -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10521 ___

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2011-09-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Py_UNICODE_NEXT has been removed from 3.3 but it's still available and used in 2.7/3.2 (even if it's private). In order to fix #10521 on 2.7/3.2 the _Py_UNICODE_PUT_NEXT macro attached to this patch is required. -- versions:

[issue12819] PEP 393 - Flexible Unicode String Representation

2011-09-29 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: PEP 393 has been accepted and merged into Python 3.3. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12819

[issue12819] PEP 393 - Flexible Unicode String Representation

2011-09-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: patch review - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12819 ___

[issue12242] distutils2 environment marker for current compiler

2011-09-29 Thread Eli Collins
Eli Collins e...@assurancetechnologies.com added the comment: What is result is i use GNU compiler by example with name arm-linux-androideabi-gcc ? If the executable is named arm-linux-androideabi-gcc, the code would currently call arm-linux-androideabi-gcc --version. If that resulted in

[issue13062] Introspection generator and function closure state

2011-09-29 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: I'll take a shot and writing a patch for this one. Nick, are the elements in 'co_freevars' and '__closures__' always expected to match up? In other words, is the 'closure' function below always expected to work (simplified; no error checking):

[issue13061] Decimal module yields incorrect results when Python compiled with llvm

2011-09-29 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: It's more a straight duplicate of #12973, but the underlying cause (signed integer overflow) is the same. For people who are finding this via a search engine: A lot of bugs have been fixed in #12973, but even if the test suite passes

[issue13062] Introspection generator and function closure state

2011-09-29 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: See: http://hg.python.org/cpython/file/default/Include/funcobject.h#l34 http://hg.python.org/cpython/file/default/Objects/funcobject.c#l454 454 /* func_new() maintains the following invariants for closures. The 455closure must

[issue13061] Decimal module yields incorrect results when Python compiled with llvm

2011-09-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13061 ___ ___

[issue13064] Port codecs and error handlers to the new Unicode API

2011-09-29 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: We really need a new API for error handlers, using Python objects instead of Py_UNICODE* strings, and using code point indexes instead of UTF-16 unit indexes (index in the Py_UNICODE* object). It's also inefficient to encode to

[issue13064] Port codecs and error handlers to the new Unicode API

2011-09-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13064 ___

[issue13062] Introspection generator and function closure state

2011-09-29 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Yep, that looks right to me. The eval loop then references those cells from the frame object during execution. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13062

[issue13062] Introspection generator and function closure state

2011-09-29 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Huh, I didn't actually realise getclosure() could be written as a one liner until seeing Meador's version above: {var : cell.cell_contents for var, cell in zip(func.__code__.co_freevars, func.__closure__)} --

[issue2771] Test issue

2011-09-29 Thread Victor Semionov
Victor Semionov vsemio...@gmail.com added the comment: Testing. -- nosy: +vsemionov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___

[issue2771] Test issue

2011-09-29 Thread Victor Semionov
Victor Semionov vsemio...@gmail.com added the comment: testing -- Added file: http://bugs.python.org/file23266/test.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___

[issue2771] Test issue

2011-09-29 Thread Victor Semionov
Victor Semionov vsemio...@gmail.com added the comment: adsfaf -- hgrepos: +78 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___

[issue2771] Test issue

2011-09-29 Thread Victor Semionov
Changes by Victor Semionov vsemio...@gmail.com: -- hgrepos: -78 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2011-09-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: RFC 4627 doesn't say much about lone surrogates: A string is a sequence of zero or more Unicode characters [UNICODE]. [...] All Unicode characters may be placed within the quotation marks except for the characters that must be

[issue13065] test

2011-09-29 Thread Victor Semionov
New submission from Victor Semionov vsemio...@gmail.com: ignore me -- messages: 144647 nosy: vsemionov priority: normal severity: normal status: open title: test ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13065

[issue13065] test

2011-09-29 Thread Victor Semionov
Changes by Victor Semionov vsemio...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13065 ___ ___

[issue13066] test

2011-09-29 Thread Victor Semionov
New submission from Victor Semionov vsemio...@gmail.com: ignore me -- components: IO, Interpreter Core messages: 144648 nosy: vsemionov priority: normal severity: normal status: open title: test type: crash versions: Python 3.2 ___ Python tracker

[issue13066] test

2011-09-29 Thread Victor Semionov
Changes by Victor Semionov vsemio...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13066 ___ ___

[issue13065] test

2011-09-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13065 ___

[issue13066] test

2011-09-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13066 ___

[issue13067] test

2011-09-29 Thread Victor Semionov
New submission from Victor Semionov vsemio...@gmail.com: ignore me -- components: IO, Interpreter Core files: backtrace messages: 144651 nosy: vsemionov priority: normal severity: normal status: open title: test type: crash versions: Python 3.2 Added file:

[issue13067] test

2011-09-29 Thread Victor Semionov
Changes by Victor Semionov vsemio...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13067 ___ ___

[issue13061] Decimal module yields incorrect results when Python compiled with llvm

2011-09-29 Thread Ned Deily
Ned Deily n...@acm.org added the comment: There is some confusion here, I think. As best as I can tell, the original problem reported in the Stackoverflow question and to MacPorts involved using the clang compiler, not llvm-gcc and the Decimal problem reported here was only ever a problem

[issue13068] test

2011-09-29 Thread Victor Semionov
New submission from Victor Semionov vsemio...@gmail.com: ignore me -- messages: 144654 nosy: vsemionov priority: normal severity: normal status: open title: test type: crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13068

[issue13068] test

2011-09-29 Thread Victor Semionov
Changes by Victor Semionov vsemio...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13068 ___ ___

[issue13069] test

2011-09-29 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: Testing issue creation -- hgrepos: 83 messages: 144655 nosy: ezio.melotti priority: normal severity: normal status: open title: test ___ Python tracker rep...@bugs.python.org

[issue13069] test

2011-09-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13069 ___

[issue13070] segmentation fault in pure-python multi-threaded server

2011-09-29 Thread Victor Semionov
New submission from Victor Semionov vsemio...@gmail.com: Hello, I'm developing a multi-threaded TCP server and have been seeing segmentation faults on 3.2 on Linux and 3.2.2 on Windows. This happens when using only pure-Python libraries, so I believe the problem is in the interpreter. The

[issue13068] test

2011-09-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13068 ___

[issue13067] test

2011-09-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13067 ___

[issue3232] Wrong str-bytes conversion in Lib/encodings/idna.py

2011-09-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3232 ___ ___ Python-bugs-list

[issue13072] Getting a buffer from a Unicode array uses invalid format

2011-09-29 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: In Python 3.2, when you get a buffer from array.array('u'), u is used as buffer format. The format is supposed to be a format from the struct module, and u is an invalid struct format. w is used on wide mode. I just upgraded the

[issue13071] IDLE refuses to open on windows 7

2011-09-29 Thread jfalskfjdsl;akfdjsa;l laksfj;aslkfdj;sal
New submission from jfalskfjdsl;akfdjsa;l laksfj;aslkfdj;sal christopherdar...@gmail.com: I have tried all ways of opening IDLE and have uninstalled and reinstalled Python, but when I try to open it it crashes before anything happens -- components: IDLE messages: 144657 nosy:

[issue13071] IDLE refuses to open on windows 7

2011-09-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Try to open cmd (win+r - type 'cmd' - press enter), cd in the Python directory and do python.exe Lib\idlelib\idle.py. If that doesn't work it should give you a traceback. Once you get the traceback copy/paste it here, so we can figure out

[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

[issue12737] str.title() is overzealous by upcasing combining marks inappropriately

2011-09-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: After PEP 393 the result is still the same (I attached a slightly improved version of the script): titlecase of 'deme un cafe' should be 'Deme Un Cafe' not 'DeMe Un Cafe' titlecase of 'istanbul' should be 'Istanbul' not

[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

[issue12731] python lib re uses obsolete sense of \w in full violation of UTS#18 RL1.2a

2011-09-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The failing re tests after PEP 393 are: FAIL lib re found non alphanumeric string 'cafe' FAIL lib re found non alphanumeric string 'Ⓚ' FAIL lib re found non alphanumeric string '' FAIL lib re found non alphanumeric string '' FAIL lib re

[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

  1   2   >