[ python-Bugs-890687 ] upack fails under certain conditions on Windows

SourceForge.net noreply at sourceforge.net
Wed Feb 4 14:44:17 EST 2004


Bugs item #890687, was opened at 2004-02-04 19:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=890687&group_id=5470

Category: Windows
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Kevin (kneppy)
Assigned to: Thomas Heller (theller)
Summary: upack fails under certain conditions on Windows

Initial Comment:
When using unpack to decode and swap byte orders for 
a binary file that consists of a series of unsigned 
integers (big-endian 32bit format)  on a Windows 2000 
& XP machine,  a false result is returned for certain 
values.  The script failed reading the first value with the 
number 26 in big-endian format ('\x00\x00\x00\x1a') 
The same script and datafile worked fine using cygwin's 
version of python on the same machines, and also 
worked correctly on a Linux machine.  The attached files 
should be able to reproduce the behavior.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=890687&group_id=5470



More information about the Python-bugs-list mailing list