[issue5563] Document bdist_msi

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed in r70905. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5563 ___

[issue909005] asyncore fixes and improvements

2009-03-31 Thread Josiah Carlson
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment: Just to make this clear, Aleksi is proposing close() should be called automatically by some higher-level functionality whether a user has overridden handle_close() or not. With the updated asyncore warning suppression

[issue5633] fix for timeit when the statment is a string and the setup is not (and tests)

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'll look at it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5633 ___ ___ Python-bugs-list

[issue1651995] sgmllib _convert_ref UnicodeDecodeError exception, new in 2.5

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed in r70906. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1651995 ___

[issue5630] Update CObject API so it is safe and regular

2009-03-31 Thread Lisandro Dalcin
Lisandro Dalcin dalc...@gmail.com added the comment: Two questions: 1) Why do you prefer to pass destructor as a first argument? 2) Do we really need two different calls for providing a context pointer? Why no just one call and pass a NULL context? A comment: Suppose one wants to implement

[issue3427] urllib documentation: urlopen().info() return type

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed in r70907. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3427 ___

[issue1161031] Neverending warnings from asyncore

2009-03-31 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: If you're talking about r70904 then you did a different thing than the one I suggested. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1161031

[issue5617] Unicode printing in gdb post-mortem sessions

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Added in r70912. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5617 ___

[issue5583] Optional extensions in setup.py

2009-03-31 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r70910 and r70914 -- priority: - normal status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5583 ___

[issue5018] Overly general claim about sequence unpacking in tutorial

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I've just removed the paragraph about the asymmetry in r70915. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5018

[issue5619] Pass MS CRT debug flags into subprocesses

2009-03-31 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Committed to py3k, 26 maint, trunk, 3k maint r70908 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619

[issue909005] asyncore fixes and improvements

2009-03-31 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: I agree with Josiah but I must say that the handle_close() documentation is a bit misleading. Currently it states: handle_close() Called when the socket is closed. I'd change it with something like this: Called when

[issue3087] Clean up Demos and Tools

2009-03-31 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: This is not really a bug so closing. -- nosy: +brett.cannon resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3087

[issue1665206] Hangup when using cgitb in a thread while still in import

2009-03-31 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: The freeze is occurring from cgitb importing from within the html function. That is hitting the import lock that is being held in bar. Moving the imports out of the functions to the top of the module should fix this. -- priority: normal -

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Using this patch I noticed two problems appeared when running WaitTest.py 1) Closing the window results in: _tkinter.TclError: can't invoke tkwait command: application has been destroyed which I'm not considering as a bug, maybe the user can

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r70928. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5628

[issue5635] test_sys reference counting fails while tracing

2009-03-31 Thread David Christian
New submission from David Christian d...@rpath.com: test_sys refcount test checks that assigning None to a local variable n increases the references to None by exactly 1. However sys.settrace is set, then the frame object must be instantiated to be passed to the trace object. This increments

[issue5155] Multiprocessing.Queue created by sub-process fails when used in sub-sub-process (bad file descriptor in q.get())

2009-03-31 Thread Beau Butler
Beau Butler beau.but...@gmail.com added the comment: Quick note: Have tracked this down to what appears to be buggy behaviour on the part of os.pipe() when called from within a Process. First invocation of os.pipe() in a Process returns (0,x) - stdin(?) resulting in the 'bad file descriptor'

[issue3392] subprocess fails in select when descriptors are large

