[issue6496] 2to3 generates "from urllib.parse import pathname2url"

2009-07-16 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Attaching fix. Might have to merge to 2.6/2.7 -- keywords: +patch Added file: http://bugs.python.org/file14511/fix6496.patch ___ Python tracker <http://bugs.python.org/issue6

[issue6510] zipfile: OSError File exists

2009-07-17 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : sridh...@whymac:/tmp/i > wget http://google-chartwrapper.googlecode.com/ files/GChartWrapper-0.8.osx-10.5.zip Saving to: `GChartWrapper-0.8.osx-10.5.zip' sridh...@whymac:/tmp/i > apy -c "import zipfile; zipfile.ZipFile ('GChartWra

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-07-17 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : Ideally, zipfile.BadZipFile should be thrown when trying to open files that are zero-sized. sridh...@whymac:/tmp/i > apy -c "import zipfile; zipfile.ZipFile ('empty.zip').extractall()" Traceback (most recent call last): File

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-07-17 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Also repros on python-3.1 -- versions: +Python 3.1 ___ Python tracker <http://bugs.python.org/issue6511> ___ ___ Python-bug

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-07-17 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Note: empty.zip is nothing but an empty file created using the 'touch' command. -- ___ Python tracker <http://bugs.python.

[issue6566] json.dumps converts None to "null" (not null)

