Clement Rouault added the comment:
Hello,
As this issue may never be fixed for python3.6. I wanted to post a solution to
bypass the bug. It may be useful for the next person stumbling on this as I
have.
The __class__ closure is only created if a function use the word super(). This
closure
Clement Rouault added the comment:
Hello,
I have a Python2 project that relies heavily on ctypes and I cannot migrate
this project to Python3 due to this bug. (I target 3.6)
I have some experience with CPython and submitting patchs and I would like to
know what I can do to help moving
New submission from Clement Rouault <pyt...@hakril.net>:
While playing with '_multiprocessing.PipeConnection' I found out that
instancing an object with a subtype of '_multiprocessing.PipeConnection' will
crash the interpreter when the object is deleted.
My guess is that some conn
Clement Rouault added the comment:
Stated as you did, it makes sens. Should the change of return type be
acknowledged somewhere in the documentation ?
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Clement Rouault added the comment:
My comment was about the behavior of `winreg.QueryValueEx`. The current
behavior is:
>>> import winreg
>>> tstkey = winreg.OpenKey(winreg.HKEY_CURRENT_USER, "TestKey")
>>> winreg.QueryValueEx(tstkey, "
Clement Rouault added the comment:
I would like to discuss the fact that this patch is a new feature.
In the current state, CPython handles the `REG_QWORD` type as an unkown type
and returns the raw registry value: a string of size 8.
In my opinion this behavior does not match the Windows
Clement Rouault added the comment:
Because `QWORD` is not defined in any file included by CPython. The main file
for basic sized type definition in Windows is:
basetsd.h: Type definitions for the basic sized types.
which contains the definition of `DWORD64`: `typedef unsigned __int64
Clement Rouault added the comment:
I also stumbled on this issue when playing with the winreg module.
I will try to make the discussion go forward by submitting a new patch.
I added a test and tried everything (test included on 3.5) on my own computer
(windows 8.1 64b)
There are two points
Changes by Clement Rouault <pyt...@hakril.net>:
--
nosy: +hakril
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23026>
___
__
Clement Rouault added the comment:
After a few months, I am back to you on this issue.
What should be the next step of the process ?
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22939
Clement Rouault added the comment:
The call to PySequence_GetItem() may be expensive, and we have to drop
the result if an OverflowError is raised after the call.
You do realize that this error will be very rare and therefore
inconsequential.
The real question is: why would you call
Clement Rouault added the comment:
Also, PY_SSIZE_T_MAX is a valid value to pass to PySequence_GetItem(), so it
shouldn't be blocked unless necessary.
I agree with you, that's why my first path was checking at the next call if
it-it_index had overflowed. But then it relies on undefined
Clement Rouault added the comment:
Thanks for the comments.
I corrected the patch and updated the test. I also added a test that check the
behavior of setstate with negative indice.
Just one question:
__setstate__ must implement the same check.
Why should __setstate__ check
Clement Rouault added the comment:
Here is a first try for a patch.
There are two points I am not sure about:
1) The message for the OverflowError: is that explicit enough ?
2) The behaviour of the iterator after the raise of OverflowError.
With this patch every call to `next(it)` where
New submission from Clement Rouault:
I found an interger overflow in the standard iterator object
(Objects/iterobject.c)
The `it_index` attribute used by the iterator is a `Py_ssize_t` but overflow is
never checked. So after the index `PY_SSIZE_T_MAX`, the iterator object will
ask
Clement Rouault added the comment:
Updated some docstrings in the new patch after the review comments.
Thanks kushou for the code review.
--
Added file: http://bugs.python.org/file35954/dis_generator3.patch
___
Python tracker rep...@bugs.python.org
Hi. I am new to Python. I am making a script where logging in to a website is
the first step.. I am using Python 3.3 All of the help I have seen online uses
urllib2 which in Python 3 aint there. I will greatly appreciate any help
--
https://mail.python.org/mailman/listinfo/python-list
Hi friends,
How can i get system information like CPU load and RAM usage in linux.
Is there any packages for python
--
http://mail.python.org/mailman/listinfo/python-list
Can i use asynchttp for http secure connection... If so plz how does
it can be done. Is there any other library can do that that
--
http://mail.python.org/mailman/listinfo/python-list
://arctrix.com/nas/python/gc/
i used it as temporary solution if any other way please
share...
..
Thanking you...
Clement
http://www.squzer.com/
--
http://mail.python.org/mailman/listinfo/python-list
-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
use my name : clement programming languge .. nice la.
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 24, 10:12 pm, johnny [EMAIL PROTECTED] wrote:
Any python module for navigating and selecting, parsing HTML files?
try beautyfulshop
--
http://mail.python.org/mailman/listinfo/python-list
Is it possible to close the socket connection immediately in
Python.. Because i am getting error even though i close it after
all the transfer I read from one article it is possible in C
socket Whether is it possible in Python?
--
http://mail.python.org/mailman/listinfo/python-list
In proejct i need a program having two thread. One is server thread
will listen on a port. and aniother one is to controll some opertion
in the system.. The server therad will get the comment and the and the
another thread will do some opertion based on the commend..
How to implemten it.. I have
On May 16, 1:09 pm, [EMAIL PROTECTED] wrote:
I am interested in organizing and taking part in a project that would
create a virtual world much like the one described in Neal
Stephenson's 'Snow Crash'. I'm not necessarily talking about
something 3d and I'm not talking about a game either.
I am now creating IR engine in python which has its own database
implementation . For nearly 2GB files it works fast. Can i expect the
same speed when my database goes large. Else i have to chose other
language[c/c++] for the speed.
Please tell me the
how to get the file from NFS share in python..
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 19, 11:44 pm, Larry Bates [EMAIL PROTECTED] wrote:
Clement wrote:
how to get the file from NFS share in python..
NFS share is mounted on your local directory, you get to it
the same way you would any other file (e.g. go to the mount
point and get the file).
-Larry
I want
On Apr 17, 5:52 pm, Michael Bentley [EMAIL PROTECTED] wrote:
On Apr 17, 2007, at 6:52 AM, Clement wrote:
Can i useShelvefor storing large amount of data around 6GB.. Is it
stable...? if any problems come, can i retrive the document..
Do you know for sure your filesystem handles files
On Apr 17, 5:52 pm, Michael Bentley [EMAIL PROTECTED] wrote:
On Apr 17, 2007, at 6:52 AM, Clement wrote:
Can i useShelvefor storing large amount of data around 6GB.. Is it
stable...? if any problems come, can i retrive the document..
Do you know for sure your filesystem handles files
On Apr 17, 5:52 pm, Michael Bentley [EMAIL PROTECTED] wrote:
On Apr 17, 2007, at 6:52 AM, Clement wrote:
Can i useShelvefor storing large amount of data around 6GB.. Is it
stable...? if any problems come, can i retrive the document..
Do you know for sure your filesystem handles files
Can i use Shelve for storing large amount of data around 6GB.. Is it
stable...? if any problems come, can i retrive the document..
Plz tell the suggestions.
By clement
--
http://mail.python.org/mailman/listinfo/python-list
Is there any command like Option Explicit[In visual basic].
--
http://mail.python.org/mailman/listinfo/python-list
My project is based on console Application. Is there any console UI
except urwid. If so, can i come to know.
--
http://mail.python.org/mailman/listinfo/python-list
I am newbie to Python.. i want to know something..
can i place an object in disk instead of placing in Main Memory...?
If possible, can you please explain with some scripts...?
can two python script share a common object?
--
http://mail.python.org/mailman/listinfo/python-list
Can a object sharable by two different python programs... If so can you please
explain... because my project needs two programs to access nearly 45GB file
Symentaniously...
By
Clement Jeba kumar,
Tenkasi.
-
It's here! Your new message!
Get new email
how to use Python/C API
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 26, 11:58 am, Steven D'Aprano
[EMAIL PROTECTED] wrote:
On Mon, 26 Feb 2007 07:15:43 +0200, Hendrik van Rooyen wrote:
James Stroud [EMAIL PROTECTED] wrote:
Clement wrote:
Can any body tell how Dict is implemented in python... plz tell what
datastructure that uses
Can any body tell how Dict is implemented in python... plz tell what
datastructure that uses
--
http://mail.python.org/mailman/listinfo/python-list
39 matches
Mail list logo