[issue3970] Tix Tree widget no longer instantiable.

2008-09-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Duplicate of issue3872. Tix seems really broken with tcl8.5... -- nosy: +amaury.forgeotdarc resolution: -> duplicate status: open -> closed superseder: -> Python 2.6rc2: Tix ComboBox error

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-26 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: -- priority: -> critical ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bug

[issue3969] turtle.py - setup() doesn't work correctly

2008-09-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed as r66626 (2.5 branch only). -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue3968] turtle.py: fill() and end_fill() do not work correctly

2008-09-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed in r66627 (2.5 branch only). -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue3929] Incorrect exception raising in dbm.open on non-existing DB

2008-09-26 Thread Hagen Fürstenau
Hagen Fürstenau <[EMAIL PROTECTED]> added the comment: I didn't know until I had googled this: http://mail.python.org/pipermail/python-3000/2007-March/005916.html ___ Python tracker <[EMAIL PROTECTED]> __

[issue3971] s_push: parser stack overflow MemoryError

2008-09-26 Thread netcaf
New submission from netcaf <[EMAIL PROTECTED]>: t = ((0x28))+(0x8)-1)/(0x8))*(0x8)) + 0x28))+(0x1)-1)/(0x1))*(0x1))+((0x1*31 +(0x1000

[issue3972] Add Option to Bind to a Local IP Address in httplib.py

2008-09-26 Thread Eldon Ziegler
New submission from Eldon Ziegler <[EMAIL PROTECTED]>: I updated httplib.py, python 2.4, to be able to bind to a specific IP address when connecting to a remote site. conn = httplib.HTTPConnection('82.94.237.218', 80) will connect to '82.94.237.218' using one of the local IP addresses. For ex

[issue3973] Invalid line number in Exception traceback with header # -*- coding: xxx -*-

2008-09-26 Thread STINNER Victor
New submission from STINNER Victor <[EMAIL PROTECTED]>: Short example: --- # -*- coding: ASCII -*- raise Exception("line 2") --- Result: Traceback (most recent call last): File "plop.py", line 3, in Exception: line 2 The problem is around newtracebackobject() which calls PyCode_A

[issue3973] Invalid line number in Exception traceback with header # -*- coding: xxx -*-

2008-09-26 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Looks like a duplicate of #2384. Do you confirm? -- nosy: +pitrou ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3973] Invalid line number in Exception traceback with header # -*- coding: xxx -*-

2008-09-26 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed superseder: -> [Py3k] line number is wrong after encoding declaration ___ Python tracker <[EMAIL PROTECTED]> ___

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-26 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- nosy: +haypo ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-26 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: #3973 is a duplicate. -- nosy: +pitrou ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3974] collections.namedtuple uses exec to create new classes

2008-09-26 Thread Jens Kadenbach
New submission from Jens Kadenbach <[EMAIL PROTECTED]>: Rewrite of the namedtuple implementation to avoid the use of exec for class generation.  The new code uses a custom class dictionary and the builtin type to create new classes dynamically. -- components: Library (Lib) files: new_nam

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: By setting lineto to 1 (as proposed ocean-city), ASCII tests (test1 and test2, see below) works correctly. This change doesn't impact utf-8/iso-8859-1 charset (it's special case). --- test1 --- # coding: ASCII raise Exception("here") --

[issue3974] collections.namedtuple uses exec to create new classes

2008-09-26 Thread Christian Heimes
Changes by Christian Heimes <[EMAIL PROTECTED]>: -- assignee: -> rhettinger nosy: +rhettinger priority: -> normal type: -> feature request versions: +Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> _

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: ocean-city testcase is invalid: it uses subprocess.call() which returns the exit code, not the Python error line number! Here is a better testcase using subprocess.Popen() checking the line number but also the display line. It tests ASCII,

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Hum, about the empty line error using a multibyte charset, the issue is different. PyTraceBack_Print() calls _Py_DisplaySourceLine() which doesn't take care of the charset. ___ Python tracker <[EMAIL PROT

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-09-26 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs <[EMAIL PROTECTED]> added the comment: Matthew, Did you upload a public SSH key to your Launchpad account? You're on MS Windows, right? I can try and do an install on an MS Windows XP box or 2 I have lying around and see how that works, but we should try and solve this vexing

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-09-26 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: On Thu, Sep 25, 2008 at 10:57 PM, Gregory P. Smith <[EMAIL PROTECTED]> wrote: > The whole socket._io_refs thing looks like a real design flaw. What is > its actual intended purpose? The original purpose was to support the original semantic

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: May this info help? http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-02/msg01363.html -- nosy: +ocean-city ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-09-26 Thread STINNER Victor
New submission from STINNER Victor <[EMAIL PROTECTED]>: PyTraceBack_Print() doesn't take care of the "# coding: xxx" header of a Python script. It calls _Py_DisplaySourceLine() which opens the file as a byte stream (and not an unicode characters stream). Because of this problem, the traceback

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Here is a patch fixing this issue: it's quite the same that ocean-city patch, but I prefer to patch lineno only if set_readline() succeed. About the truncated traceback for multibyte charset: see the new issue3975. Added file: http://bugs.

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-09-26 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: I have it working finally! ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-09-26 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs <[EMAIL PROTECTED]> added the comment: Great, Matthew!! Now, I'm still in the process of setting up branches related to your work; generally they should be created from a core and set of features implemented for example: To get from Version 2 to Version 3 of your Engine, I had

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-09-26 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: I did a search on the permissions problem: https://answers.launchpad.net/bzr/+question/34332. ___ Python tracker <[EMAIL PROTECTED]> _

[issue3909] Building PDF documentation from tex files

2008-09-26 Thread Winfried Plappert
Winfried Plappert <[EMAIL PROTECTED]> added the comment: I had a go at commenting stuff in sphinx.sty, but every change produced another error message. In the end I concluded that the best thing is to leave sphinx.sty untouched, despite the fact that the index is always missing. Since I do not un

[issue3944] faster long multiplication

2008-09-26 Thread Fredrik Johansson
Changes by Fredrik Johansson <[EMAIL PROTECTED]>: -- nosy: +fredrikj ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mai

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Oh! My patch breaks "python -m". The problem is maybe no in the token parser but... somewhere else? --- test.py --- # coding: ASCII raise Exception("line 2") # try again! --- Python 3.0 trunk unpatched: --- $ ./python test.py Tra

[issue3976] pprint._safe_repr is not general enough in one instance

2008-09-26 Thread Erick Tryzelaar
New submission from Erick Tryzelaar <[EMAIL PROTECTED]>: I've run into a case where pprint isn't able to print out a particular data structure, and have distilled it down to a simple example: import pprint class A: pass pprint.pprint({A(): 1, A(): 2}) Which throws this exception: Traceb

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Here is a new version of _Py_DisplaySourceLine() using PyTokenizer_FindEncoding() to read the coding header, and PyFile_FromFd() to create an "unicode-awake" file. The code could be optimized, but it least it displays correctly the file lin

[issue3976] pprint._safe_repr is not general enough in one instance

2008-09-26 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Another solution would be to separate the dict items by key type, try to sort each items list with separate fallback on onsorted. Then merge the whole thing, ordered by key type name. -- nosy: +pitrou

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-09-26 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11611/traceback_unicode.patch ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-09-26 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs <[EMAIL PROTECTED]> added the comment: Thanks, Matthew. My reading of that Answer is that you should be okay because you, I assume, installed the Windows-Native package rather than the cygwin that I first tested. I think the problem is specific to Cygwin as well as the circums

[issue3975] PyTraceBack_Print() doesn't respect # coding: xxx header

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: (oops, first patch included an useless whitespace change) Added file: http://bugs.python.org/file11612/traceback_unicode.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue3946] PyObject_CheckReadBuffer crashes on memoryview object

2008-09-26 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: The rest of the patch is fine with me (I assume you've run all the unit tests :-)). ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3976] pprint._safe_repr is not general enough in one instance

2008-09-26 Thread Erick Tryzelaar
Erick Tryzelaar <[EMAIL PROTECTED]> added the comment: fyi, I found another case where pprint needs a "safe sort", this is when you have a list that contains a dictionary. Anyway, Here's a simple patch that creates a _safe_sorted function that implements the fallback: --- /opt/local/lib/python3.

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Yes, the sample program works with Tix8.4.3. The procedure to rebuild Tix was removed from PCBuild/readme.txt, and the instructions in the 2.5 version are incomplete. Here is what I did, after several attempts: - downloaded and extrac

[issue3623] _json: fix raise_errmsg(), py_encode_basestring_ascii() and linecol()

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: > Is this something that needs to be backported to 2.6? Hum, here is a part of my patch which can be applied to python 2.6. I don't know if it fixes real bugs, but the code looks better with the patch: PyErr_SetObject() and Py_DECREF() shou

[issue3935] bisect insort C implementation ignores methods on list subclasses

2008-09-26 Thread Dmitry Vasiliev
Dmitry Vasiliev <[EMAIL PROTECTED]> added the comment: Actually it was an optimization. PyList_Insert() was used for list and list-derived objects. I've attached the patch which fix the issue and for me the new code looks even cleaner than the original code. -- keywords: +patch nosy: +h

[issue3977] Check PyInt_AsSsize_t/PyLong_AsSsize_t error

2008-09-26 Thread STINNER Victor
New submission from STINNER Victor <[EMAIL PROTECTED]>: PyLong_Ssize_t() returns -1 and set an error (OverflowError) on overflow, but some modules don't check this case. Here is a first patch for BytesIO() and StringIO(). -- components: Library (Lib) files: py3k_bytes_stringio.patch keyw

[issue3623] _json: fix raise_errmsg(), py_encode_basestring_ascii() and linecol()

2008-09-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: _json26.patch looks good, and is necessary, because the called python function has more than one way to raise an exception (KeyboardInterrupt at least...) I would just add another minor change: this raise_errmsg() function should be mad

[issue3977] Check PyInt_AsSsize_t/PyLong_AsSsize_t error

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Here is a fix for struct.pack_into(). Added file: http://bugs.python.org/file11616/py3k_struct.patch ___ Python tracker <[EMAIL PROTECTED]> __

[issue3977] Check PyInt_AsSsize_t/PyLong_AsSsize_t error

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Fix _bytesio of Python 2.6. Added file: http://bugs.python.org/file11617/py26_bytesio.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3977] Check PyInt_AsSsize_t/PyLong_AsSsize_t error

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: py3k_struct.patch can be ported to python trunk: so here is the fix for python trunk (2.6). Added file: http://bugs.python.org/file11618/py26_struct.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue3935] bisect insort C implementation ignores methods on list subclasses

2008-09-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: We could keep the optimization for the standard case: What about simply replacing PyList_Check with PyList_CheckExact? - most usages use plain lists, and will even run slightly faster - list-derived objects get the desired behaviour. -

[issue3909] Building PDF documentation from tex files

2008-09-26 Thread Winfried Plappert
Winfried Plappert <[EMAIL PROTECTED]> added the comment: I found at least one bug: % Detect if we're using XeLaTeX \IfFileExists{ifxetex.sty}{% \RequirePackage{ifxetex} }{% not using xelatex \newif\ifxetex\xetexfalse %(line 69) } should say: \newif\ifxetex\xetexfalse\fi That makes

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-09-26 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs <[EMAIL PROTECTED]> added the comment: Phew! Okay, all you patches have been applied as I said in a previous message, and you should now be able to check out lp:~pythonregexp2.7/python/issue2636+01+09-02+17+18+19+20+21+24+26 where you can then apply your latest known patch (rc2

[issue433029] SRE: posix classes aren't supported

2008-09-26 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs <[EMAIL PROTECTED]> added the comment: To clarify, you mean named character sets as found in Perl and Emacs, which are normally written, for example, like '[:ALPHANUM:]', right? We are working on that as Item 8 of Issue 2636: Regexp 2.7. If not, please clarify so I nknow what

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-26 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Ok, here is an additional patch bitfields-mingw.patch. It fixes the problem reported by rpetrov, and updates the comments. Please review again ;-). The previous patch bitfields-3.patch has already been applied. Added file: http://bugs.python

[issue3290] python-config --cflags includes irrelevant flags

2008-09-26 Thread Erick Tryzelaar
Erick Tryzelaar <[EMAIL PROTECTED]> added the comment: fyi, on the mac with gcc-4.2, distutils is erroring out because of the "- Wno-long-double" it is getting from "python-config --cflags", as it's no longer accepted as an argument. Fortunately this can be worked around by doing "CC=gcc-4.0 py

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >Thread 7282896l tries to lock same object twice. This was not cause of problem. I saw crash after one lock on another thread. I could create the C code to reproduce crash. (reproduce.zip) But strangely, I couldn't crash main.exe if it was

[issue3978] ZipFileExt.read() can be incredibly slow

2008-09-26 Thread James Athey
New submission from James Athey <[EMAIL PROTECTED]>: I've created a patch that improves the decompression performance of zipfile.py by up to two orders of magnitude. In ZipFileExt.read(), decompressed bytes waiting to be read() sit in a string buffer, self.readbuffer. When a piece of that strin

[issue3978] ZipFileExt.read() can be incredibly slow

2008-09-26 Thread James Athey
Changes by James Athey <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11622/zeroes.zip ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3935] bisect insort C implementation ignores methods on list subclasses

2008-09-26 Thread Dmitry Vasiliev
Dmitry Vasiliev <[EMAIL PROTECTED]> added the comment: Good idea! Don't know why I didn't use it in the very first version. :-) New patch attached. Added file: http://bugs.python.org/file11623/bisect2.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue3979] Doctest failing when it should pass

2008-09-26 Thread J. Pablo Fernández
New submission from J. Pablo Fernández <[EMAIL PROTECTED]>: The attached file contains a function and two tests for it which are essentially the same. One is a doctest and the other is a TestCase. The doctest fails and I believe it shouldn't. Here's what I get: $ python failingdoctest.py *

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Victor, this is fp_setreadl's problem, so if put "tok->lineno = -1" anywhere, it should be in fp_setreadl(), I think. r = set_readline(tok, cs); if (r) { /* 1 */ tok->encoding = cs;

[issue3909] Building PDF documentation from tex files

2008-09-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: If that solves the problem, that is very curious indeed. There must not be a \fi after \newif; its syntax is \newif\ifname\default Later it can be used as \ifname ... \fi. What TeX distribution and version of tex/latex are you using? ___

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >extra changes that has to go in a >specific compiler class. As example platform can be any but compiler >gcc(mingw) that produce executables for windows host platform. You are right. It should be. My patch is just one choice when switchin

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: So it is a "Vendor OS problem", python is not involved. -- nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTECTED]>

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-26 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > What is the procedure to have this new version merged into the msi file? The version of Tix being used is the one in the Subversion externals directory. See the subversion log for a complete list of changes; most specifically, win/python9.

[issue3980] win32file.GetCommState incorrect handling of DCB

2008-09-26 Thread Alan Gardner
New submission from Alan Gardner <[EMAIL PROTECTED]>: I believe I have found a bug in win32file.GetCommState and win32file.SetCommState. I have seen it in Python 2.4 and Python 2.5, running an older version of pywin32, as well as the current (212) version. It exists in Win2k and WinXP. I use p

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: @ocean-city: Oops, sorry. Using your patch (set lineno in fp_setreadl()), it works on both cases ("python test.py" or "python -m test"). The new patch includes your fix for tokenizer.c and a new version of the testcase. Added file: http://bu

[issue3946] PyObject_CheckReadBuffer crashes on memoryview object

2008-09-26 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I'm actually having a hard time trying to get memoryview to use PyObject_CheckReadBuffer. Eventually, test should be written in C, but for now are you ok with the compile test? ___ Python tracker <[EMAIL

[issue3980] win32file.GetCommState incorrect handling of DCB

2008-09-26 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: This is the bug tracker for the Python Core project. Please report problems with win32file to the Python-Win32 project (http://sourceforge.net/projects/pywin32) -- nosy: +loewis resolution: -> invalid status: open -> closed versions

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-26 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: Flag start only with one minus: -mms-bitfields Fine with me. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-26 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: no objections ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing lis

[issue3979] Doctest failing when it should pass

2008-09-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: You need to make your docstring a unicode string. Then both tests work for me. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, I noticed another bit. If main.exe is linked to libssl.dll.a and libcrypto.dll.a it will crash, but linked to libssl.a and libcrypto.a it won't crash. (I renamed *.dll.a temporary) I'll try to build http://www.openssl.org/source/ope

[issue3946] PyObject_CheckReadBuffer crashes on memoryview object

2008-09-26 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Fixed in r66630. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3971] s_push: parser stack overflow MemoryError

