Skip to content
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

Meta-ticket for Python 3.6+ preparation (sage library) - stage 2 #16052

Closed
wluebbe mannequin opened this issue Apr 3, 2014 · 20 comments
Closed

Meta-ticket for Python 3.6+ preparation (sage library) - stage 2 #16052

wluebbe mannequin opened this issue Apr 3, 2014 · 20 comments

Comments

@wluebbe
Copy link
Mannequin

wluebbe mannequin commented Apr 3, 2014

For progress on making all doctests pass, see #26212

This meta-ticket tracks those tickets for changing the Sage library that did not go into stage 1 (ticket:15980).

Some reasons for assigning tasks to stage 2:

  • The code can run on Python 2 only with the support of imported "compatibility" libraries. [copied from description]
    Maybe we have to check the licenses of the used compatibility libraries.
  • The tasks are usually more complicated. The approach may not be obvious or uncontroversial.
  • To make progress we need a Python 3.3 test environment for them.

This ticket is referenced by the meta-ticket ticket:15530

No. 2to3 fixer see ticket Comment
2 basestring #16064 about 27 modules
5 dict #15981 about 227 py modules
7 exec #16065 6 modules
8 execfile #16066 2 modules
17 imports #16069 about 39 modules
22 itertools_import #16070 about 12 modules
23 itertools #16071 about 20 modules
24 long #16072 about 72 modules
25 map #16073 about 171 modules; (from future_builtins import map ?)
26 metaclass #16074 about 30 modules
29 next #18802 about 15 py modules
30 nonzero #16076 about 25 modules
31 numliterals #15987, #17808 oct and long literals
35b raise traceback #18799 about 3 py modules
36 raw_input #16077 3 modules
46 unicode #16079, #14153 lots of modules? (from `future` import unicode_literals ?)
47 urllib #16080 about 16 modules
49 xrange #16081 about 293 modules changes
51 zip #16082 Fixed (kept as a watchdog ticket)

The following changes do not relate to 2to3:

71 type() #16085 about 161 modules; different values of type()function
72 write() #16086 about 79 modules; in Py3 the write() function has a return value
73 traceback #16088 about ?? modules; tracebacks can look different
74 file-to-open #16097 about 20 modules; replace builtin file() by open()

CC: @mkoeppe @tscrim

Component: python3

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/16052

@wluebbe wluebbe mannequin added this to the sage-6.2 milestone Apr 3, 2014
@wluebbe wluebbe mannequin added c: distribution labels Apr 3, 2014
@wluebbe

This comment has been minimized.

@wluebbe

This comment has been minimized.

@wluebbe

This comment has been minimized.

@wluebbe

This comment has been minimized.

@wluebbe
Copy link
Mannequin Author

wluebbe mannequin commented Apr 11, 2014

comment:4

Moved ticket:15981 (fix_dict) to stage 2.

@wluebbe

This comment has been minimized.

@wluebbe
Copy link
Mannequin Author

wluebbe mannequin commented Apr 12, 2014

comment:5

Moved ticket:15987 (fix_literals) to stage 2.

@ppurka
Copy link
Member

ppurka commented Apr 13, 2014

comment:6

Is it true that this stage 2 depends on the modifications already made to stage 1? Then perhaps we should put #15980 in the dependencies field of the ticket.

@wluebbe
Copy link
Mannequin Author

wluebbe mannequin commented Apr 14, 2014

comment:7

Stage 2 does not depend on stage 1. The tickets of stage 1 could be solved after stage 2 tickets. They are usually improvements of Py2 code (without relying on separate "compatibility layer").

Both stage 1 and stage 2 are tracked as dependencies of the meta-ticket ticket:15530.

@wluebbe

This comment has been minimized.

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@wluebbe

This comment has been minimized.

@wluebbe
Copy link
Mannequin Author

wluebbe mannequin commented May 29, 2014

comment:9

Moved ticket:16067 and ticket:16078 to stage 1 (meta ticket:15980).

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@wluebbe

This comment has been minimized.

@wluebbe

This comment has been minimized.

@jdemeyer

This comment has been minimized.

@jdemeyer

This comment has been minimized.

@fchapoton fchapoton modified the milestones: sage-6.4, sage-8.0 May 11, 2017
@fchapoton

This comment has been minimized.

@embray embray changed the title Meta-ticket for Python 3.3+ preparation (sage library) - stage 2 Meta-ticket for Python 3.6+ preparation (sage library) - stage 2 Feb 23, 2018
@embray embray removed this from the sage-8.0 milestone Feb 23, 2018
@embray embray added the pending label Feb 23, 2018
@fchapoton

This comment has been minimized.

@fchapoton
Copy link
Contributor

comment:20

shall we close this one also, then ?

@mkoeppe
Copy link
Contributor

mkoeppe commented Aug 15, 2020

Reviewer: Matthias Koeppe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants