ANN: pyparsing 1.5.6 released!

2011-07-01 Thread Paul McGuire
After about 10 months, there is a new release of pyparsing, version 1.5.6. This release contains some small enhancements, some bugfixes, and some new examples. Most notably, this release includes the first public release of the Verilog parser. I have tired of restricting this parser for

Re: treeviewcontrol in tkinter.ttk

2011-07-01 Thread Ned Deily
In article 4e0cad83$0$6583$9b4e6...@newsspool3.arcor-online.net, Wolfgang Meiners wolfgangmeiner...@web.de wrote: when i type the following code under python3, version 3.2 using osx 10.6.8: [...] You might want to ask your question on the Tkinter list and/or possibly the Tcl Mac list.

urllib, urlretrieve method, how to get headers?

2011-07-01 Thread Даниил Рыжков
Hello, everyone! How can I get headers with urlretrieve? I want to send request and get headers with necessary information before I execute urlretrieve(). Or are there any alternatives for urlretrieve()? -- Regards, Daniil -- http://mail.python.org/mailman/listinfo/python-list

Re: how to call a function for evry 10 secs

2011-07-01 Thread Ulrich Eckhardt
Ulrich Eckhardt wrote: I'll take this to the developers mailinglist and see if they consider the behaviour a bug. Filed as bug #12459. Uli -- Domino Laser GmbH Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932 -- http://mail.python.org/mailman/listinfo/python-list

Re: Trying to chain processes together on a pipeline

2011-07-01 Thread Peter Otten
Andrew Berg wrote: Okay, so I've refactored those except WindowsError blocks into calls to a function and fixed the os.devnull bug, but I still can't get the triple chain working. I added calls to ffmpeg_proc.stdout.close() and sox_proc.stdout.close(), but I really am not sure where to put

Re: urllib, urlretrieve method, how to get headers?

2011-07-01 Thread Chris Rebert
On Fri, Jul 1, 2011 at 12:03 AM, Даниил Рыжков daniil...@gmail.com wrote: Hello, everyone! How can I get headers with urlretrieve? I want to send request and get headers with necessary information before I execute urlretrieve(). Or are there any alternatives for urlretrieve()? You can use

Re: urllib, urlretrieve method, how to get headers?

2011-07-01 Thread Peter Otten
Даниил Рыжков wrote: How can I get headers with urlretrieve? I want to send request and get headers with necessary information before I execute urlretrieve(). Or are there any alternatives for urlretrieve()? It's easy to do it manually: import urllib2 Connect to website and inspect

Re: Trying to chain processes together on a pipeline

2011-07-01 Thread Andrew Berg
On 2011.07.01 02:26 AM, Peter Otten wrote: I can't reproduce your setup, but I'd try using communicate() instead of wait() and close(). I don't really know what communicate() does. The docs don't give much info or any examples (that explain communicate() anyway), and don't say when

Re: Trying to chain processes together on a pipeline

2011-07-01 Thread Chris Rebert
On Fri, Jul 1, 2011 at 1:02 AM, Andrew Berg bahamutzero8...@gmail.com wrote: On 2011.07.01 02:26 AM, Peter Otten wrote: I can't reproduce your setup, but I'd try using communicate() instead of wait() and close(). I don't really know what communicate() does. Read data from stdout and stderr,

Re: urllib, urlretrieve method, how to get headers?

2011-07-01 Thread Даниил Рыжков
Thanks, everyone! Problem solved. -- Regards, Daniil -- http://mail.python.org/mailman/listinfo/python-list

Re: urllib, urlretrieve method, how to get headers?

2011-07-01 Thread Даниил Рыжков
Hello again! Another question: urlopen() reads full file's content, but how can I get page by small parts? Regards, Daniil -- http://mail.python.org/mailman/listinfo/python-list

FOX Toolkit

2011-07-01 Thread Gisle Vanem
In http://docs.python.org/faq/gui.html I came across FOX Toolkit and the binding FXPy. The latter, it seems is no longer officially supported (hasn't for the last 7-8 years). So my question. Has anybody to your knowledge tweaked FOX and FXPy to work with Python 2.7? --gv --

Re: Using decorators with argument in Python

2011-07-01 Thread John Posner
On 2:59 PM, Ethan Furman wrote: snip def __call__(self, func=None): if func is None: return self._call() self.func = func return self def _call(self): print(\n + self.char * 50) self.func() print(self.char * 50 + '\n')

Re: how to call a function for evry 10 secs

