Modify

Opened 12 years ago

Closed 12 years ago

#128 closed defect (fixed)

argparse/optparse compatibility in clprof

Reported by: Matthias Vogelgesang Owned by: Matthias Vogelgesang
Priority: major Milestone: ufo-core-0.2
Component: ufo-core Version:
Keywords: Cc:

Description

optparse is the older default argument parsing module but deprecated from Python 2.7 on. It is replaced by argparse. clprof was written with Python 2.7+ in mind and thus uses argparse. However, on CentOS and Scientific Linux clprof stops with an import error because of the default Python 2.6 version.

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by Matthias Vogelgesang

Resolution: fixed
Status: newclosed

1587915 replaces argparse with optparse.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthias Vogelgesang.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.