[issue9598] untabify.py fails on files that contain non-ascii characters

2010-08-18 Thread Popa Claudiu
Popa Claudiu pcmantic...@gmail.com added the comment: Hello. As it seems, untabify.py opens the file using the builtin function open, making the call error-prone when encountering non-ascii character. The proper handling should be done by using open from codecs library, specifying the encoding

[issue9631] Python 2.7 installation issue for Linux Red Hat 4.1

2010-08-18 Thread Prakash Palanivel
Prakash Palanivel spprakash...@gmail.com added the comment: After complete the installation the below error message was displayed.Kindly check and revert. ./python -E ./setup.py install \ --prefix=/usr/local/python-2.7 \ --install-scripts=/usr/local/python-2.7/bin \

[issue5215] change value of local variable in debug

2010-08-18 Thread Markus Pröller
Markus Pröller mproel...@googlemail.com added the comment: Hello, I changed pdb.py to the file I added in the attachment (I just used the given patch pdb_cache_f_locals.patch) Then I created the following file: import pdb def function_1(number): stack_1 = number function_2(stack_1)

[issue5215] change value of local variable in debug

2010-08-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Ah, the patch is buggy; it was corrected with r71019 which indeed fixes up and down. You could try to apply this change to your local copy. Also consider upgrading to 2.7, where everything works as expected... --

[issue9631] Python 2.7 installation issue for Linux Red Hat 4.1

2010-08-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: What file system is this on? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9631 ___ ___

[issue9631] Python 2.7 installation issue for Linux Red Hat 4.1

2010-08-18 Thread Prakash Palanivel
Prakash Palanivel spprakash...@gmail.com added the comment: After Installed the following error was through: PYTHONPATH=/usr/local/Python-2.7/lib/python2.7 \ ./python -Wi -tt /usr/local/Python-2.7/lib/python2.7/compileall.py \ -d /usr/local/Python-2.7/lib/python2.7 -f \

[issue672656] securing pydoc server

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: This looks weird, a security issue with a low priority??? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue672656

[issue9631] Python 2.7 installation issue for Linux Red Hat 4.1

2010-08-18 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: spprakash, do the following, in your python2.7 checkout (or download): do make distclean ./configure make make install If there is any failure in make/make install of the above steps, please paste that error message and also provide the

[issue5215] change value of local variable in debug

2010-08-18 Thread Markus Pröller
Markus Pröller mproel...@googlemail.com added the comment: Okay, thanks for giving me the correct patch, but I still face the following problem (with the same code snippet): c:\tst_pdb.py(14)function_3() - print stack_3 (Pdb) l 9 function_3(stack_2) 10 11 def

[issue9433] regrtest.py -j 2 doesn't work on Windows: remove close_fds=True on Windows

2010-08-18 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: I can confirm that the patched regrtest runs ok on WinXP. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9433 ___

[issue8622] Add PYTHONFSENCODING environment variable

2010-08-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: Here you have a patch. It adds tests in test_sys. The tests are skipped on a non-ascii Python executable path because of #8611 (see #9425).

[issue5215] change value of local variable in debug

2010-08-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Right, this last problem still exists with 2.7 or 3.1. Please open a new tracker item for it, and let's close this one. -- ___ Python tracker rep...@bugs.python.org

[issue8622] Add PYTHONFSENCODING environment variable

2010-08-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The command line -h explanation is missing from the patch. done The documentation should mention that the env var is only read once; subsequent changes to the env var are not seen by Python I copied the PYTHONIOENCODING doc

[issue9632] Remove sys.setfilesystemencoding()

