[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

2008-10-20 Thread kai zhu
kai zhu <[EMAIL PROTECTED]> added the comment: hi, i'm happy i got a response on this :) anyway, can u elaborate on the "reason" y something like this was never done? yes, i kno the patch is rough right now (& will never get accepted in its current state), but its now proven to work, & gives mi

[issue2231] Memory leak in itertools.chain()

2008-10-20 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: The affected code did not exist in Py2.5. The patch made it to both Py2.6 and Py3.0. Closing. -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2008-10-20 Thread Dmitry Dvoinikov
Changes by Dmitry Dvoinikov <[EMAIL PROTECTED]>: -- nosy: +ddvoinikov ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

2008-10-20 Thread kai zhu
Changes by kai zhu <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11844/py3to2.py ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Py

[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

2008-10-20 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Recommend rejecting this. I believe that it wasn't backported for a reason. Guido, care to pronounce? -- assignee: -> gvanrossum nosy: +gvanrossum, rhettinger priority: -> low ___ Python tra

[issue4062] Reference to non-existent __version__ in ast module

2008-10-20 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-l

[issue2446] 2to3 translates "import foobar" to "import .foobar" rather than "from . import foobar"

2008-10-20 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I fixed this is r66707. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

2008-10-20 Thread kai zhu
Changes by kai zhu <[EMAIL PROTECTED]>: -- keywords: +patch Added file: http://bugs.python.org/file11843/ceval.20081020.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

2008-10-20 Thread kai zhu
kai zhu <[EMAIL PROTECTED]> added the comment: ported to python-2.6 & is a bit more stable (written a few py3k programs w/ it). the patches have been simplified & consolidated to a single file: ceval.c u can also test out scripts generated by 2to3 by adding to them the magic line: "from __futur

[issue4070] python tests failure if builddir <> sourcedir

2008-10-20 Thread Neil Schemenauer
Neil Schemenauer <[EMAIL PROTECTED]> added the comment: Issue 4151 contains a similar patch but it cleans up more code, IMHO. -- nosy: +nas ___ Python tracker <[EMAIL PROTECTED]> _

[issue3997] zipfile and winzip

2008-10-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Right, this is a bug in zipfile.py. The official PKZIP specifications says: http://www.pkware.com/documents/casestudies/APPNOTE.TXT total number of entries in the central dir: (2 bytes) The total number of files in the

[issue4151] Separate build dir broken

2008-10-20 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: get_python_inc() and test case is addressed in issue4070 as well. -- nosy: +rpetrov ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3931] codecs.charmap_build is untested and undocumented

2008-10-20 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: AFAIR, this code was added by Martin as optimization. The function is a direct interface to PyUnicode_BuildEncodingMap() which builds either a dictionary or EncodingMap object for use by the charmap codec. It is primarily used by the gen

[issue2246] itertools.groupby() leaks memory with circular reference

2008-10-20 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Already backported in r61287. -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC

2008-10-20 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- assignee: -> loewis priority: -> high ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2008-10-20 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- priority: normal -> high ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-l

[issue4062] Reference to non-existent __version__ in ast module

2008-10-20 Thread Armin Ronacher
Armin Ronacher <[EMAIL PROTECTED]> added the comment: Fixed in changeset 66984. -- resolution: -> fixed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue2246] itertools.groupby() leaks memory with circular reference

2008-10-20 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- status: closed -> open ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-lis

[issue2246] itertools.groupby() leaks memory with circular reference

2008-10-20 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Backport candidate -- nosy: +loewis versions: +Python 2.5.3 -Python 2.4, Python 2.5, Python 2.6, Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> __

[issue2231] Memory leak in itertools.chain()

2008-10-20 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- status: closed -> open ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-lis

[issue2231] Memory leak in itertools.chain()

2008-10-20 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Backport candidate -- nosy: +loewis versions: +Python 2.5.3 -Python 2.6, Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> __

[issue4062] Reference to non-existent __version__ in ast module

2008-10-20 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: georg.brandl -> aronacher nosy: +aronacher ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3931] codecs.charmap_build is untested and undocumented

2008-10-20 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- nosy: +lemburg ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mail

[issue1248] ftplib needs a rewrite to use bytes/buffers

2008-10-20 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: So can we close this? -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue2619] Document PEP 3118

2008-10-20 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I'm just going to close this. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4154] More doc trivia

2008-10-20 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Thanks. Fixed in r66983. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue4155] Wrong math calculation

2008-10-20 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: None of these calculations are going to work out exactly. Look-up "what every computer scientist needs to know about floating point" and see the floating-point appendix in the Python tutorial. In this case, the difference is only one bit

[issue3997] zipfile and winzip

2008-10-20 Thread vali
vali <[EMAIL PROTECTED]> added the comment: The version I used should not have this limitation as archives created with other languages as Java or C# opens fine in WinZip 11.2 evaluation version. Also the same issue can be observed in Windows compress utility. ___

