Modify

Opened 3 years ago

Last modified 3 years ago

#14037 new defect

Not working on Python3

Reported by: Jhuang Owned by: Pablo
Priority: normal Component: JqChartMacro
Severity: normal Keywords:
Cc: Trac Release:

Description

  1. The StringIO and cStringIO modules are gone. Instead, import the io module and use io.StringIO or io.BytesIO for text and data respectively.
  1. There is no StringType in Python3.

Attachments (1)

macro.py (22.0 KB) - added by Jhuang 3 years ago.
A patch to make compatible with Python 3 and Trac 1.5

Download all attachments as: .zip

Change History (5)

comment:1 Changed 3 years ago by Jun Omae

Please feel free to provide a patch to make compatible with Python 3 and Trac 1.5.

Changed 3 years ago by Jhuang

Attachment: macro.py added

A patch to make compatible with Python 3 and Trac 1.5

comment:2 Changed 3 years ago by Ryan J Ollos

In 18438:

1.0dev: Make compatible with Python 3 and Trac 1.6

Refs #14037.

comment:3 Changed 3 years ago by Ryan J Ollos

In 18439:

1.0dev: Remove unnecessary semicolons

Refs #14037.

comment:4 Changed 3 years ago by Ryan J Ollos

In 18440:

1.0dev: Make compatible with Python 2.7

Refs #14037.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Pablo.

Add Comment


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

 
Note: See TracTickets for help on using tickets.