2009-03-31 Thread Frank Chu
Frank Chu fpm...@gmail.com added the comment: Updated with new patch. I moved the try: except logic in the module initialization step so I get a global has_poll, similar to the global mswindows already there. I now use a try/except/else to be more robust (not needed now since it's only

[issue5228] multiprocessing not compatible with functools.partial

2009-03-31 Thread Jack Diederich
Jack Diederich jackd...@gmail.com added the comment: Fixed rev 70931. Happy pickling! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5228 ___

[issue1730959] telnetlib: A callback for monitoring the telnet session

2009-03-31 Thread Jack Diederich
Jack Diederich jackd...@gmail.com added the comment: class MyTelnet(Telnet): def read_until(self, *args) txt = Telnet.read_until(self, *args) sys.stdout.write(txt) return txt Hope that helps, closing the bug. -- nosy: +jackdied resolution: - wont fix status: open -

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Senthil
Senthil orsent...@gmail.com added the comment: Nope, this is not yet fixed. $ ./python Python 3.1a1+ (py3k:70929, Mar 31 2009, 19:18:12) [GCC 4.3.2] on linux2 ... ... f_bytes = urllib.request.urlopen(http://www.python.org;) f_string = io.TextIOWrapper(f_bytes,iso-8859-1)

[issue5635] test_sys reference counting fails while tracing

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed in r70933. Thanks! -- nosy: +georg.brandl resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5635

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: urllib.response.addinfourl doesn't seem to implement the required ABC (BufferedIOBase) properly. It misses the read1() method. Also, it claims not to be readable: f_bytes = urllib.request.urlopen(http://www.python.org/;) f_bytes.readable()

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- priority: - high resolution: accepted - type: - behavior versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5628 ___

[issue5636] csv.reader next() method missing

2009-03-31 Thread Tony Joblin
New submission from Tony Joblin tonyjob...@yahoo.com.au: On windows using 3.0.1 the csv.reader.next() public method is missing. The documentation says that this method should exist and it does exist in previous versions. There is a __next__ method available and constructs like: for row in

[issue4886] test/regrtest.py contains error on __import__

2009-03-31 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: regrtest is an internal tool for testing python, and is not suited to be used as a general testing framework. You would be far better off using one of the 3rd party packages designed for that task. We don't have the resources to support

[issue5353] Improve IndexError messages with actual values

2009-03-31 Thread R David Murray
Changes by R David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray -bitdancer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5353 ___ ___

[issue5637] 2to3 does not convert urllib.urlopen to urllib.request.urlopen

2009-03-31 Thread Senthil
New submission from Senthil orsent...@gmail.com: In Py2x, have this code: import urllib s = urllib.urlopen('http://www.python.org') print s Run 2to3, on this, refactoring works only on import urllib and print statements. @@ -1,3 +1,3 @@ -import urllib +import urllib.request, urllib.parse,

[issue2409] regrtest should not just skip imports that fail

2009-03-31 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Removed file: http://bugs.python.org/file9760/issue2409.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2409 ___

[issue5636] csv.reader next() method missing

2009-03-31 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I don't think that's a bug in the code, but in the documentation. Iterators in 3.x are implemented with __next__ methods, and the next() builtin. -- assignee: - georg.brandl components: +Documentation -Windows nosy: +georg.brandl,

[issue2409] regrtest should not just skip imports that fail

2009-03-31 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Fixed as of r70930 on trunk and shortly thereafter on the py3k branch. I did this at the pycon sprint, and unfortunately I only discovered this issue and your patches after I was done. So thank you for your work and I'm sorry it didn't

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Ah.. number 2 is problematic. Before continuing lets reduce the previous WaitTest.py to this (which shows the same problems): import Tkinter root = Tkinter.Tk() waitVar = Tkinter.BooleanVar() root.after(3000, lambda: waitVar.set(True))

[issue2259] Poor support other than 44.1khz, 16bit audio files?

2009-03-31 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If you can provide a small audio file that demonstrates the problem that might be enough to get both of these issues moving, since I could write a test using that. -- ___ Python tracker

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Jeremy Hylton
Jeremy Hylton jer...@alum.mit.edu added the comment: I just wanted to mention that the current head of py3k returns an http.client.HTTPResponse and not a urllib.respone.addinfourl. That doesn't mean it is the right thing to pass to TextIOWrapper. It's an instance of RawIOBase. --

[issue4535] Build / Test Py3K failed on Ubuntu 8.10

2009-03-31 Thread Senthil
Senthil orsent...@gmail.com added the comment: Ubuntu 8.10; On Python 3.0.1 (r301:69556, Mar 31 2009, 22:18:10) [GCC 4.3.2] on linux2 297 tests OK. 26 tests skipped: test_bz2 test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Senthil
Senthil orsent...@gmail.com added the comment: Jeremy Hylton wrote:  That doesn't mean it is the right thing to pass to TextIOWrapper.  It's an instance of RawIOBase. I guess, you meant That doesn't mean it is *not* the right thing to pass to TextIOWrapper. --

[issue5601] webbrowser doesn't just open browsers

2009-03-31 Thread Mitchell Model
Mitchell Model m...@acm.org added the comment: The problem is not so much that I think people should use it for file URLs, it's that the behavior when they do can be quite confusing. Perhaps a note that webbrowser is not meant for file URLs and that it's behavior is undefined if it is? -- --

[issue5353] Improve IndexError messages with actual values

2009-03-31 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray -r.david.murray-old ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5353 ___

[issue5110] Printing Unicode chars from the interpreter in a non-UTF8 terminal raises an error (Py3)

2009-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: In the first message I said that this breaks the PEP3138 because I thought that the solution was to change the default error-handler to 'backslashreplace', but this was already proposed and refused. sys.displayhook provides a way to change

[issue992389] attribute error after non-from import

2009-03-31 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: I'm sorely tempted to apply the Van Lindberg clause to the last two responses by Torsten and Nick. If there was an easy solution it wouldn't have been open for five years. If you don't believe me, post a fix. I'll even accept a fix for the

[issue5601] webbrowser doesn't just open browsers

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: That would be nice. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5601 ___ ___

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Senthil
Senthil orsent...@gmail.com added the comment: With the changes r70935, this works. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5628 ___ ___

[issue5630] Update CObject API so it is safe and regular

2009-03-31 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +ajaksu2 type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5630 ___ ___

[issue5638] test_httpservers fails CGI tests if --enable-shared

2009-03-31 Thread Tony Nelson
New submission from Tony Nelson tony_nel...@users.sourceforge.net: test_httpservers fails the CGI tests if Python was built as a shared library (./config --enable-shared) and not yet installed. To run such a Python without installing it, the command line must define LD_LIBRARY_PATH to point to

[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Please note that passing a instance of RawIOBase (as HTTPResponse) is to TextIOWrapper is *not* supported. You must first wrap the raw IO in a BufferIOBase instance. -- ___ Python tracker

[issue4535] Build / Test Py3K failed on Ubuntu 8.10

2009-03-31 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4535 ___ ___

[issue1659171] Calling tparm from extension lib fails in Python 2.5

2009-03-31 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Thanks, Richard! If someone confirms it, please reopen. -- resolution: - out of date stage: test needed - committed/rejected status: pending - closed ___ Python tracker rep...@bugs.python.org

[issue1641] asyncore delayed calls feature

2009-03-31 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: At the language summit last Thursday there was widespread disappointment with the changes to asyncore.py in 2.6, which broke almost all code that actually uses it. Unfortunately, the documented API is lame, so everybody depended on

[issue2578] additional unittest type equality methods

2009-03-31 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: I absolutely do not want it to warn by default in 3.1. PendingDeprecationError is fine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2578

[issue2522] locale.format() problems with decimal separator

2009-03-31 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Fixed in r70936/r70938. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2522

[issue5601] webbrowser doesn't just open browsers

2009-03-31 Thread Mitchell Model
Mitchell Model m...@acm.org added the comment: whoops Sorry for the garbage in the previous message. -- -- --- Mitchell -- Added file: http://bugs.python.org/file13533/unnamed ___ Python tracker rep...@bugs.python.org

[issue5578] unqualified exec in class body

2009-03-31 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Reopening. The following piece of code changed it behavior between 2.5 and 2.6: def f(): a = 2 class C: exec 'a = 42' abc = a return C print f().abc In 2.6, this returns 2, because static analysis determines that the read

[issue5624] Py3K branch import _winreg instead of winreg

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed in r70943. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5624 ___

[issue5627] PyDict_SetItemString() fails when the second argument is null

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I am not sure why you consider this a bug. You should certainly not pass NULL pointers around where the docs do not explicitly allow this. -- nosy: +georg.brandl resolution: - wont fix status: open - pending

[issue5631] Distutils upload command does not show up in --help-commands output.

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed in r70944. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5631 ___

[issue1725295] Line ending bug SimpleXMLRPCServer

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: CGI specifies \r\n line ends anyway, so this patch goes in the wrong direction. -- nosy: +georg.brandl resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org

[issue3763] Python 3.0 beta 2 : json and urllib not working together?

2009-03-31 Thread Senthil
Senthil orsent...@gmail.com added the comment: This is superseded by issue4136. -- resolution: - wont fix superseder: - merge json library with latest simplejson 2.0.x ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3763

[issue3763] Python 3.0 beta 2 : json and urllib not working together?

2009-03-31 Thread Senthil
Senthil orsent...@gmail.com added the comment: This is superseded by issue4136. -- nosy: +bob.ippolito status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3763 ___

[issue5627] PyDict_SetItemString() fails when the second argument is null

2009-03-31 Thread Euler Taveira de Oliveira
Euler Taveira de Oliveira eu...@timbira.com added the comment: I know that it is a good programming practice checking null pointers but sometimes programmers are lazy. ;) I still think that high level functions should check for null pointers. -- ___

<    1   2   3