New submission from Steve Thompson :
I'm running pythong 2.6.1 on Windows XP SP3.
On many occasions I have ran into cases where I've installed a new package via
the package's setup.py (pylint, logilab-common, etc) and new .pyc files don't
get generated when I attempt to ru
Steve Thompson added the comment:
"Setup.py install". We've also seen this happen when checking our python
files out of our version control system. Also seen a .pyc get used when the
.py no longer exists, but I could see that being intentional behavior.
On Sep 3, 2010 2:57 PM
Steve Thompson added the comment:
Hmmm... this definitely sounds like the issue for version controlled files,
but does not explain the issue when installing packages from source.
On Sep 3, 2010 3:16 PM, "Amaury Forgeot d'Arc"
wrote:
Amaury Forgeot d'Arc added the comment
Steve Thompson added the comment:
So what's the current status of this on Windows Platforms?
--
nosy: +Steve.Thompson
___
Python tracker
<http://bugs.python.org/i
Steve Thompson added the comment:
Any idea if this will be fixed (at all) and/or back ported to 2.6.x or
2.7.x?
On Fri, Sep 3, 2010 at 3:36 PM, Amaury Forgeot d'Arc wrote:
>
> Amaury Forgeot d'Arc added the comment:
>
> This is still the case: on Windows, if foo.py is
New submission from Steve Thompson :
Consider the following:
import ctypes
class struct1( ctypes.Structure ):
_pack_ = 1
_fields_ = [
( "first", ctypes.c_uint8, 1 ),
( "second", ctypes.c_uint8, 1 ),
Steve Thompson added the comment:
So, knowing there's a potential cross platform inconsistency here, is there
a proposed way to deal with this that doesn't involve modifying the real c
code I'm interfacing with? That's not always an option.
On Mon, Apr 25, 2011 at 2:4
New submission from Steve Thompson :
Consider the following:
python code:
class my_array( ctypes.Array ):
_type_= ctypes.c_uint8
_length_ = 256
class my_array2( my_array ):
pass
Output:
class my_array2( my_array ):
AttributeError: class must define a '_length_'