[issue4155] Wrong math calculation

2008-10-20 Thread Petr
New submission from Petr <[EMAIL PROTECTED]>: Hi, I've just tried some math functions in python3.0, but there's an wrong calculation (see the example). sin(pi/4) should be same as (2^.5)/2, but the result is different in last two digits. I don't know if it's an expected behaviour and this is m

[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X

2008-10-20 Thread Russell Owen
Changes by Russell Owen <[EMAIL PROTECTED]>: -- nosy: +reowen ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing li

[issue4154] More doc trivia

2008-10-20 Thread David W. Lambert
New submission from David W. Lambert <[EMAIL PROTECTED]>: http://docs.python.org/dev/3.0/extending/extending.html Given that the following paragraph tells us that there should be just one non-static item in the module file, struct PyModuleDef spammodule = should be static struct PyModuleDef

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2008-10-20 Thread Anthony Tuininga
Anthony Tuininga <[EMAIL PROTECTED]> added the comment: With apologies for the delay, I have modified the patch to remove the stuff that has been added already. Some of the other changes are to make use of new C API functionality but they can be ignored, if desired. The changes that are relevant

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2008-10-20 Thread Anthony Tuininga
Changes by Anthony Tuininga <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file8385/_msi.patch.txt ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4153] Unicode HOWTO up to date?

2008-10-20 Thread Terry J. Reedy
New submission from Terry J. Reedy <[EMAIL PROTECTED]>: The Unicode HOWTO begins with "Warning This HOWTO has not yet been updated for Python 3000’s string object changes." Without reading in detail, it appears it has been updated, at least somewhat, and certainly more than I feared from the wa

[issue4152] ihooks module cannot handle absolute imports

2008-10-20 Thread Neil Schemenauer
New submission from Neil Schemenauer <[EMAIL PROTECTED]>: The ihooks module was updated when the absolute imports feature was implemented. At a minimum, I guess the import_module() methods in that module would need to have "level=-1" keyword arguments added. The only library in the core that us

[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC

2008-10-20 Thread Koen van de Sande
Koen van de Sande <[EMAIL PROTECTED]> added the comment: The TCL85.dll introduces a subtlety (actually it is TK85.dll). The MSVCRT90 is not the only dependency that can be in the manifest. The Windows.CommonControls.6.0 is used by TK85.dll. So, also for all Python extensions which have additio

[issue4151] Separate build dir broken

2008-10-20 Thread Neil Schemenauer
Changes by Neil Schemenauer <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11839/get_python_inc2.patch ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4151] Separate build dir broken

2008-10-20 Thread Neil Schemenauer
Changes by Neil Schemenauer <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11837/get_python_inc.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4151] Separate build dir broken

2008-10-20 Thread Neil Schemenauer
Changes by Neil Schemenauer <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11838/get_python_inc2.patch ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4151] Separate build dir broken

2008-10-20 Thread Neil Schemenauer
New submission from Neil Schemenauer <[EMAIL PROTECTED]>: Building in a separate directory got broken at some point. The code is hairy but it looks like the source of the problem was a lame sysconfig.get_python_inc() function. The attached patches fix things and hopefully do not introduce any n

[issue3620] test_smtplib is flaky

2008-10-20 Thread jan matejek
Changes by jan matejek <[EMAIL PROTECTED]>: -- nosy: +matejcik ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue4150] pdb "up" command fails in generator frames

2008-10-20 Thread Armin Rigo
New submission from Armin Rigo <[EMAIL PROTECTED]>: pdb in post-mortem mode is not able to walk the stack through frames that belong to generators. The "up" command fails with the message "Oldest frame", making it impossible to inspect the caller (or even know what the caller was). The attached

[issue4148] Using blender

2008-10-20 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: This is a Blender problem, no a Python bug. Please consult blender's help resources. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECT

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

2008-10-20 Thread Yaakov (Cygwin Ports)
Yaakov (Cygwin Ports) <[EMAIL PROTECTED]> added the comment: 3.0rc1 builds and installs fine with the latest patch. Thanks! ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC

2008-10-20 Thread Andre Heider
Andre Heider <[EMAIL PROTECTED]> added the comment: > For some reason, the linker *does* generate manifest files for all the .pyds when I try it out. Should that worry me? When I delete them, it still can import them just fine. Hm, works for me. I am using MS SDK v6.1 and PCbuild/build.bat. > T

[issue4145] tabulary entries in PDF documentation

2008-10-20 Thread Winfried Plappert
Winfried Plappert <[EMAIL PROTECTED]> added the comment: There are some 200 tables in the 2.6 documentation, 150 alone in library.tex - and a few less in the 3.0rc1 documentation. So may suggest a course of action: since most of these tables produces reasonable results by using your automatic lay