2011-07-01 Thread Rune Strand
from threading import Timer def Func_to_call: do_stuff() my_timer = Timer(10, Func_to_call) my_timer.start() -- http://mail.python.org/mailman/listinfo/python-list

An ODBC interface for Python 3?

2011-07-01 Thread kozmikyak
Does anyone here have a Python 3 environment that can access MSSQL using SQLAlchemy, running on a Windows 7 box? If so, I would like some assistance making it happen. The last post on this was mid-2010. It was mentioned that pyodbc had a Python 3 branch. I've been unable to get it compiled and

Re: urllib, urlretrieve method, how to get headers?

2011-07-01 Thread Kushal Kumaran
On Fri, Jul 1, 2011 at 2:23 PM, Даниил Рыжков daniil...@gmail.com wrote: Hello again! Another question: urlopen() reads full file's content, but how can I get page by small parts? Set the Range header for HTTP requests. The format is specified here:

Re: urllib, urlretrieve method, how to get headers?

2011-07-01 Thread Chris Rebert
On Fri, Jul 1, 2011 at 1:53 AM, Даниил Рыжков daniil...@gmail.com wrote: Hello again! Another question: urlopen() reads full file's content, but how can I get page by small parts? I don't think that's true. Just pass .read() the number of bytes you want to read, just as you would with an

Re: ANN: pyparsing 1.5.6 released!

2011-07-01 Thread Waldek M.
Dnia Thu, 30 Jun 2011 23:09:18 -0700 (PDT), Paul McGuire napisał(a): After about 10 months, there is a new release of pyparsing, version 1.5.6. This release contains some small enhancements, some bugfixes, and some new examples. Thanks! That is great news. I'm not using pyparsing right now,

Re: Enhanced dir() function

2011-07-01 Thread Tim Chase
On 06/30/2011 11:29 PM, Steven D'Aprano wrote: The dir() function is designed for interactive use, inspecting objects for the names of attributes and methods. Here is an enhanced version that allows you to pass a glob to filter the names you see: Comments and improvements welcome. Having not

Re: Enhanced dir() function

2011-07-01 Thread Ethan Furman
Tim Chase wrote: If it came in as an effortless (i.e. O(1) where I do it once and never again; not an O(n) where n=the number of times I invoke Python) default replacement for dir(), I'd reach for it a lot more readily. I seem to recall there's some environment-var or magic file-name that

Re: Enhanced dir() function

2011-07-01 Thread Steven D'Aprano
Tim Chase wrote: On 06/30/2011 11:29 PM, Steven D'Aprano wrote: The dir() function is designed for interactive use, inspecting objects for the names of attributes and methods. Here is an enhanced version that allows you to pass a glob to filter the names you see: Comments and improvements

Nested/Sub Extensions in Python

2011-07-01 Thread H Linux
Dear all, I am currently fighting with a problem writing a set of Python extensions in C. I want to structure the whole package (here called smt for sub-module test) into different sub-modules, e.g. according to this layout: smt.foo.func() I can only build a module import foo print

How to get a dateiled process information on windows?

2011-07-01 Thread Leandro Ferreira
I need to write an application that monitors the memory consumption of a process, there is some library that facilitates this work? I searched on google found nothing more interesting. Thanks in advance -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get a dateiled process information on windows?

2011-07-01 Thread Tim Golden
On 01/07/2011 21:06, Leandro Ferreira wrote: I need to write an application that monitors the memory consumption of a process, there is some library that facilitates this work? I searched on google found nothing more interesting. Have a look at WMI TJG --

Does anyone know of a python tapi module

2011-07-01 Thread Alister Ware
The subject probably say is all but to elaborate. I am looking for a way to communicate with a tapi driver for a PBX so I can experiment with creating some CTI (Computer Telephony Integration) software. -- -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get a dateiled process information on windows?

2011-07-01 Thread Christian Heimes
Am 01.07.2011 22:06, schrieb Leandro Ferreira: I need to write an application that monitors the memory consumption of a process, there is some library that facilitates this work? I searched on google found nothing more interesting. Have a look at psutil http://code.google.com/p/psutil/ . It

Re: Nested/Sub Extensions in Python

