Michiel de Hoon added the comment:
You are correct, this is indeed a duplicate of #13797. My apologies for not
finding this issue before opening a new one. If there are no objections, I will
close this issue as a duplicate.
--
___
Python tracker
Michiel de Hoon added the comment:
Thank you, I have posted an explanation in the "Ideas" category of
discuss.python.org.
--
___
Python tracker
<https://bugs.python.o
New submission from Michiel de Hoon :
Currently memoryview does not support subclassing:
>>> class B(memoryview): pass
...
Traceback (most recent call last):
File "", line 1, in
TypeError: type 'memoryview' is not an acceptable base type
Subclassing memoryvi
Michiel added the comment:
Based on code inspection, this affects 2.7 - current master
--
versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue33
New submission from Michiel :
It looks like there's possibly a typo/small bug in the pdb.Pdb code. If I
supply the stdin argument to the constructor, and provide e.g. a io.StringIO
object, then I expect commands to be read from there. This however doesn't
happen. If I additionall
Michiel de Hoon added the comment:
Anything I can do to help this patch move forward?
--
___
Python tracker
<http://bugs.python.org/issue23237>
___
___
Python-bug
Michiel de Hoon added the comment:
I tried the patch hook-interrupt.3.6.patch ; as far as I can tell it is working
fine.
--
___
Python tracker
<http://bugs.python.org/issue23
Michiel de Hoon added the comment:
I am not sure if I follow. With the patch to _tkinter.c, interrupts seem to
work correctly with all three variations of PyOS_InputHook.
--
___
Python tracker
<http://bugs.python.org/issue23
Michiel de Hoon added the comment:
Patch for Modules/_tkinter.c.
To be used together with issue23237.version2.patch.
--
Added file: http://bugs.python.org/file39616/_tkinter.c.patch
___
Python tracker
<http://bugs.python.org/issue23
Michiel de Hoon added the comment:
I am uploading an updated version of the patch.
I'd be happy to submit a patch to the documentation also, but wasn't able to
find it on Mercurial. Can somebody please point me to the right repository for
the documentation?
--
Added
Michiel de Hoon added the comment:
Vadmium, thank you for carefully looking at this patch.
Polling PyErr_CheckSignals() directly in the tkinter EventHook loop works in
the #if defined(WITH_THREAD) || defined(MS_WINDOWS) block, as there
Tcl_DoOneEvent(TCL_DONT_WAIT) exits immediately.
However
Changes by Michiel de Hoon :
--
nosy: +haypo
___
Python tracker
<http://bugs.python.org/issue23237>
___
___
Python-bugs-list mailing list
Unsubscribe:
Michiel de Hoon added the comment:
I am attaching a patch for this bug for Python 2.7.
--
keywords: +patch
nosy: +mdehoon
Added file: http://bugs.python.org/file37832/issue23237.patch
___
Python tracker
<http://bugs.python.org/issue23
Michiel de Hoon added the comment:
I have opened a new issue 23237 for this bug; please see
http://bugs.python.org/issue23237
--
___
Python tracker
<http://bugs.python.org/issue3
New submission from Michiel de Hoon:
This bug was previously reported in
http://bugs.python.org/issue3180
but was closed after seven years for being out of date.
Still, the bug remains: Interrupts are lost during readline PyOS_InputHook
processing.
To reproduce the bug, try
>>> fro
Michiel de Hoon added the comment:
As it happens, we just ran into the same bug.
To reproduce this issue, run
>>> from Tkinter import *
>>> Tk()
Then Ctrl-C will not generate a KeyboardInterrupt.
At first glance, the solution suggested by the original poster seems good.
Michiel added the comment:
Hey Peter,
Cool, thanks for the feedback!
Looks like my email replies didn't get attached to the bug tracker..
I've just signed the form.
Regarding the .broadcast* question, I think that's probably best handled in a
separate issue, but I think ther
New submission from Michiel:
(See also: http://stackoverflow.com/q/19159168/1298153. This is my first bug
submission)
Contrary to IPv4, IPv6 does not have a concept of network and broadcast
addresses. It looks like the same code is used to generate the hosts for both
IPv4 and IPv6, resulting
Michiel Holtkamp added the comment:
Thanks, I will do that next time. Happy holidays everyone!
--
___
Python tracker
<http://bugs.python.org/issue16765>
___
___
Michiel Holtkamp added the comment:
Fair enough, I think I'm using 2.7 only. I wasn't sure about the patch format,
so I added a unified diff. If you require a different format, please let me
know.
--
keywords: +patch
Added file: http://bugs.python.org/file28420/patch
New submission from Michiel Holtkamp:
The standard module cgi.py from Python 2.x imports urllib, but urllib is not
used. This causes a little bit of extra memory usage and a small increase in
load time. It's not much, but it was enough for me to notice when I was
profiling my progra
New submission from Michiel de Hoon:
The expat parser in xml.parsers.expat has a Parse method and a ParseFile
method. The Parse method parses a string, however the ParseFile method wants
bytes.
This is a minimal example of the Parse method:
>>> import xml.parsers.ex
New submission from Michiel de Hoon:
I am trying to use io.TextIOWrapper to wrap a handle returned by
urllib.request.urlopen. Reading line-by-line from the wrapped handle terminates
prematurely.
As an example, consider this script:
import urllib.request
import io
url = "
New submission from Michiel Van den Berghe :
There doesn't seem to exist a SOAP library for Python 3.x. Several different
third party libraries exist for the 2.x releases, but none of these are being
ported to 3.x. None of these modules are easily ported using 2to3 due to string
enc
Michiel de Hoon added the comment:
Would it be possible to add an open() function to the bz2 module? Currently
gzip has such a function, but bz2 does not:
>>> import gzip
>>> gzip.open
>>> import bz2
>>> bz2.open
Traceback (most recent call last):
Michiel de Hoon added the comment:
The patch solves the problem also on Mac OS X 10.5 (I tried 32-bits and 64-bits
with the current python in trunk, after applying the patch).
Thanks again!
--
___
Python tracker
<http://bugs.python.org/issue8
Michiel de Hoon added the comment:
The patch fixes the problem on Mac OS X 10.4. I'll try on 10.5 tomorrow.
Thanks!
--
___
Python tracker
<http://bugs.python.org/i
New submission from Michiel de Hoon :
(The discussion for this bug started on the pythonmac-sig mailing list; see
http://mail.python.org/pipermail/pythonmac-sig/2010-May/022362.html)
When I try to install Python as a framework:
./configure --enable-framework
make
make install
then Python
Michiel Overtoom added the comment:
I experience the same, on FreeBSD 7.0-REL, with tkinter compiled to use
Tk8.5 instead of Tk8.4. Tkinter compiled for Tk8.4 doesn't have the
problem.
Moving the mouse over the text widget changes the cursor to the I-beam
as expected, but click on
New submission from Michiel de Hoon <[EMAIL PROTECTED]>:
PyMem_Malloc is called in the Util_ReadAhead function in bz2module.c.
The code checks if PyMem_Malloc returns NULL, but in that case no
MemoryError is raised. So, if in the following code:
>>> input = bz2.BZ2File("myfi
30 matches
Mail list logo