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
___
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
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
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
___
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
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
___
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
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
___
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
___
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
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
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
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
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 -
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
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
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
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'
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
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
___
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 -
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)
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
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()
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
___
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
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
Changes by R David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray -bitdancer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5353
___
___
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,
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
___
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,
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
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))
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
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.
--
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
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.
--
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?
--
--
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
___
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
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
Georg Brandl ge...@python.org added the comment:
That would be nice.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5601
___
___
Senthil orsent...@gmail.com added the comment:
With the changes r70935, this works.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5628
___
___
Changes by Daniel Diniz aja...@gmail.com:
--
nosy: +ajaksu2
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5630
___
___
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
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
Changes by Benjamin Peterson benja...@python.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4535
___
___
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
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
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
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
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
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
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
___
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
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
___
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
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
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
___
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.
--
___
201 - 260 of 260 matches
Mail list logo