[issue12547] whatsnew/3.3: error in example about nntplib

2011-07-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 95c34bce986c by Ezio Melotti in branch 'default': #12547: Fix example in nntplib doc. Patch by July Tikhonov. http://hg.python.org/cpython/rev/95c34bce986c -- ___ Python

[issue12547] whatsnew/3.3: error in example about nntplib

2011-07-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks again for the patch! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12547

[issue12464] tempfile.TemporaryDirectory.cleanup follows symbolic links

2011-07-26 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I agree with Antoine - it's a simple bug Alright, in that case I agree (I thought this was considered as a security issue). Two comments on the patch: Lib/tempfile.py: # Don't recurse to symlinked directories (issue #12464) Is it

[issue12615] add array.zeroes

2011-07-26 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Array has been around for a very long time and this functionality has never been requested. That and the fact that we already have a way to do it (the same way as for lists) is a strong indication that this isn't needed at all.

[issue12632] Windows GPF with Code Page 65001

2011-07-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: First, a call to abort() is not a GPF: it's not an interrupt from the kernel or the OS, it's just an explicit (albeit brutal) way to exit from an application. There is no potential back door here. Then, the Fatal Python error: line

[issue12632] Windows GPF with Code Page 65001

2011-07-26 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Finally, the fix you suggest would be applicable if python used WriteConsole or WriteFile... but it does not! It uses the write() function, which probably calls WriteConsole or WriteFile at some point, but does not take unicode

[issue12464] tempfile.TemporaryDirectory.cleanup follows symbolic links

2011-07-26 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Charles-François Natali wrote: I agree with Antoine - it's a simple bug Alright, in that case I agree (I thought this was considered as a security issue). Yes. The problem is that cleanup() does not delete the temporary directory but

[issue3581] failures in test_uuid

2011-07-26 Thread Karl Johan Kleist
Karl Johan Kleist karl.jo...@kleist-it-consulting.de added the comment: If it could be of interest to anybody: When running make test after building Python 2.7.2, I get the error message 1 test failed: test_uuid. uname -a Linux h1488277 2.6.18-028stab091.2 #1 SMP Fri Jun 3 00:02:40 MSD 2011

[issue3581] failures in test_uuid

2011-07-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: What is the output of this command? ./python -m test.regrtest -v test_uuid -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3581

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-07-26 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: Removed file: http://bugs.python.org/file22756/c_format_bytearray.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12380 ___

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-07-26 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: Removed file: http://bugs.python.org/file22757/c_format_buffer.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12380 ___

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-07-26 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Updated the bytearray patch to change documentation and add tests. -- Added file: http://bugs.python.org/file22764/c_format_bytearray.patch ___ Python tracker rep...@bugs.python.org

[issue3581] failures in test_uuid

2011-07-26 Thread Karl Johan Kleist
Karl Johan Kleist karl.jo...@kleist-it-consulting.de added the comment: == CPython 2.7.2 (default, Jul 26 2011, 12:29:47) [GCC 4.2.1 (SUSE Linux)] == Linux-2.6.18-028stab091.2-i686-athlon-with-SuSE-10.3-i586 little-endian == /home/kjk/local/src/Python-2.7.2/build/test_python_18037 Testing

[issue3581] failures in test_uuid

2011-07-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: hum, maybe an issue with the MAC address of your virtual server? What do you get if you run: ifconfig -a | grep -i -e hwaddr -e ether -- ___ Python tracker rep...@bugs.python.org

[issue3581] failures in test_uuid

2011-07-26 Thread Karl Johan Kleist
Karl Johan Kleist karl.jo...@kleist-it-consulting.de added the comment: /sbin/ifconfig -a | grep -i -e hwaddr -e ether venet0Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

[issue10469] test_socket fails using Visual Studio 2010

2011-07-26 Thread Simon Buchan
Simon Buchan simon.buchan...@gmail.com added the comment: Confirming this patch fixes the test_aynsc* tests in my VS10 build. Shouldn't it swap all WSA* defines to protect against this in the future, though? Alternatively, should the check for WSA* codes existing be in Lib\asyncore.py?

[issue3581] failures in test_uuid

2011-07-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Well, without a valid MAC address the function cannot work... On the other hand, I would not worry too much: uuid._ifconfig_getnode() is an internal function; and since all the other tests pass, uuid.getnode() probably has other ways

[issue10639] reindent.py converts newlines to platform default

2011-07-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Added file: http://bugs.python.org/file22765/900df5732f93.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10639 ___

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for your work. The generated patch is for some reason unreadable, so I looked at the changeset on Bitbucket. It looks good, except that a new option would have to be 3.3-only, whereas the bug could be fixed in 2.7 and 3.2 too. If it’s

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-07-26 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Your tests contain this: +sys.path.append(source) When using regrtest (see http://docs.python.org/devguide/runtests#running), you’ll get a warning that test_packaging altered sys.path. Your code should make sure sys.path is restored

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file22765/900df5732f93.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10639 ___

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file22766/900df5732f93.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10639 ___

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: No problem. I'll rebase and push the current patch as-is, and then backport to 3.2 and 2.7 without the option (just raising the error when mixed newlines are encountered). -- ___ Python tracker

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: If this changeset is acceptable, I will push the revisions to the master repo. I'll rebase and push the current patch as-is, What repo are you talking about, BTW? The developers list in the devguide does not contain your name, so I assume

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- hgrepos: +47 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12614 ___ ___ Python-bugs-list mailing

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-26 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Roundup can’t connect with SSH, it needs a public HTTP URI. The one I added requires authentication, can you fix that? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12614

[issue11797] 2to3 does not correct reload

2011-07-26 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: File looks good, although I’m not sure about the “Copyright 2006 Georg Brandl” line. I also don’t know if stable branches can get this fix. -- ___ Python tracker rep...@bugs.python.org

[issue12480] urllib2 doesn't use proxy (fieddler2), configed the proxy with ProxyHandler

2011-07-26 Thread Peter Bumbulis
Peter Bumbulis pbumbu...@gmail.com added the comment: proxy_bypass_registry in urllib.py does not handle the ProxyOverride registry value properly: it treats an empty override as *, i.e. bypass the proxy for all hosts. This behavior does not match other programs (e.g. Chrome) and can be

[issue12632] Windows GPF with Code Page 65001

2011-07-26 Thread Bruce Ferris
Bruce Ferris bferri...@bferris.co.uk added the comment: Victor, thanks for replying and I've had a quick read of everything that went on for issue #1602. I think there's some misunderstanding in what I'm saying here. Maybe this will help clear up what I'm saying... D:\chcp Active code

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I assume you’re not talking about hg.python.org/cpython? My name appears as jason.coombs. But your note does remind me that I need to review the devguide, since it's been a while since I've pushed something. I may also look into

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Okay, I hadn’t seen you in http://docs.python.org/devguide/developers and I don’t recall the URI of the generated file with all names. I’ve asked that your Roundup profile be updated so that you get the Python icon and the possibility to be

[issue12345] Add math.tau

2011-07-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12345 ___ ___ Python-bugs-list

[issue12345] Add math.tau

2011-07-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file22397/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12345 ___

[issue12632] Windows GPF with Code Page 65001

2011-07-26 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: All I'm trying to do is run different versions of Python on the same machine from the command line. Some code inside Python now break if Python 3.1 is started with Code Page 65001. Yes, this issue can be seen as a regression

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: eric.araujo - jason.coombs stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10639 ___

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-26 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Windows file associations are so disfunctional that you should not depend on them being anything in particular. Ah. Do you think I should revert the change I did for distutils docs to recommend running “setup.py spam”? I followed the opinion

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +jason.coombs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1626300 ___ ___ Python-bugs-list

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 070dc6e359fb by Jason R. Coombs in branch '3.2': Fixes #10639: reindent.py should not convert newlines http://hg.python.org/cpython/rev/070dc6e359fb New changeset 826a0208d143 by Jason R. Coombs in branch 'default':

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I've stripped the undesirable revisions and updated the bitbucket repo so it now contains three changesets for Python 3.2 and 3.3 and suggested. I don't believe running the test suite is relevant, as I grepped the test suite for reindent,

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I've stripped the undesirable revisions and updated the bitbucket repo so it now contains three changesets for Python 3.2 and 3.3 and suggested. hg diff combined with hg import can help you flatten a series of changeset into one. I don't

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-26 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Script run without extensions when run with an explicit python command. Like “python.exe setup” when the file really is setup.py? I’d never have guessed that. No. Python.exe expects the full path. The only way to execute scripts

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-07-26 Thread Марк Коренберг
Марк Коренберг socketp...@gmail.com added the comment: In my case, exception occured in separate thread between the begginig of the thread and starting loop. Main thread has a code that correctly stops that separate thread. It just calls loop_thread.server.server_close() and after that, calls

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-07-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: In my case, exception occured in separate thread between the begginig of the thread and starting loop. Main thread has a code that correctly stops that separate thread. It just calls loop_thread.server.server_close() and after that, calls

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-07-26 Thread Марк Коренберг
Марк Коренберг socketp...@gmail.com added the comment: Why you create variable mirror? -- self.__running = False self.__is_shut_down.set() -- You other code is racy. exception may occur at any time. Why not to test state of __is_shut_down

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-07-26 Thread Марк Коренберг
Марк Коренберг socketp...@gmail.com added the comment: class ThreadedRPC(Thread, SimpleXMLRPCServer): def __init__(self): Thread.__init__(self) SimpleXMLRPCServer.__init__(self) # python bug workaround, which eliminate hang on test_exception

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: What do you think about this: https://bitbucket.org/jaraco/cpython-issue10639/changeset/ea63310dddce The patch is a little more intrusive than the Python 3 patch because Python 2.7 doesn't allow specifying the newline to use when writing a

[issue12641] Remove -mno-cygwin from distutils

2011-07-26 Thread Ruben Van Boxem
Ruben Van Boxem vanboxem.ru...@gmail.com added the comment: I can confirm the option has been removed. For those that don't want to believe a random person's comment on a bugtracker, here's the commit: http://repo.or.cz/w/official-gcc.git/commit/2637551aa9314c46cf4205d435ab5e8944e9ac8a The

[issue12629] HTMLParser silently stops parsing with malformed attributes

2011-07-26 Thread Kevin Stock
Kevin Stock teo...@gmail.com added the comment: A workaround is to call close() after feed(), which I supposed I should have done anyways. However, this does not resolve the issue that the two cases behave so differently. The code that causes the difference is lines 351-355 of parser.py,

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-26 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe I meant that 'python setup' works when the script is named 'setup'. Which is to say, python does not require scripts to have an extension, as someone had thought in writing a patch. --

[issue1626300] 'Installing Python Modules' does not work for Windows

2011-07-26 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I do not know why the msi installer *silently* fails to properly register extensions even when I leave that checked, or how common that it. I have never looked into the issue more because for development, I prefer to run from an IDLE window

[issue3526] Customized malloc implementation on SunOS and AIX

2011-07-26 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Fortunately, it is easy to solve by defining the following in dlmalloc: #define HAVE_MORECORE 0 I was expecting this answer ;-) Here's a quick demo, on a Linux box: cf@neobox:~/cpython$ ./python Tools/pybench/pybench.py -n 1

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-07-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: [...] # note, thread may die in any time! regardles of isAlive() # if thread dead before calling serve_forever(), will hang here without a workaround rpc.shutdown() # from xmlrpcservr. Why do you say it hangs? It doesn't hang,

[issue10639] reindent.py should not convert newlines

2011-07-26 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: -pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10639 ___ ___ Python-bugs-list mailing

[issue9968] Let cgi.FieldStorage have named uploaded file

2011-07-26 Thread phep
phep patrice.pil...@teletopie.net added the comment: Hi, This was test code :-/. It was not under revision control and unfortunately, as I feared then, it turned out I had to stop working shortly after my last message on the low-priority project that made me report this issue . Yet, I have a

[issue12464] tempfile.TemporaryDirectory.cleanup follows symbolic links

2011-07-26 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: If someone suggests how to test for the Windows version, I'll update the patch, also to remove the issue reference from the code. Well, I don't know Windows, but there's platform.win32_ver()

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-07-26 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8746 ___ ___ Python-bugs-list mailing list

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-07-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ca236138f0ce by Ned Deily in branch '2.7': Issue #8746: Use tempfile module to get tempdir and randomize the http://hg.python.org/cpython/rev/ca236138f0ce New changeset 4e4554aa1453 by Ned Deily in branch '3.2':

[issue12464] tempfile.TemporaryDirectory.cleanup follows symbolic links

2011-07-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: You can simply use support.skip_unless_symlink(). Charles-François Natali neolo...@free.fr added the comment: If someone suggests how to test for the Windows version, I'll update the patch, also to remove the issue reference from the code.

[issue12642] 2.6.6 documentation of the open() built-in function

2011-07-26 Thread Jann Eike Kruse
New submission from Jann Eike Kruse pyt...@jannkruse.de: The documentation page http://docs.python.org/release/2.6.6/library/functions.html?highlight=open#open describes the open() built-in function as open(filename[, mode[, bufsize]]) but the Python interpreter complains: Python

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-07-26 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: When you join a thread which hasn't been started, you get an exception, not a deadlock. When you join a newly-created queue, it doesn't wait until an item is submitted to the queue. But honestly I don't really care, since it's such a

[issue12063] tokenize module appears to treat unterminated single and double-quoted strings inconsistently

2011-07-26 Thread Dustin Haffner
Changes by Dustin Haffner nit...@gmail.com: -- nosy: +dhaffner ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12063 ___ ___ Python-bugs-list

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-07-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: When you join a thread which hasn't been started, you get an exception, not a deadlock. But we don't have a deadlock here: another thread could perfectly well call serve_forever() in the meantime and shutdown() should then return after having

[issue9968] Let cgi.FieldStorage have named uploaded file

2011-07-26 Thread phep
phep patrice.pil...@teletopie.net added the comment: Oh, my... As we are working with python2.6 on our servers, I overlooked the fact that tempfile.NamedTemporaryFile was already used in python 3 (fixed in r57595, with not many explanations though). Yet, the problem with short length files

[issue9968] Let cgi.FieldStorage have named uploaded file

2011-07-26 Thread phep
phep patrice.pil...@teletopie.net added the comment: I got my head in a brown paper bag This is obviously not fixed... except in a locally edited checkout :-( Please be kind to the tired me, forget my last message and don't talk about this to my boss, will you ? It's closing time,

[issue12642] Python2 documentation of the open() built-in function

2011-07-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The docs are correct in Python3. The docs for Python2 are not *wrong*, since they indicate only positional parameters and if you use positional parameters it works as documented. (I'm surprised that using keyword arguments works, but I

[issue12607] subprocess(stdout=..., stderr=sys.stdout) breaks stderr for child

2011-07-26 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: i12607_v2.patch: the test fails if Python is compiled with pydebug. Add err = support.strip_python_stderr(err) before self.assertEqual(err, berr) in test_subprocess.py to fix the failure. -- versions: -Python 2.6, Python

[issue1813] Codec lookup failing under turkish locale

2011-07-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: The Fedora bot fails because here ... locale.setlocale(locale.LC_CTYPE, loc) loc = ('tr_TR', 'ISO8859-9'), and apparently setlocale can only handle tr_TR, but not tr_TR.ISO8859-9: 144 if (locale) { 145 /* set

[issue1813] Codec lookup failing under turkish locale

2011-07-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Stefan Krah rep...@bugs.python.org wrote: (gdb) p result = setlocale(category, tr_TR.ISO8859-9) $8 = 0x0 (gdb) p result = setlocale(category, tr_TR) $9 = 0x96d770 tr_TR (gdb) p locale $10 = 0x70f6a5b0 tr_TR.ISO8859-9 (gdb)

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-07-26 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum) raises a OverflowError('signed integer is greater than maximum') on a 64 bits system. select.kevent() constructor parses the 4th argument using i (an int): sys.maxsize doesn't

[issue1813] Codec lookup failing under turkish locale

2011-07-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Stefan Krah rep...@bugs.python.org wrote: (gdb) p result = setlocale(category, tr_TR.ISO8859-9) $8 = 0x0 (gdb) p result = setlocale(category, tr_TR) $9 = 0x96d770 tr_TR (gdb) p locale $10 = 0x70f6a5b0 tr_TR.ISO8859-9 (gdb)

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-07-26 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: OpenBSD has a patch for this issue: http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/python/2.7/patches/patch-Modules_selectmodule_c -- ___ Python tracker rep...@bugs.python.org

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-07-26 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: patch-Modules_selectmodule_c is not enough to fix kqueue_event_init(): it doesn't catch overflow error on the ident attribute. -- ___ Python tracker rep...@bugs.python.org

[issue12480] urllib2 doesn't use proxy (fieddler2), configed the proxy with ProxyHandler

2011-07-26 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12480 ___

[issue1813] Codec lookup failing under turkish locale

2011-07-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Yes, it's a bug. This works: #include stdio.h #include locale.h int main(void) { char *s; printf(%s\n, setlocale(LC_CTYPE, tr_TR.ISO8859-9)); printf(%s\n, setlocale(LC_CTYPE, NULL)); s = setlocale(LC_CTYPE,

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-26 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- hgrepos: +48 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12614 ___ ___ Python-bugs-list mailing

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-26 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- hgrepos: +49 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12614 ___ ___ Python-bugs-list mailing

[issue1602133] non-framework python fails to define os.environ properly

2011-07-26 Thread Dan Colish
Dan Colish dcol...@gmail.com added the comment: I can also confirm this patch is required to build py2cairo on OSX with Python2.7.2 when --enable-framework is not used. -- nosy: +dcolish ___ Python tracker rep...@bugs.python.org

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-26 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: My bad about the hg location, it was a private repo (for some reason this is the bitbucket default). I tried to remove the other repos, but for some reason this doesn't work. The right one is

[issue12576] urlib.request fails to open some sites

2011-07-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9eac48fbe21d by Senthil Kumaran in branch '3.2': Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header. http://hg.python.org/cpython/rev/9eac48fbe21d New

[issue12590] First line and cursor not visible when opening files

2011-07-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 73ae3729b8fe by Ned Deily in branch '2.7': Issue #12590: IDLE editor window now always displays the first line http://hg.python.org/cpython/rev/73ae3729b8fe New changeset 1c8aca41845c by Ned Deily in branch '3.2':

[issue12590] First line and cursor not visible when opening files

2011-07-26 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Thanks for the report and the cite. The problem appears to be a difference in behavior between Tk 8.5 and earlier versions of Tk and not a platform difference. The fix is to use that 'yview' method of Text instead of 'see'. That gives the expected

[issue12576] urlib.request fails to open some sites

2011-07-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d58b43fb9208 by Senthil Kumaran in branch '3.2': Correcting issue 12576 fix, which resulted in buildbot failures. http://hg.python.org/cpython/rev/d58b43fb9208 New changeset dcfce522723d by Senthil Kumaran in branch

[issue12590] First line and cursor not visible when opening files

2011-07-26 Thread Simon Forman
Simon Forman forman.si...@gmail.com added the comment: You're very welcome. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12590 ___ ___

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2011-07-26 Thread Matt Basta
Matt Basta bastaw...@gmail.com added the comment: The number of problems produced by this bug can be greatly reduced by adding a relatively small check to the parser. Currently, script and style tags call set_cdata_mode(), which sets self.interesting to HTMLParser.interesting_cdata. This is

[issue12642] Python2 documentation of the open() built-in function

2011-07-26 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12642 ___ ___ Python-bugs-list

[issue10854] Output .pyd name in error message of ImportError when DLL load fails

2011-07-26 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: How about something like this? ImportError moves from being a simple exception to a complex one, then adds a name and path attribute. In dynload_win.c where we try (and fail) to load C extensions, the name and path are set on the ImportError.

[issue12607] subprocess(stdout=..., stderr=sys.stdout) breaks stderr for child

2011-07-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1140b32747c9 by Ross Lagerwall in branch '3.2': Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is http://hg.python.org/cpython/rev/1140b32747c9 New changeset 943d323cb4b8 by Ross Lagerwall

[issue12642] Python2 documentation of the open() built-in function

2011-07-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5da7924c4775 by Ezio Melotti in branch '2.7': #12642: fix args names in open() doc. http://hg.python.org/cpython/rev/5da7924c4775 -- nosy: +python-dev ___ Python tracker

[issue12642] Python2 documentation of the open() built-in function

2011-07-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the report! -- nosy: +ezio.melotti resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10854] Output .pyd name in error message of ImportError when DLL load fails

2011-07-26 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: See also #1559549, which similarly adds attribute support to ImportError and covers some of the issues with using positional arguments to do so. Extending that approach to a path keyword argument as well should work nicely. --