New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 support? #7
Comments
Sure, send it over and I'll create a py3 branch with it. ianare AT gmail DOT com |
On 12/19/2012 4:18 PM, ianaré sévi wrote:
I think I tossed a version number at the top, but you might have your The stuff after main, and the import of pprint can probably be removed, New features are the py3 functionality... once you see the differences, Also, I added GPS support, and if win32 extensions are available, it This was a "Quick, get the job done" port, but the pressure is off now. Glenn |
Can you send the file as an attachment? The whitespace got all corrupted. |
|
On 12/19/2012 4:31 PM, ianaré sévi wrote:
I did... but maybe your mail client also displayed it inline, and Or do I have different editor settings, and it is a tab versus space |
I did... but maybe your mail client also displayed it inline, and
Not an editor setting, looks like a problem with email. Just send me an
|
On 12/19/2012 4:42 PM, ianaré sévi wrote:
And your email address? Github is hidnig it from me. |
ianare AT gmail DOT com
2012/12/20 v-python notifications@github.com
|
On 12/19/2012 4:38 PM, ianaré sévi wrote:
It's in a try block, so it doesn't happen if it isn't there, regardless
Yeah, I've used source control, and it works great in companies, or for Happily, I was able to find the link on github to download the source
|
OK got the file, it looks like you modified an older version, there was a recent addition of several bug fixes and extra debugging info which your version is missing. |
On 12/19/2012 6:01 PM, ianaré sévi wrote:
I had downloaded it in November... when the issue first came up, but Four basic changes: single byte slices changed from [ 4 ] to [ 4:5 ] so they stay bytes Exception syntax '\xff' => '\xff' print syntax Glenn |
With so small changes it should be very well possible to support both py3 and py2 in one codebase without any ugliness, as far as I can see :-) |
I whacked at it until it seems to run under Python 3, but I didn't make the code conditional, so I have a replacement version... any interest? I'm not a git user, so I just grabbed the file, and edited. Tell me where to email the file, if interested. Was pretty straightforward. Otherwise I'll just put it on my web site, and it will acquire bit-rot...
My goal was to extract GPS data, so I added --gps option to print only that.
The text was updated successfully, but these errors were encountered: