[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] http://bugs.python.org/issue3872 ___ ___ Python-bugs-list

[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] http://bugs.python.org/issue3969

[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] http://bugs.python.org/issue3968

[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

[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 module Exception: line 2 The problem is around newtracebackobject() which calls

[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] http://bugs.python.org/issue3973 ___

[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] http://bugs.python.org/issue3973

[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] http://bugs.python.org/issue2384 ___ ___ Python-bugs-list mailing list

[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] http://bugs.python.org/issue2384 ___ ___

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

[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

[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

[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] http://bugs.python.org/issue3872

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

[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] http://bugs.python.org/issue2636 ___ ___ 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

[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

[issue3944] faster long multiplication

2008-09-26 Thread Fredrik Johansson
Changes by Fredrik Johansson [EMAIL PROTECTED]: -- nosy: +fredrikj ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3944 ___ ___ Python-bugs-list mailing

[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

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

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

[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

[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

[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] http://bugs.python.org/issue3975

[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] http://bugs.python.org/issue3946 ___

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

[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

[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() should

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

[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

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

[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] http://bugs.python.org/issue3977

[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] http://bugs.python.org/issue3977 ___

[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

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

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

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

[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] http://bugs.python.org/issue3978 ___ ___

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

[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] http://bugs.python.org/issue3947 ___

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

[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

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

[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] http://bugs.python.org/issue3547 ___

[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] http://bugs.python.org/issue1706863 ___ ___ Python-bugs-list mailing list

[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

[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] http://bugs.python.org/issue3946 ___

[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] http://bugs.python.org/issue3967 ___

[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] http://bugs.python.org/issue3664 ___

[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] http://bugs.python.org/issue3661 ___

[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

[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] http://bugs.python.org/issue1210 ___

[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] http://bugs.python.org/issue3775 ___

[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] http://bugs.python.org/issue3574 ___

[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] http://bugs.python.org/issue1717 ___

[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] http://bugs.python.org/issue3799 ___

[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] http://bugs.python.org/issue3787 ___

[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] http://bugs.python.org/issue3685 ___

[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] http://bugs.python.org/issue3187 ___

[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] http://bugs.python.org/issue3781 ___

[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] http://bugs.python.org/issue3623 ___

[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] http://bugs.python.org/issue3886 ___

[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] http://bugs.python.org/issue3723 ___

[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

[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] http://bugs.python.org/issue3299 ___ ___ Python-bugs-list mailing

[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] http://bugs.python.org/issue3967 ___

[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] http://bugs.python.org/issue3967

[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] http://bugs.python.org/issue3947 ___

[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

[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] http://bugs.python.org/issue3892 ___ ___

[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] http://bugs.python.org/issue3947

[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] http://bugs.python.org/issue3872 ___

[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 fixed?

[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

[issue3187] os.listdir can return byte strings

2008-09-26 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11629/force_unicode.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3187 ___

[issue3187] os.listdir can return byte strings

2008-09-26 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: Added file: http://bugs.python.org/file11630/force_unicode.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3187 ___

[issue3187] os.listdir can return byte strings

2008-09-26 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: On Fri, Sep 26, 2008 at 5:47 PM, Benjamin Peterson [EMAIL PROTECTED] wrote: Ok. Here's another possibility. It adds another optional parameter to listdir. If False, bytes strings can be returned. Otherwise, the UnicodeDecodeError is

[issue3187] os.listdir can return byte strings

2008-09-26 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Does that mean that the right thing to do is raise decoding errors when unicode is given and fix the path modules so they can use bytes? ___ Python tracker [EMAIL PROTECTED]

[issue3892] bsddb: test01_basic_replication fails on Windows sometimes

2008-09-26 Thread Jesús Cea Avión
Jesús Cea Avión [EMAIL PROTECTED] added the comment: I need some MS Windows user able to replicate this issue locally (not in the buildbot). Oracle people need to do some test and I would like to avoid to mess with builtbots. Please, help!. ___ Python

[issue3939] Patch to implement a real ftplib test suite

2008-09-26 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Excellent! Barry gave me permission to put this in 2.6, so I'll do so soon. -- versions: +Python 2.6 -Python 2.7 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3939

[issue3358] 2to3 Iterative Wildcard Matching

2008-09-26 Thread Nick Edds
Nick Edds [EMAIL PROTECTED] added the comment: What do you think would be the best way to implement a test for this? To test it, I ran it on a known file that caused the old recursive method to fail, but I don't know if it makes sense to include that with the tests. I could always write a test

[issue2876] Write UserDict fixer for 2to3

2008-09-26 Thread Nick Edds
Nick Edds [EMAIL PROTECTED] added the comment: I have the functionality for this working, and will post it tomorrow when I complete its test suite. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2876 ___

[issue3358] 2to3 Iterative Wildcard Matching

2008-09-26 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: On Fri, Sep 26, 2008 at 9:24 PM, Nick Edds [EMAIL PROTECTED] wrote: Nick Edds [EMAIL PROTECTED] added the comment: What do you think would be the best way to implement a test for this? To test it, I ran it on a known file that caused

[issue3939] Patch to implement a real ftplib test suite

2008-09-26 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Commited in r66634. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3939 ___

  1   2   >