2008-09-26 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: This really abuse of the parser. If you really need this, you can bump MAXSTACK in Parser/parser.h to a higher number. -- nosy: +benjamin.peterson resolution: -> wont fix status: open -> closed ___

[issue3967] bytearray().count()

2008-09-26 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I think the patch is good. -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3661] sys.call_tracing segfaults

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3909] Building PDF documentation from tex files

2008-09-26 Thread Winfried Plappert
Winfried Plappert <[EMAIL PROTECTED]> added the comment: I just tested it under Linux/Ubuntu and it is the same behaviour as described earlier: fix line 69 in sphinx.sty and it works. My pdflatex version on Windows (MiKTeX) has been mentioned in my first entry and the version for Ubuntu is (TeX-l

[issue1210] imaplib does not run under Python 3

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3775] Update RELNOTES file

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3574] compile() cannot decode Latin-1 source encodings

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3799] Byte/string inconsistencies between different dbm modules

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3787] Make PyInstanceMethod_Type available or remove it

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3685] Crash while compiling Python 3000 in OpenBSD 4.4

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3187] os.listdir can return byte strings

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3623] _json: fix raise_errmsg(), py_encode_basestring_ascii() and linecol()

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3886] Integer overflow in _hashopenssl.c (CVE-2008-2316)

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3723] Py_NewInterpreter does not work

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3886] Integer overflow in _hashopenssl.c (CVE-2008-2316)

