liuweireign / dpkt

Automatically exported from code.google.com/p/dpkt
Other
0 stars 0 forks source link

"as" being a reserved word in Python 2.6 #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To build under Python 2.6 I had to:

change line 734 to look like: self.failUnless(b4.open['as'] == 237)
change line 715 to look like this: self.failUnless(b4.open['as'] == 237)

It seems "as" is now a reserved word?
Thanks,
Mohamed.

Original issue reported on code.google.com by lrhazi on 5 Dec 2008 at 5:10

GoogleCodeExporter commented 9 years ago
just noticed this long fixed in svn. Thanks.

Original comment by lrhazi on 5 Dec 2008 at 5:14

GoogleCodeExporter commented 9 years ago
yeah, sorry... there are a lot of fixes in subversion as the code hasn't been 
repackaged in quite a while.

Original comment by yard...@gmail.com on 5 Dec 2008 at 5:18

GoogleCodeExporter commented 9 years ago
a new release is necessary soon.  need to merge a bit more mrt/bgp updates 
first though.

Original comment by jon.ober...@gmail.com on 5 Dec 2008 at 6:24