2010-08-18 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: sys.setfilesystemencoding() function is dangerous because it introduces a lot of inconsistencies: this function is unable to reencode all filenames in all objects (eg. Python is unable to find filenames in user objects or 3rd

[issue9632] Remove sys.setfilesystemencoding()

2010-08-18 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- keywords: +patch nosy: +Arfrever, lemburg, pitrou Added file: http://bugs.python.org/file18565/remove_sys_setfilesystemencoding.patch ___ Python tracker rep...@bugs.python.org

[issue8622] Add PYTHONFSENCODING environment variable

2010-08-18 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file18562/pythonfsencoding.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8622 ___

[issue8622] Add PYTHONFSENCODING environment variable

2010-08-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: To remove sys.setfilesystemencoding(), ... I will open a new issue done, issue #9632 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8622

[issue9633] pdb go stack up/down

2010-08-18 Thread Markus Pröller
New submission from Markus Pröller mproel...@googlemail.com: Hello, with python 2.7 I encounter the following problem: I have created the following sample script: import pdb def function_1(number): stack_1 = number function_2(stack_1) def function_2(number): stack_2 = number

[issue675976] mhlib does not obey MHCONTEXT env var

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: This won't happen directly as mhlib has been removed from py3k, but presumably the patch could be reworked to apply to the mailbox module where the MH class now lives. -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7

[issue678250] test_mmap failling on AIX

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closed as no response to msg81716. -- nosy: +BreamoreBoy resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678250

[issue678264] test_resource fails when file size is limited

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closed as no response to msg81850. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678264 ___

[issue683938] HTMLParser attribute parsing bug

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closed as fixed in r23322. -- nosy: +BreamoreBoy resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue683938

[issue9633] pdb go stack up/down

2010-08-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thank you for the report. I don’t know pdb much, but I assume you have checked the doc to make sure this is indeed a bug. Can you test it with 3.1 and 3.2 too? Bug tracker tip: You can find if a core developer is interested in a module in

[issue755660] allow HTMLParser to continue after a parse error

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Attached a patch for py3k where the file name has changed. Doc changes could be based on the comment added to the error method in the patch. I don't think a unit test is needed but could easily be persuaded otherwise. --

[issue9631] Python 2.7 installation issue for Linux gcc-4.1.0-3 (Fedora Core 5?)

2010-08-18 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: (BTW, the versioning seems slightly misleading: (Red Hat 4.1.0-3) refers to the version of GCC, not of the operating system. You appear to be running gcc-4.1.0-3, which I believe was shipped in Fedora Core 5. Updating title metadata of the

[issue694374] Recursive regular expressions

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closing because of quote from msg83993 Another feature request that I've decided not to consider any further is recursive regular expressions. There are other tools available for that kind of thing, and I don't want the re module to go

[issue706263] print raises exception when no console available

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Works fine with pythonw on 2.6 and 2.7. -- nosy: +BreamoreBoy resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue706263

[issue502236] Asynchronous exceptions between threads

2010-08-18 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: I'll close this issue, then. Maybe something fancier needs to be built atop the AsyncExc() function to allow a single thread to terminate all other threads, but unless someone actually presents a current use case (or a PEP), there seems little to

[issue706263] print raises exception when no console available

2010-08-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: No, nothing changed in this aspect since python 2.2. With 2.7, I get the same error.txt file containing the Bad file descriptor message. -- resolution: out of date - status: closed - open

[issue1524938] PEP MemoryError with a lot of available memory gc not called

2010-08-18 Thread Itai i
Itai i itai...@gmail.com added the comment: Hi all, I'm joining Mark's assertion - this is a real issue for me too. I've stumbled into this problem too. I have a numpy/scipy kind of application (about 6000+ lines so far) which needs to allocate alot of memory for statistics derived from real

[issue2521] ABC caches should use weak refs

2010-08-18 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Benjamin, Thanks for the feedback. Since you only commented on the test case, may I assume that the fix itself looked good to you? I will work on revising the test case based on your comments. Since I ran into the bug

[issue706406] fix bug #685846: raw_input defers signals

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Can this still be reproduced on an appropriate box or can it be closed or what? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue706406

[issue2521] ABC caches should use weak refs

2010-08-18 Thread Daniel Stutzbach
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com: -- components: +Library (Lib) -Interpreter Core versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2521 ___

[issue708007] TelnetPopen3, TelnetBase, Expect split

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Is there any interest in seeing the patch updated for py3k? Any comments from Windows users since Pexpect uses pty which is Linux only? -- nosy: +BreamoreBoy stage: - patch review type: - feature request versions: +Python 3.2

[issue706406] fix bug #685846: raw_input defers signals

2010-08-18 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: I seems this has been fixed already, at least on my python 2.7 on linux. -- nosy: +ysj.ray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue706406

[issue1524938] PEP MemoryError with a lot of available memory gc not called

2010-08-18 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: How about calling gc.collect() explicitly in the loop? -- nosy: +ysj.ray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1524938 ___

[issue9633] pdb go stack up/down

2010-08-18 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The problem here is that changes in the locals are only saved back to the frame when leaving the trace function, and up/down don't do that. This could be fixed by making Pdb.curframe_locals a dictionary for all visited frames while interaction

[issue706263] print raises exception when no console available

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: @Amaury I tested with Windows Vista and the latest 2.6 and 2.7 maintainance releases, what did you use? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue706263

[issue2521] ABC caches should use weak refs

2010-08-18 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Attached is a new test case, based on Benjamin's comments. -- Added file: http://bugs.python.org/file18567/leak_test2.patch ___ Python tracker rep...@bugs.python.org

[issue713169] test_pty fails on HP-UX and AIX when run after test_openpty

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closed as suggested in msg81496. -- nosy: +BreamoreBoy resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue713169

[issue730467] Not detecting AIX_GENUINE_CPLUSPLUS

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Can an AIX user state whether or not this is still an issue. The current patch is a one liner. A patch that looks in all the known directories was promised but never delivered. -- nosy: +BreamoreBoy stage: - patch review type:

[issue731991] find correct socklen_t type

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closing as no reply to msg110333. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue731991

[issue1524938] PEP MemoryError with a lot of available memory gc not called

2010-08-18 Thread Itai
Itai itai...@gmail.com added the comment: Sure, that's what i'll do for now. Its an ok workaround for me, I was just posting to support the notion that its a bug (lets call it usability bug) and something that people out there do run into. There's also a scenerio where you couldn't use this

[issue8781] 32-bit wchar_t doesn't need to be unsigned to be usable (I think)

2010-08-18 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Attached is a patch implementing the change agreed upon in the earlier discussion. This will allow wchar_t - Py_UNICODE conversions to use memcpy on systems where wchar_t and Py_UNICODE have the same size but different signs

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: A small simple patch that I see no problems with. -- nosy: +BreamoreBoy stage: - patch review type: - feature request versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___

[issue747320] rfc2822 formatdate functionality duplication

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Does this need to be addressed or can it be closed as out of date or what? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue747320

[issue748843] Let Email.Utils.parsedate use last 3 timetuple items

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closed as no reply to msg81501. -- nosy: +BreamoreBoy resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue748843

[issue8781] 32-bit wchar_t doesn't need to be unsigned to be usable (I think)

2010-08-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Daniel Stutzbach wrote: Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Attached is a patch implementing the change agreed upon in the earlier discussion. This will allow wchar_t - Py_UNICODE conversions to use

[issue749722] isinstance and weakref proxies.

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closed as no reply to msg109729. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue749722

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2010-08-18 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Can someone post a script demonstrating the proposed feature? Is clones of clones issue mentioned by OP resolved in the latest patch? Given that nobody commented on this issue for 7 years, I am skeptical about the

[issue755670] improve HTMLParser attribute processing regexps

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: There are messages both for and against the patch which contains a unit test. Can we have a statement from a knowledgeable HTML person as to whether the patch should be accepted or rejected. -- nosy: +BreamoreBoy stage: unit

[issue8781] 32-bit wchar_t doesn't need to be unsigned to be usable (I think)

2010-08-18 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Thanks. I dug into that a little just now, and it turns out to happen automatically. If ./configure doesn't define HAVE_WCHAR_H then it also will not define SIZEOF_WCHAR_T. If SIZEOF_WCHAR_T is not defined, the preprocessor

[issue761888] popen2.Popen3 and popen2.Popen4 leaks filedescriptors

2010-08-18 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue761888 ___

[issue816059] popen2 work, fixes bugs 768649 and 761888

2010-08-18 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue816059 ___

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2010-08-18 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Is anyone still interested in moving this forward? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100942 ___

[issue708007] TelnetPopen3, TelnetBase, Expect split

2010-08-18 Thread Guido van Rossum
Changes by Guido van Rossum gu...@python.org: -- nosy: -gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue708007 ___ ___ Python-bugs-list

[issue762920] API Functions for PyArray

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closed as no reply to msg106638. -- nosy: +BreamoreBoy resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue762920

[issue766910] fix one or two bugs in trace.py

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Is there any interest in this issue? -- nosy: +BreamoreBoy type: - behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.3 ___ Python tracker rep...@bugs.python.org

[issue749722] isinstance and weakref proxies.

2010-08-18 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: It would be possible now, though perhaps inadvisable, to proxy isinstance and issubclass. -- nosy: +benjamin.peterson resolution: out of date - status: closed - open versions: +Python 3.2 ___

[issue762920] API Functions for PyArray

2010-08-18 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: out of date - rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue762920 ___

[issue8781] 32-bit wchar_t doesn't need to be unsigned to be usable (I think)

2010-08-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Daniel Stutzbach wrote: Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Thanks. I dug into that a little just now, and it turns out to happen automatically. If ./configure doesn't define HAVE_WCHAR_H then it

[issue767645] incorrect os.path.supports_unicode_filenames

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: There are at least three messages stating that os.path.supports_unicode_filenames should go so can someone please provide a definitive statement regarding its future. -- nosy: +BreamoreBoy

[issue775321] plistlib error handling

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closing as no reply to msg110335. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue775321

[issue783528] Inconsistent results with super and __getattribute__

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closed as no response to msg81870. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue783528 ___

[issue786827] IDLE starts with no menus (Cygwin)

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Is this still an issue with later versions of Python and Cygwin? -- nosy: +BreamoreBoy stage: unit test needed - needs patch versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python

[issue788931] resolving relative paths for external entities with xml.sax

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I'll close in a couple of weeks unless someone has a good reason to keep it open. -- nosy: +BreamoreBoy status: open - pending ___ Python tracker rep...@bugs.python.org

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Kelly Lucas
New submission from Kelly Lucas kdlu...@gmail.com: I've seen quite a few people requesting to add a timeout value to the Queue.join() method, as it seems like a nice feature to have when waiting for queue's to finish. Please add a feature so that Queue.join() will issue a

[issue793069] Add --remove-source option

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I don't see this as particularly useful but other opinions are welcome. -- nosy: +BreamoreBoy versions: -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue793069] Add --remove-source option

2010-08-18 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: New features go into distutils2, not distutils. I’m -0 on this one. -- components: +Distutils2 -Distutils versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.1 ___ Python tracker

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Kelly Lucas
Changes by Kelly Lucas kdlu...@gmail.com: -- versions: +Python 3.1 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9634 ___ ___

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- stage: - needs patch type: - feature request versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9634 ___

[issue592703] HTTPS does not handle pipelined requests

2010-08-18 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: This needs investigation. Don't close. -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue592703 ___

[issue798520] os.popen with invalid mode differs on Windows and POSIX

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closed as os.popen deprecated in favour of subprocess.popen. -- nosy: +BreamoreBoy resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1524938] PEP MemoryError with a lot of available memory gc not called

2010-08-18 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Anybody *really* interested in this issue: somebody will need to write a PEP, get it accepted, and provide an implementations. Open source is about scratching your own itches: the ones affected by a problems are the ones which are also

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Can you provide links to the other requests? This seems to be at odds with the whole premise of what Queue.join() is trying to do (wait until all worker threads have marked their tasks as done). -- assignee: -

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: FWIW, if you want to do other tasks in a main thread and need to check on the status task completion in worker threads, you can already loop on: while q.unfinished_tasks: do_other_fun_stuff() q.join()

[issue1524938] PEP MemoryError with a lot of available memory gc not called

2010-08-18 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file18568/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1524938 ___

[issue8622] Add PYTHONFSENCODING environment variable

2010-08-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: The command line -h explanation is missing from the patch. done The documentation should mention that the env var is only read once; subsequent

[issue798876] windows sys.path contains nonexistant directory

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Still an issue in 2.6, 2.7, 3.1 and 3.2. -- nosy: +BreamoreBoy versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue798876

[issue853507] socket.recv() raises MemoryError exception (WindowsXP ONLY)

2010-08-18 Thread geremy condra
geremy condra debat...@gmail.com added the comment: I can sporadically reproduce this on Linux as well, repeatedly passing values larger than 2**20 to recv. Doesn't seem to happen with regularity, but I have better than 11Gb of unused RAM on hand. Is there a good reason for this? --

[issue802310] tkFont may reuse font names

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Patch is really simple and looks ok to me, can we get this committed please. -- nosy: +BreamoreBoy stage: - patch review type: - behavior versions: +Python 2.7, Python 3.1, Python 3.2 ___

[issue672656] securing pydoc server

2010-08-18 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: As the pydoc server advertises that it is running from localhost in both CLI and GUI, it is best to bind the socket to 'localhost' instead of '' (which would bind it to all the interfaces). So, a simple fix for this issue, which will

[issue805194] Inappropriate error received using socket timeout

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I've tried reproducing this on Windows Vista but sorry I can't make any sense out of it. I've assumed that a unit test can be based around code given in msg18142. -- components: +Library (Lib) -Windows nosy: +BreamoreBoy stage:

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Kelly Lucas
Kelly Lucas kdlu...@gmail.com added the comment: Here are a few that I saw: http://stackoverflow.com/questions/1564501/add-timeout-argument-to-pythons-queue-join http://www.eggheadcafe.com/software/aspnet/36145181/max-time-threads.aspx

[issue808164] socket.close() doesn't play well with __del__

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Can someone reply to Daniel Stutzbach's query in msg104541, thanks. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue808164

[issue809846] distutils/bdistwin32 doesn't clean up RO files properly

2010-08-18 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue809846 ___

[issue1545463] New-style classes fail to cleanup attributes

2010-08-18 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Reopened because the history shows comments and patches months after it was set to closed and won't fix, see msg61886. -- nosy: +BreamoreBoy resolution: wont fix - status: closed - open ___

[issue1545463] New-style classes fail to cleanup attributes

2010-08-18 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: This is superseded by issue812369, but as a stop-gap measure, I don't see any downside of applying gc-import.patch. -- assignee: - belopolsky ___ Python tracker

[issue9433] regrtest.py -j 2 doesn't work on Windows: remove close_fds=True on Windows

2010-08-18 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, I've committed the change in r84176 (py3k) and r84178 (2.7). Thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: We already have an optional timeout on threading.Thread.join(), which I suppose means that people need/want that feature. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue5737] add Solaris errnos

2010-08-18 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I don't have a Solaris machine to test, but the patch is straightforward enough. I've committed it in r84179. Thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed

[issue809846] bdist_wininst doesn't clean up read-only files in build dir

2010-08-18 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- title: distutils/bdistwin32 doesn't clean up RO files properly - bdist_wininst doesn't clean up read-only files in build dir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue809846

[issue8622] Add PYTHONFSENCODING environment variable

2010-08-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Commited to 3.2 as r84182. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8622 ___

[issue9433] regrtest.py -j 2 doesn't work on Windows: remove close_fds=True on Windows

2010-08-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: No, thank *you*, Antoine :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9433 ___

[issue8423] tiger buildbot: test_pep277 failures

2010-08-18 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: #8207 was the same issue and r79426 (for trunk and r79426 in py3k) was supposed to fix it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8423

[issue808164] socket.close() doesn't play well with __del__

2010-08-18 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: I suspect that it's not possible. I'm uploading patches that fix the .close method to avoid referencing globals that might be None during interpreter shutdown. Since the .close method has changed significantly in py3k, I'm

[issue808164] socket.close() doesn't play well with __del__

2010-08-18 Thread Daniel Stutzbach
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com: -- keywords: +needs review, patch stage: unit test needed - patch review Added file: http://bugs.python.org/file18570/issue808164-27.patch ___ Python tracker rep...@bugs.python.org

[issue808164] socket.close() doesn't play well with __del__

2010-08-18 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Here is the py3k version of the patch -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue808164 ___

[issue808164] socket.close() doesn't play well with __del__

2010-08-18 Thread Daniel Stutzbach
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com: Added file: http://bugs.python.org/file18571/issue808164-py3k.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue808164 ___

[issue9634] Add timeout parameter to Queue.join()

2010-08-18 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: One of the provided links is duplicate (repost from StackOverflow). None of the links offer use cases which can be used to inform the design (i.e. is this the correct approach, should a timeout raise a RuntimeError like

  1   2   >