2008-09-26 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I'm going to close this because 2.5, 2.6, and 3.0 have been patched. Gregory, if you're concerned about 2.4, I think you should make a different issue. -- resolution: -> fixed status: open -> closed __

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I think I have a beginning of an explanation: libssl.dll implements a DllMain function, whose DLL_THREAD_DETACH event calls ERR_remove_state. At this time, the (posix) thread function has already exited; pthread::exit() was already ca

[issue3299] invalid object destruction in re.finditer()

2008-09-26 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- nosy: +timehorse ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue3967] bytearray().count()

2008-09-26 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Fixed in Python trunk, rev66631, by amaury.forgeotdarc. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3967] bytearray().count()

2008-09-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Committed in trunk: r66631, in release25-maint: r66632 and py3k: r66633. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thank you for great explanation! Probably you are right... I'll look into the code. ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Maybe I can fix this openssl bug with pthread_cleanup_push, but this is openssl bug, we cannot fix it directly. I propose to commit workaround in msg73649 for 2.6 release. ___ Python tracker <[EMAIL PRO

[issue3892] bsddb: test01_basic_replication fails on Windows sometimes

2008-09-26 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- priority: release blocker -> normal ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3947] configure --with-threads on cygwin => crash on thread related tests

2008-09-26 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: And after openssl will be fixed, change it to #if defined(WITH_THREAD) && !(defined(__CYGWIN__) && OPENSSL_VERSION_NUMBER < ???) ___ Python tracker <[EMAIL PROTECTED]>

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I join two patches: - the first applies to the "official" tix-8.4.3 source tree, and modifies the makefiles: adapt to new naming scheme for tcl/tk files and directories, embed manifest file... - the other updates build_tkinter.py to

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-26 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11628/build_tkinter.patch ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3932] HTMLParser cannot handle '&' and non-ascii characters in attribute names

2008-09-26 Thread Simon Cross
Simon Cross <[EMAIL PROTECTED]> added the comment: I can't reproduce this on current trunk (r66633, 27 Sep 2008). I checked sys.getdefaultencoding() but that returned 'ascii' as expected and I even tried language Python with "LANG=C ./python" but that didn't fail either. Perhaps this has been fix

[issue3187] os.listdir can return byte strings

2008-09-26 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Ok. Here's another possibility. It adds another optional parameter to listdir. If False, bytes strings can be returned. Otherwise, the UnicodeDecodeError is reraised. Added file: http://bugs.python.org/file11629/force_unicode.patch __

  1   2   >