2009-07-24 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : In [2]: json.dumps({'a': 1, 'b': {'c': 3, None: 5}}) Out[2]: '{"a": 1, "b": {"c": 3, "null": 5}}' In [3]: j = json.dumps({'a': 1, 'b': {'c': 3,

[issue6566] json.dumps converts None to "null" (not null)

2009-07-24 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: The simplest repro: In [6]: json.dumps({None: 3}) Out[6]: '{"null": 3}' In [7]: json.loads(json.dumps({None: 3})) Out[7]: {u'null': 3} -- ___ Python tracker <

[issue6566] json.dumps converts None to "null" (not null)

2009-07-24 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Also repros on 3.0/3.1 -- versions: +Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/issue6566> ___ ___

[issue6566] json.dumps converts None to "null" (not null)

2009-07-24 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: > JSON dict keys are strings *only*. I might be helpful to point this out (along with other caveats) in the standard library documentation for JSON. An explicit mention of ``loads(dumps(x)) != x for certain structures`` would be nice. I, sir,

[issue6584] gzip module has no custom exception

2009-07-26 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : Much like zipfile.BadZipfile, we need a base custom exception for the gzip module. At least, catch gzip-related exceptions and throw a tarfile.TarError when used *via* tarfile.*. See the following example (the exception escaped the "try... e

[issue6584] gzip module has no custom exception

2009-07-26 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- versions: +Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/issue6584> ___ ___ Python-bugs-list mailin

[issue5673] Add timeout option to subprocess.Popen

2009-07-27 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue5673> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5673] Add timeout option to subprocess.Popen

2009-07-27 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: See http://code.google.com/p/python-process/ for some ideas. -- ___ Python tracker <http://bugs.python.org/issue5

[issue6511] zipfile: Invalid argument when opening zero-sized files

2009-07-28 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Amaury, shouldn't this also be merged to the py3k branch? (I am not aware of any Python commit policies so just asking) -- ___ Python tracker <http://bugs.python.org/i

[issue6600] MemoryError in AiX 64-bit build

2009-07-29 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : (currently investigating the root cause of this issue...) bash-2.04$ build/py2_6_2-aix5-powerpc-apy26-rrun/python/python -c "open ('/tmp/test', 'w')" Traceback (most recent call last): File "", line 1, in Me

[issue6600] MemoryError in AiX 64-bit build

2009-07-29 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: I suspect this is related to http://mail.python.org/pipermail/python- bugs-list/2003-November/021158.html -- ___ Python tracker <http://bugs.python.org/issue6

[issue6600] MemoryError in AiX 64-bit build

2009-07-29 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: I localized the error to line 248 in http://svn.python.org/view/python/ branches/release26-maint/Objects/fileobject.c?annotate=68135#248 (brandl's change made 3 years ago) static PyObject * open_the_file(PyFileObject *f, char *name, char

[issue6600] MemoryError in AiX 64-bit build

2009-07-29 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Interesting. If add the line: newmode = PyMem_MALLOC(4); next to the existing line: newmode = PyMem_MALLOC(strlen(mode) + 3); there is no MemoryError! -- ___ Python tracker <http://bugs.python.

[issue6600] MemoryError in AiX 64-bit build

2009-07-29 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: This is strange .. the attached patch (reverses operands to +) fixes the issue. -- Added file: http://bugs.python.org/file14605/patch ___ Python tracker <http://bugs.python.org/issue6

[issue6600] MemoryError in AiX 64-bit build - PyMem_MALLOC failed

2009-07-30 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- components: +Interpreter Core -Build, IO title: MemoryError in AiX 64-bit build -> MemoryError in AiX 64-bit build - PyMem_MALLOC failed ___ Python tracker <http://bugs.python.org/iss

[issue6600] MemoryError in AiX 64-bit build - PyMem_MALLOC failed

2009-07-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: This is after preprocessor run (cc_r -E):- Original: newmode = (((__strlen(mode) + 3) < 0 || (__strlen(mode) + 3) > ((Py_ssize_t)(((size_t)-1)>>1))) ? 0 : malloc((__strlen(mode) + 3) ? (__strlen(mode) + 3) : 1)); Patched: newmode = (((3 + _

[issue6600] MemoryError in AiX 64-bit build - PyMem_MALLOC failed

2009-07-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Damn, now even the original code (without the patch) works. This is an unreliable issue. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6600] MemoryError in AiX 64-bit build - PyMem_MALLOC failed

2009-07-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Forget the last comment, the patch is still valid and without it python gives MemoryError. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6609] zipfile: WindowsError [267] The directory name is invalid

2009-07-30 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : The following exception occured when I tried to extract http:// sourceforge.net/projects/slut/files/slut/slut-0.9.0/slut-0.9.0.zip/ download using the zipfile module on Windows XP. C:\\HOME\\as\\pypm-infinitude\\scratch\\b\\slut-0.9.0.zip.work is 1

[issue6609] zipfile: WindowsError [267] The directory name is invalid

2009-07-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Shortly following this exception, I tried to create the directory myself C:\...> mkdir slut-0.9\aux The directory name is invalid. Curiously, I searched the internet for why a directory named 'aux' cannot be created anywhere on the Windo

[issue6609] zipfile: WindowsError [267] The directory name is invalid

2009-07-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Let's keep this open as these sort of errors should ideally by wrapped under ZipError, no? -- ___ Python tracker <http://bugs.python.org/i

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2009-08-03 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : I tried the following turtle program; it was taking some time to draw .. so I pressed C-c after which I saw the exception traceback. > cat play.py from turtle import * def f(length, depth): if depth == 0: forward(length) else: f(len

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2009-08-03 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- components: +Tkinter ___ Python tracker <http://bugs.python.org/issue6639> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6644] cmathmodule.c: Extra comma in enum - fails on AIX

2009-08-04 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : Please the remove extra comma in Modules/cmathmodule.c 64 :eimes enum special_types { 65 :eimes ST_NINF,/* 0, negative infinity */ 66 :eimes ST_NEG, /* 1, negative finite

[issue6645] multiprocessing build fails on AIX - /dev/urandom (or equivalent) not found

2009-08-04 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : ./Modules/ld_so_aix cc_r -qlanglvl=ansi -bI:Modules/python.exp build/ temp.aix-5.1-2.6/home/apy/rrun/build/activ epython-DEV/build/py2_6_2-aix-powerpc-apyee26-rrun/python/Modules/ _multiprocessing/multiprocessing.o build/temp .aix-5.1-2.6/home/apy/rrun

[issue6646] test_pickle fails on AIX -- 6.9999999999999994e-308 != 6.9999999999999984e-308

2009-08-04 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : test test_pickle failed -- errors occurred; run in verbose mode for details test_pickletools test test_pickletools failed -- Traceback (most recent call last): File "/home/apy/rrun/tmp/autotest/apy/lib/python2.6/test/ pickletester.py", li

[issue6645] multiprocessing build fails on AIX - /dev/urandom (or equivalent) not found

2009-08-05 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: I suppose multiprocessing invokes `os.random` somewhere. And os.random fails on AIX for obvious reasons: >>> os.urandom(10) Traceback (most recent call last): File "", line 1, in File "/tmp/srid/ActivePythonEE-2.6.2.3-aix-p

[issue6600] MemoryError in AiX 64-bit build - PyMem_MALLOC failed

2009-08-05 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Update: posixmodule.c too has the same problem. Attaching similar patch for this: --- python/Modules/posixmodule.c.orig 2009-08-05 09:47:07.0 -0700 +++ python/Modules/posixmodule.c2009-08-05 09:48:46.0 -0700 @@ -6451,7 +6451,7

[issue6600] MemoryError in AiX 64-bit build - PyMem_MALLOC failed

2009-08-05 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: It does appear that this problem occurs wherever `strlen` is used .. and given that strlen is a macro on AIX, I suspect the problem is with the macro definition itself. I will see if wrapping the arguments to PyMem_MALLOC in parenthesis would help. And

[issue6600] MemoryError in AiX 64-bit - PyMem_MALLOC fails in open/fdopen

2009-08-05 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- title: MemoryError in AiX 64-bit build - PyMem_MALLOC failed -> MemoryError in AiX 64-bit - PyMem_MALLOC fails in open/fdopen ___ Python tracker <http://bugs.python.org/iss

[issue6646] test_pickle fails on AIX -- 6.9999999999999994e-308 != 6.9999999999999984e-308

2009-08-06 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: It is a powerpc 64-bit AIX machine: >>> os.uname() ('AIX', 'asaixv5152', '1', '5', '000C763E4C00') >>> platform.uname() ('AIX', 'asaixv5152', '1',

[issue6669] TarFile.getmembers fails at struct.unpack: unpack requires a string argument of length 4

2009-08-07 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : Perhaps this must be wrapped under a programmer-expected custom exception class (TarError maybe) for tarinfo in tarfileobj.getmembers(): File "/home/apy/ActivePython-2.6/lib/python2.6/tarfile.py", line 1791, in getmembers

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2009-08-14 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: [...] test_poll test_popen test_poplib stub-asunix.sh: line 238: 25474 Unknown signal 32 $PYTHON $installdir/lib/python?.?/test/regrtest.py -w -u all,-curses,-audio,- network -x $SKIPS stub: core Python test suite FAILED (retval: 160

[issue5528] Unable to launch IDLE on Windows

2009-08-18 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue5528> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6746] ValueError raised by IDLE during tooltip open on 64-bit Centos 5.3

2009-08-20 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : Linux (Centos 5.3) 32-bit with Python 2.5.4 1. Start an idle session. 2. enter "help(" at the prompt The open bracket triggers a traceback in the console: Exception in Tkinter callback Traceback (most recent call last): File "/home/

[issue6746] ValueError raised by IDLE during tooltip open on 64-bit Centos 5.3

2009-08-20 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: On Thu, 20 Aug 2009 16:52:12 -0700, Guilherme Polo wrote: > I can reproduce it here, unfortunately Tcl/Tk 8.5 isn't really supported > by Python 2.5 and the changes required to get this fixed won't be > backported. It was suggested

[issue6780] startswith error message is incomplete

2009-08-24 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : The `startswith` method accepts both string and tuple (not list). Yet the error message suggests that it expects (only) a character buffer object. In Python-2.6: >>> "foo".startswith(['fo', 'df']) Traceback (mo

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2009-08-28 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Sorry about the late response; have been busy of late. I believe this error ("Unknown signal 32") appears consistently in 3.0.1, 3.1rc1, 3.1 and 3.1.1. It appears only on Linux x86. (64-bit has failures of different kind..) I am attaching the

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2009-08-28 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: .. and here are the machine details: a...@gila:~> uname -a Linux gila 2.4.21-297-default #1 Sat Jul 23 07:47:39 UTC 2005 i686 i686 i386 GNU/Linux a...@gila:~> cat /etc/*release LSB_VERSION="1.3" DISTRIB_ID="SuSE" DISTRIB_RELEASE

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2009-08-28 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: libc used is of version 2.3.2. *** a...@gila:~> ldd rrun/tmp/autotest/ActivePython-3.1.1.2-linux-x86/ INSTALLDIR/bin/python3 libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4002f000) libdl.so.2 => /lib/libdl.so.2 (0

[issue6163] [HP-UX] ld: Unrecognized argument: +s -L

2009-09-08 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: > compiler.find("gcc") >= 0 or compiler.find("g++") >= 0 Why not `("gcc" in compiler or "g++" in compiler)`? Just curious. -- ___

[issue6163] [HP-UX] ld: Unrecognized argument: +s -L

2009-09-09 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: >From http://svn.python.org/view/python/trunk/Misc/NEWS? r1=74728&r2=74727&pathrev=74728 "Initial patch by Sridhar Ratnakumar" The author of the initial patch - distutils_hpux_libdir_option.patch - is actually Trent Mick. I on

[issue4773] HTTPMessage not documented and has inconsistent API across 2.6/3.0

2009-09-09 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue4773> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2009-09-15 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue3561> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-09-21 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue6236> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4947] sys.stdout fails to use default encoding as advertised

2009-09-24 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue4947> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2009-09-29 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue3890> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-09-29 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : Today's 2.6.3rc1 introduced an regression in building pywin32. Peruse the following error: = creating build\lib.win32-2.6\pywin32_system32 C:\Program Files\Microsoft Visual Studio 9.0\V

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-09-29 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Note the line: /OUT:build\lib.win32-2.6\pywin32_system32\pywintypes.pyd In 2.6.2, it was: /OUT:build\lib.win32-2.6\pywin32_system32\pywintypes26.dll -- ___ Python tracker <http://bugs.python.

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-09-29 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Quite note: I am able to repro this freshly using pywin32 212 version. http://sourceforge.net/projects/pywin32/files/pywin32/Build%20212/ pywin32-212.zip/download (214 goes past the copying part, but I could not complete the build to some missing

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-09-29 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Replacing the distutils packages with the Lib/distutils from 2.6.2 fixed the issue. So this was introduced by a change in distutils. Tarek, any insight into this issue? -- ___ Python tracker <h

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-09-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Thank you Tarek. I was able to fix the issue by patching pywin32's setup.py by using the `get_ext_filename` function from the CVS HEAD revision (which handles non- namespaced extensions as well). -- status: open ->

[issue7026] test_urllib: unsetting missing 'env' variable

2009-09-30 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : test test_urllib failed -- Traceback (most recent call last): File "/home/apy/rrun/tmp/autotest/apy/lib/python2.6/test/ test_urllib.py", line 106, in setUp env.unset(k) NameError: global name 'env' is not defined Looking in tru

[issue7026] test_urllib: unsetting missing 'env' variable

2009-09-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: The above mentioned traceback occurs in 2.6.3rc1 -- ___ Python tracker <http://bugs.python.org/issue7026> ___ ___ Python-bug

[issue7027] test_io.py: codecs.IncrementalDecoder is sometimes None

2009-09-30 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : This test failure occurs on Windows XP (x86) with 2.6.3.rc1 == ERROR: Test seek/tell using the StatefulIncrementalDecoder

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-10-01 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Apparently Zope2 build fails for the same reason on 2.6.3rc1 (I'm attaching the log file) File "c:\python26\lib\distutils\command\build_ext.py", line 633, in get_ext_fullpath filename = self.get_ext_filename(modpath[-1]) File &

[issue7020] regression in pywin32 build due to 2.6.3rc1

2009-10-01 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Tarek was referring to this bug - http://bitbucket.org/tarek/distribute/ issue/41/ - above. -- ___ Python tracker <http://bugs.python.org/issue7

[issue7043] test_urllib: constructLocalFileUrl returns invalid URLs on Windows

2009-10-02 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : This error happens on Windows. The culprit seems to be the `constructLocalFileUrl` method that is constructing invalid URLs. Traceback (most recent call last): File "C:\Python26\lib\test\test_urllib.py", line 241, in test_copy test_supp

[issue7052] "from logging import *" causes an error under Ubuntu Karmic

2009-10-05 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue7052> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7064] Python 2.6.3 / setuptools 0.6c9: extension module builds fail with KeyError

2009-10-05 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue7064> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2009-10-05 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: >From http://bugs.python.org/msg93606 .. it seems that 2.6.4 may happen very soon. -- ___ Python tracker <http://bugs.python.org/iss

[issue7064] Python 2.6.3 / setuptools 0.6c9: extension module builds fail with KeyError

2009-10-05 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: > a 2.6.4 release in the works Is this going to have a rc1 as usual? Have we decided on the dates both for rc1 and final? -- ___ Python tracker <http://bugs.python.org/iss

[issue7064] Python 2.6.3 / setuptools 0.6c9: extension module builds fail with KeyError

2009-10-12 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Tarek - could you give the new issue link? -- ___ Python tracker <http://bugs.python.org/issue7064> ___ ___ Python-bug

[issue6403] distutils builds extension modules to root package directory

2009-10-13 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue6403> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3881] IDLE won't start in custom directory.

2009-11-04 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue3881> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6906] Tkinter sets an unicode environment variable on win32

2009-11-16 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue6906> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2009-11-17 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue6877> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7371] Windows 64-bit build "skips" several projects in VS 2008

2009-11-20 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : 1. Install Windows 64-bit (SP2) 2. Install Visual Studio 2008 Professional w/ 64-bit components 3. Download Python-2.6.4.tgz 4. Open PCbuild/pcbuild.sln 5. Select "Release" and "x64" in the configuration toolbar One would notice th

[issue7371] Windows 64-bit build "skips" several projects in VS 2008

2009-11-20 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: > All projects are *skipped*. I meant: All other projects are *skipped*. -- ___ Python tracker <http://bugs.python.org/iss

[issue7371] Windows 64-bit build "skips" several projects in VS 2008

2009-11-23 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: [...] Step 6. Build Solution The OS was 64-bit Windows XP (w/ Service Pack 2). Are you sure you were running a 64-bit operating system (i.e., not cross-compiling)? -- ___ Python tracker <h

[issue7371] Windows 64-bit build "skips" several projects in VS 2008

2009-11-25 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Ok, I found that this issue happens only with RTM version of VS2008. The fix is to install SP1. ref - http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/ beb4abe5-b40c-4008-aac4-343f3493e5ba -- status: open -> clo

[issue7452] Invalid mnemonic 'fnstcw'

2009-12-07 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : When trying to build 2.7a1 I ran into the following problem on MacOSX 10.4 (Tiger): $ ./configure --enable-framework --enable-universalsdk [...] $ make [...] gcc -c -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-common -dynamic

[issue7452] Invalid mnemonic 'fnstcw'

2009-12-07 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: This error only occurs when I specify --enable-framework and --enable- universalsdk to ./configure. -- ___ Python tracker <http://bugs.python.org/issue7

[issue7453] HPUX: socketmodule.c -- error 1588: "AI_PASSIVE" undefined.

2009-12-07 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : At line 790, the constant AI_PASSIVE is used without doing a ifdef check (like done at around 5235). building '_socket' extension cc +DAportable -Ae -D_REENTRANT +Z +z -DNDEBUG -O -I. -I./Include - IInclude -I/home/apy/rrun/build/activepython

[issue7454] Solaris SPARC: _multiprocessing.so: symbol sem_timedwait: referenced symbol not found

2009-12-07 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : [...] cc -xcode=pic32 -DNDEBUG -O -DHAVE_SEM_TIMEDWAIT=0 - IModules/_multiprocessing -I. -I./Include -IInclude - I/export/home/apy/rrun/build/activepython-DEV/build/py2_7a1-solaris8- sparc-apy27-rrun/python -c /export/home/apy/rrun/build/activepython- DEV

[issue7453] HPUX: socketmodule.c -- error 1588: "AI_PASSIVE" undefined.

2009-12-07 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Yes, I even tried grep'ing the system header files. BTW, the build works fine on a newer HP-UX machine (11.22), whereas it fails only on a particular older version: $ uname -a HP-UX bertha B.11.00 U 9000/800 136901587 unlimited-user license

[issue7453] HPUX 11.00: socketmodule.c -- error 1588: "AI_PASSIVE" undefined.

2009-12-07 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- title: HPUX: socketmodule.c -- error 1588: "AI_PASSIVE" undefined. -> HPUX 11.00: socketmodule.c -- error 1588: "AI_PASSIVE" undefined. ___ Python tracker <http:/

[issue7452] Invalid mnemonic 'fnstcw'

2009-12-08 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: > Do you get the same problem with py3k? Not in 3.1.1 at least. > Fixed in r76712 (trunk) That fixes the issue. Thanks! Let me know if you still need pyconfig.h. -- status: pending -> open ___ Pytho

[issue7454] Solaris SPARC: _multiprocessing.so: symbol sem_timedwait: referenced symbol not found

2009-12-08 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : Added file: http://bugs.python.org/file15506/pyconfig.h ___ Python tracker <http://bugs.python.org/issue7454> ___ ___ Python-bugs-list m

[issue7454] Solaris SPARC: _multiprocessing.so: symbol sem_timedwait: referenced symbol not found

2009-12-08 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: After ./configure step, I made the following changes to pyconfig.h in order to fix this issue: $ diff pyconfig.h.orig pyconfig.h 561c561 < /* #undef HAVE_SEM_TIMEDWAIT */ --- > #undef HAVE_SEM_TIMEDWAIT Ideally, something needs to be chan

[issue7509] AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'

2009-12-14 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : This error happened while installing pycrypto 2.0.1 on XP 64-bit with VS 2008 express installed using Python 2.6.4 64-bit (via buildout). Getting distribution for 'pycrypto>=1.9'. Traceback (most recent call last): File "", li

[issue7510] AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'

2009-12-14 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : This error happened while installing pycrypto 2.0.1 on XP 64-bit with VS 2008 express installed using Python 2.5.4 64-bit (via buildout). See also: http://twistedmatrix.com/trac/ticket/3352 Getting distribution for 'pycrypto>=1.9'. Tr

[issue7511] msvc9compiler.py: ValueError: [u'path']

2009-12-14 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : Win XP 64-bit Python 2.6.4 64-bit Getting distribution for 'pycrypto>=1.9'. Traceback (most recent call last): File "", line 1, in File "build\bdist.win-amd64\egg\setuptools\command\easy_install.py", line 1714,

[issue7509] AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'

2009-12-14 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Duplicate of issue7510 -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue7509> ___ ___ Python-

[issue7511] msvc9compiler.py: ValueError: [u'path']

2009-12-14 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: I have Visual C++ 2008 express edition installed. Maybe it is a quirk of express edition as I was able to install pycrypto fine with the Visual Studio 2008 professional edition at work machine. In any case, I believe this is a bug with distutils

[issue7556] msvc9compiler.py: TypeError: can't use a string pattern on a bytes-like object

2009-12-21 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : While building pywin32 with Py3k trunk (not release version), I get this traceback: Creating library build\temp.win32- 3.1\Release\win32\src\pywintypes31.lib and object buil d\temp.win32-3.1\Release\win32\src\pywintypes31.exp Traceback (most recent

[issue7556] msvc9compiler.py: TypeError: can't use a string pattern on a bytes-like object

2009-12-21 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Uh, cmd.exe seemed to have stripped some chars. Here's the full traceback: http://gist.github.com/261153 -- ___ Python tracker <http://bugs.python.org/i

[issue7556] msvc9compiler.py: TypeError: can't use a string pattern on a bytes-like object

2009-12-21 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Correction: I found this in branches/release3.1-maint (not trunk - which I never tried) -- ___ Python tracker <http://bugs.python.org/issue7

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

2009-12-21 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: See issue 7556 for the "can't use a string pattern on a bytes-like object" error. -- nosy: +srid ___ Python tracker <http://bugs.py

[issue7580] distutils makefile from python.org installer doesn't work on OS X Snow Leopard

2009-12-26 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue7580> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2009-12-27 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue6792> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1658] "RuntimeError: dictionary changed size during iteration" in Tkinter

2010-01-08 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: I get this error while running Python 2.6.4 tests (on 64-bit Linux box) test_urllib test test_urllib failed -- Traceback (most recent call last): File "/home/apy/rrun/tmp/autotest/apy/lib/python2.6/test/test_urllib.py", line 104, in setUp

[issue7453] HPUX 11.00: socketmodule.c -- error 1588: "AI_PASSIVE" undefined.

2010-01-11 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: BTW, this bug no longer occurs with Python trunk (or 2.7a2). I took at look at the vcs history and couldn't find any changes related to this. -- ___ Python tracker <http://bugs.python.org/i

[issue7658] OS X pythonw.c compile error with 10.4 or earlier deployment target: no spawn.h

2010-01-11 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Our nightly ActivePython builds broke because of this issue. Note that we still build on 10.4 w/ 10.4u SDK. I should be able to help verify the new fix - once it is uploaded - in our build machine. -- nosy: +srid

[issue3876] multiprocessing does not compile on systems which do not define sem_timedwait

2010-01-11 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker <http://bugs.python.org/issue3876> ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2   3   4   >