Ticket #47 (closed defect: fixed)

Opened 1 year ago

Last modified 2 months ago

'with' will become a reserved keyword in Python 2.6

Reported by: scott@kitterman.com Assigned to: pbi
Priority: minor Milestone:
Component: Scapy Version: 1.1.1
Keywords: Cc:

Description

FYI (this shouldn't be a problem for quite some time, but just so you know):

Setting up python-scapy (1.1.1-2ubuntu1) ... /var/lib/python-support/python2.5/scapy.py:3072: Warning: 'with' will become a reserved keyword in Python 2.6 /var/lib/python-support/python2.5/scapy.py:3074: Warning: 'with' will become a reserved keyword in Python 2.6

Attachments

scapy-gnuplot_with.patch (1.6 kB) - added by lobo@c3a.de on 06/19/08 18:30:01.
Patch for Gnuplot.Data Python2.6 reserved keyword warning

Change History

07/29/07 12:24:12 changed by pbi

That's the name of a parameter to provide to Gnuplot wrapper. Gnuplot wrapper has to change first :(. When someone notice, please notify me !

06/19/08 18:30:01 changed by lobo@c3a.de

  • attachment scapy-gnuplot_with.patch added.

Patch for Gnuplot.Data Python2.6 reserved keyword warning

06/19/08 18:34:42 changed by lobo@c3a.de

The python gnuplot version 1.8 has changed the keyword to "with_" now. I have attached a patch to this ticket, which supports the new keyword and shows a warning if you use a python gnuplot version, which supports only the old keyword.

You can get version 1.8 from http://sourceforge.net/project/showfiles.php?group_id=17434

best regards,

jochen

08/12/08 00:24:39 changed by pbi

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [055a9be0f2d3]


Add/Change #47 ('with' will become a reserved keyword in Python 2.6)




Change Properties
Action