2011-07-01 Thread Carl Banks
On Friday, July 1, 2011 1:02:15 PM UTC-7, H Linux wrote: Once I try to nest this, I cannot get the module to load anymore: import smt.bar Traceback (most recent call last): File stdin, line 1, in module ImportError: No module named bar [snip] PyMODINIT_FUNC initbar(void) {

Re: urllib, urlretrieve method, how to get headers?

2011-07-01 Thread Даниил Рыжков
Thanks, everyone! Problem solved. -- Regards, Daniil -- http://mail.python.org/mailman/listinfo/python-list

Re: Nested/Sub Extensions in Python

2011-07-01 Thread Corey Richardson
Excerpts from H Linux's message of Fri Jul 01 16:02:15 -0400 2011: Dear all, I am currently fighting with a problem writing a set of Python extensions in C. If you haven't seen it yet, Cython is a *very* nice tool for writing C extensions. http://cython.org/ -- Corey Richardson Those who

subtle error slows code by 10x (builtin sum()) - replace builtin sum without using import?

2011-07-01 Thread bdb112
First a trap for new players, then a question to developers Code accelerated by numpy can be slowed down by a large factor is you neglect to import numpy.sum . from timeit import Timer frag = 'x=sum(linspace(0,1,1000))' Timer(frag ,setup='from numpy import linspace').timeit(1000) # 0.6 sec

Re: subtle error slows code by 10x (builtin sum()) - replace builtin sum without using import?

2011-07-01 Thread Albert Hopkins
On Friday, July 1 at 19:17 (-0700), bdb112 said: Question: Can I replace the builtin sum function globally for test purposes so that my large set of codes uses the replacement? The replacement would simply issue warnings.warn() if it detected an ndarray argument, then call the original

Re: Is the Usenet to mailing list gateway borked?

2011-07-01 Thread TP
On Thu, Jun 30, 2011 at 11:41 AM, Thomas 'PointedEars' Lahn pointede...@web.de wrote: Thomas Guettler wrote: On 30.06.2011 03:24, Thomas 'PointedEars' Lahn wrote: Andrew Berg wrote: […] As for your question in the Subject, I do not know since I am reading the newsgroup. Therefore,

Re: Is the Usenet to mailing list gateway borked?

2011-07-01 Thread Chris Angelico
On Fri, Jul 1, 2011 at 8:33 PM, TP wing...@gmail.com wrote: Not sure if this is relevant. I use mail.google.com to follow mailing lists and a large proportion of python-list traffic ends up in my gmail spam folder for some reason? Set a filter (you can Filter messages like this) that says

Re: subtle error slows code by 10x (builtin sum()) - replace builtin sum without using import?

2011-07-01 Thread Chris Torek
In article f6dbf631-73a9-485f-8ada-bc7376ac6...@h25g2000prf.googlegroups.com bdb112 boyd.blackw...@gmail.com wrote: First a trap for new players, then a question to developers Code accelerated by numpy can be slowed down by a large factor is you neglect to import numpy.sum . from timeit import

[issue12455] urllib2 forces title() on header names, breaking some requests

2011-07-01 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: AFAIR, that capitalize part is somewhere a requirement in RFC, if the server did not behave in proper manner, it may not be a good idea for the client to change (or be permissive the flag). -- nosy: +orsenthil

[issue12455] urllib2 forces title() on header names, breaking some requests

2011-07-01 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Sorry, not Capitalize, but the Title part. One can some bugs which lead to this change in the urllib2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12455

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread Ulrich Eckhardt
New submission from Ulrich Eckhardt eckha...@satorlaser.com: For reference, see the thread on the users' mailinglist/newsgroup from 2011-06-29 how to call a function for evry 10 seconds and the thread on the developers' mailinglist from 2011-06-30 time.sleep(-1) behaviour. The problem is how

[issue12450] Use the Grisu algorithms to convert floats to strings

2011-07-01 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: [Amaury] It would be interesting to see if it is better/faster than the current dtoa. I agree that it would be interesting to compare. [Eric] maybe we can say we we can live with 99.5% shortest repr coverage Please no! As you say, we'd

[issue12457] type() returns incorrect type for nested classes

2011-07-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Inner classes can't be pickled (see the pickle docs for what can be pickled). Whether or not there is a bug in the repr of the inner class is an interesting question. -- nosy: +r.david.murray type: crash - behavior

[issue12455] urllib2 forces title() on header names, breaking some requests

2011-07-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Quoting http://tools.ietf.org/html/rfc2068#section-4.2: Field names are case-insensitive. Which is only logical, since they are modeled on email headers, and email header names are case insensitive. So, the server in question is

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger nosy: +rhettinger priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12459 ___

[issue12450] Use the Grisu algorithms to convert floats to strings

2011-07-01 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I concur with Mark. This is a very challenging area and no change would be warranted without keeping the current accuracy guarantees, definitive speed improvement, extensive tests, and consideration of the impact on users of

[issue12442] shutil.disk_usage()

2011-07-01 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Agreed. New patch removes the percentage and fixes computations on posix as recommended by Charles-François: free = st.f_bavail * st.f_bsize total = st.f_blocks * st.f_frsize used = (total - st.f_bfree * st.f_bsize) -- Added

[issue11197] information leakage with SimpleHTTPServer

2011-07-01 Thread Huzaifa Sidhpurwala
Huzaifa Sidhpurwala sidhpurwala.huza...@gmail.com added the comment: It seems python was being blamed for what is essentially the fault of lynx. The following would translate into browsing files locally from the system and not from the web: lynx

[issue12450] Use the Grisu algorithms to convert floats to strings

2011-07-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Agreed. If some volunteer wants to work on it, I suggest to make an extension module first, so that everybody can try and compare with the current routines. -- ___ Python tracker

[issue11197] information leakage with SimpleHTTPServer

2011-07-01 Thread Huzaifa Sidhpurwala
Huzaifa Sidhpurwala sidhpurwala.huza...@gmail.com added the comment: This should have been lynx localhost:8000/../../../../../../../../etc/passwd v/s lynx http://localhost:8000/../../../../../../../../etc/passwd -- ___ Python tracker

[issue12460] SocketServer.shutdown() does not have timeout=None parameter

2011-07-01 Thread Марк Коренберг
New submission from Марк Коренберг socketp...@gmail.com: Suppose i'm trying to correctly terminate thread with socketserver during application termination. I do not want to wait too long (also do not want to hang), I want to protect against long-lived operations in SimpleServer so something

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I think that time.sleep() should behave as select.select() (issue #11757, commit 3982be773b54) and signal.sigtimedwait(): raise a ValueError if the timeout is negative. A good reason to always raise an error is that floatsleep()

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I agree with the ValueError suggestion. Since it would slightly change existing behaviour, it can only be done in a feature release (3.3). According to Google Code Search, deliberate uses of sleep(-1) are almost non-existent:

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: According to Google Code Search, deliberate uses of sleep(-1) are almost non-existent: The search gives two results, in pycaf and a plone installer (in compilezpy.py). I don't know what is the expected behaviour: infinite sleep?

[issue12461] it's not clear how the shutil.copystat() should work on symlinks

2011-07-01 Thread Марк Коренберг
New submission from Марк Коренберг socketp...@gmail.com: According to http://hg.python.org/cpython/file/588fe0fc7160/Lib/shutil.py it uses utimes(), stat() ans so on, For some people, it's preferable to use lutimes() and lstat(),but for some people it's not. For example, in old

[issue12462] time.sleep(1): call PyErr_CheckSignals() if the sleep was interrupted

2011-07-01 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: While reading floatsleep() (time.sleep) code for issue #12459, I noticed that the Python signal handler is not called in floatsleep() if a signal interrupted the sleep. Well, it just works because the bytecode evaluation loop

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #12462, I found something weird in the signal handling of floatsleep(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12459

[issue12462] time.sleep(1): call PyErr_CheckSignals() if the sleep was interrupted

2011-07-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: You don't *need* to call PyErr_CheckSignals() explicitly, PyErr_SetFromErrno() does it for you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12462

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

2011-07-01 Thread Марк Коренберг
New submission from Марк Коренберг socketp...@gmail.com: Why not to call self.__is_shut_down.set() in constructor ? In reality, if event loop was not started, it mean that server is shut down. -- components: Library (Lib) messages: 139565 nosy: mmarkk priority: normal severity: normal

[issue10647] scrollbar crash in non-US locale format settings

2011-07-01 Thread Hans Bering
Hans Bering hans.ber...@arcor.de added the comment: I have been able to reproduce this problem with a current Python 3.2 + tcl/tk on Ubuntu. I have attached a script which should crash with the following output stacktrace (you might have to find set a suitable locale depending on your OS):

[issue12462] time.sleep(1): call PyErr_CheckSignals() if the sleep was interrupted

2011-07-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The sleep implementation of floatsleep() doesn't call PyErr_SetFromErrno() if errno is EINTR, whereas EINTR indicates that select() was interrupted. I agree that PyErr_CheckSignals() is overkill in the Windows implementation. My

[issue12462] time.sleep(1): call PyErr_CheckSignals() if the sleep was interrupted

2011-07-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: My new patch is more explicit: only add a special case for the select implementation, if errno is EINTR. Looks good to me! -- ___ Python tracker rep...@bugs.python.org

[issue12442] shutil.disk_usage()

2011-07-01 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 2fc102ebaf73 by Giampaolo Rodola' in branch 'default': Issue #12442: add shutil.disk_usage() http://hg.python.org/cpython/rev/2fc102ebaf73 -- nosy: +python-dev ___ Python tracker

[issue12442] shutil.disk_usage()

2011-07-01 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- resolution: - fixed stage: patch review - commit review status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12442 ___

[issue12462] time.sleep(1): call PyErr_CheckSignals() if the sleep was interrupted

2011-07-01 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 583be15e22ca by Victor Stinner in branch 'default': Issue #12462: time.sleep() now calls immediatly the (Python) signal handler if http://hg.python.org/cpython/rev/583be15e22ca -- nosy: +python-dev

[issue12462] time.sleep(1): call PyErr_CheckSignals() if the sleep was interrupted

2011-07-01 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12462 ___

[issue12460] SocketServer.shutdown() does not have timeout=None parameter

2011-07-01 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12460 ___ ___

[issue12464] tempfile.TemporaryDirectory.cleanup follows symbolic links

2011-07-01 Thread Evgeny Kapun
New submission from Evgeny Kapun abacabadabac...@gmail.com: TemporaryDirectory.cleanup follows symbolic links to directories and tries to clean them as well. Try this (on Linux): import os, tempfile with tempfile.TemporaryDirectory() as d: os.symlink(/proc, d + /test) --

[issue12465] gc.get_referents can be used to crash Python

2011-07-01 Thread Evgeny Kapun
New submission from Evgeny Kapun abacabadabac...@gmail.com: This code crashes Python: import gc gc.get_referents(object.__dict__)[0].clear() gc.get_referents(type.__dict__)[0].clear() type(A, (), {})() -- components: Interpreter Core messages: 139572 nosy: abacabadabacaba priority:

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Tim Lesher on python-dev: On the Windows side, Sleep(-1) as infinite is correct and documented: http://msdn.microsoft.com/en-us/library/ms686298(v=vs.85).aspx Wine defines INFINITE using #define INFINITE 0x:

[issue11870] test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on x86 Ubuntu Shared 3.x

2011-07-01 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 0ed5e6ff10f8 by Victor Stinner in branch '3.2': Issue #11870: Skip test_threading.test_2_join_in_forked_process() on platforms http://hg.python.org/cpython/rev/0ed5e6ff10f8 New changeset f43dee86fffd by Victor Stinner in branch

[issue12466] test_subprocess.test_close_fds() sporadic failures on Mac OS X Tiger

2011-07-01 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: == FAIL: test_close_fds (test.test_subprocess.POSIXProcessTestCase) -- Traceback (most recent

[issue11870] test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on x86 Ubuntu Shared 3.x

2011-07-01 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset ff36b8cadfd6 by Victor Stinner in branch '2.7': Issue #11870: Skip test_threading.test_2_join_in_forked_process() on platforms http://hg.python.org/cpython/rev/ff36b8cadfd6 -- ___ Python

[issue12467] test_threading.test_6_daemon_threads(): Assertion failed: PyUnicode_Check(*filename), file ..\Python\_warnings.c, line 501

2011-07-01 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: == FAIL: test_6_daemon_threads (test.test_threading.ThreadJoinOnShutdown) -- Traceback (most

[issue12455] urllib2 forces title() on header names, breaking some requests

2011-07-01 Thread Cal Leeming
Cal Leeming cal.leem...@simplicitymedialtd.co.uk added the comment: Thats full understandable that the default won't change. I'll put this in my todo list to write a patch in a week or two. On 1 Jul 2011 08:45, R. David Murray rep...@bugs.python.org wrote: R. David Murray rdmur...@bitdance.com

[issue12363] test_signal.test_without_siginterrupt() sporadic failures on FreeBSD 6.4

2011-07-01 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 8250f04d5a41 by Victor Stinner in branch '3.2': Issue #12363: improve siginterrupt() tests http://hg.python.org/cpython/rev/8250f04d5a41 -- ___ Python tracker rep...@bugs.python.org

[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

2011-07-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Ok, no more regression / bug related to this issue, let close it. -- resolution: - fixed status: open - closed versions: -Python 2.7, Python 3.2 ___ Python tracker

[issue12231] regrtest: add -k and -K options to filter tests by function/file names

2011-07-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: regrtest_regex-2.patch: minor update, just ensure that the patch applies correctly on the default branch. -- Added file: http://bugs.python.org/file22538/regrtest_regex-2.patch ___

[issue12363] test_signal.test_without_siginterrupt() sporadic failures on FreeBSD 6.4

2011-07-01 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 3f30cfe51315 by Victor Stinner in branch '3.2': Issue #12363: increase the timeout of siginterrupt() tests http://hg.python.org/cpython/rev/3f30cfe51315 New changeset 423268537083 by Victor Stinner in branch 'default': (merge 3.2)

[issue11870] test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on x86 Ubuntu Shared 3.x

2011-07-01 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The initial problem was test_3_join_in_forked_from_thread() and the hangs does still happen: [324/356] test_threading Timeout (1:00:00)! Thread 0x404248c0: File /srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/subprocess.py,

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12459 ___ ___

[issue6721] Locks in python standard library should be sanitized on fork

2011-07-01 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Well, I ping my view that we should: Could you please detail the following points: - what would be the API of this atfork() mechanism (with an example of how it would be used in the library)? - how do you find the correct order to

[issue11873] test_regexp() of test_compileall fails occassionally

2011-07-01 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset f8ece8c93918 by R David Murray in branch '3.2': #11873: fix test regex so it covers windows os.sep as well. http://hg.python.org/cpython/rev/f8ece8c93918 New changeset e543c0ddec63 by R David Murray in branch 'default': merge

[issue11873] test_regexp() of test_compileall fails occassionally

2011-07-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yeah, that's why I had reopened the issue...hopefully it is fixed now. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11873

[issue9253] argparse: optional subparsers

2011-07-01 Thread Dan Sully
Changes by Dan Sully dsu...@gmail.com: -- nosy: +dsully ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9253 ___ ___ Python-bugs-list mailing list

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-07-01 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12291 ___ ___

[issue12346] Python source code build fails with old mercurial

2011-07-01 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12346 ___ ___

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12459 ___ ___ Python-bugs-list

[issue12457] type() returns incorrect type for nested classes

2011-07-01 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12457 ___ ___ Python-bugs-list

[issue12456] Hangs in concurrent.futures

2011-07-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This patch should fix the issue. Can you confirm? -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file22539/cfshutdown.patch ___ Python tracker rep...@bugs.python.org

[issue12346] Python source code build fails with old mercurial

2011-07-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12346 ___

[issue12213] BufferedRandom, BufferedRWPair: issues with interlaced read-write

2011-07-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12213 ___

[issue12215] TextIOWrapper: issues with interlaced read-write

2011-07-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12215 ___

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-07-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Latest patch looks ok to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12291 ___ ___

[issue11873] test_regexp() of test_compileall fails occassionally

2011-07-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I guess I'm just really bad at regexes. http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/4885/steps/test/logs/stdio -- status: closed - open ___ Python tracker

[issue12468] longjmp causes uninitialized stack frame

2011-07-01 Thread Kiril Mikos
New submission from Kiril Mikos kiril.mik...@gmail.com: *** longjmp causes uninitialized stack frame ***: /usr/bin/python2.7 terminated === Backtrace: = /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f2415de61d7] /lib/x86_64-linux-gnu/libc.so.6(+0xfe169)[0x7f2415de6169]

[issue12468] longjmp causes uninitialized stack frame

2011-07-01 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: Do you have a python code snippet which triggers this? -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12468 ___

[issue12460] SocketServer.shutdown() does not have timeout=None parameter

2011-07-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Well, it's not applicable to 2.x, since it is a feature request. As such it could only go into 3.3. I don't have an opinion on the merits of the suggestion. -- nosy: +r.david.murray versions: +Python 3.3 -Python 2.6, Python

[issue12459] time.sleep(-1.0) behaviour

2011-07-01 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12459 ___ ___

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

2011-07-01 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12463 ___ ___

[issue12460] SocketServer.shutdown() does not have timeout=None parameter

2011-07-01 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12460 ___ ___

[issue12468] longjmp causes uninitialized stack frame

2011-07-01 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12468 ___ ___ Python-bugs-list

[issue12456] Hangs in concurrent.futures

2011-07-01 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Yes, the patch does appear to fix the issue. Thanks -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12456 ___

[issue12213] BufferedRandom, BufferedRWPair: issues with interlaced read-write

2011-07-01 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- priority: normal - critical type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12213 ___

  1   2   >