Changes between Initial Version and Version 13 of Ticket #16082


Ignore:
Timestamp:
01/27/17 07:56:24 (3 years ago)
Author:
jdemeyer
Comment:

Was it really necessary to be so unpolite?

It seems that the only indication that it was a test ticket is the milestone. Nothing in the title nor the description nor in your sage-devel thread was making it clear that this was a test ticket. So that could easily be overlooked.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16082

    • Property Status changed from new to needs_review
    • Property Component changed from distribution to python3
    • Property Summary changed from Python 3 preparation: The semantics of the zip() function is changed to Test ticket for zip()
    • Property Branch changed from to public/16082
    • Property Milestone changed from sage-6.2 to sage-duplicate/invalid/wontfix
    • Property Commit changed from to 737c6682235caded1b7d809db84b8951016a4bbf
  • Ticket #16082 – Description

    initial v13  
    1 In Py2 {{{zip()}}} returns a list, while in Py3 {{{zip()}}} returns an iterator (as {{{itertools.izip()}}} does in Py2).
    2 
    3 The tool 2to3 wraps {{{zip()}}} usages with a call to {{{list()}}}.
    4 [[br]]
    5 An alternative approach is to add {{{from future_builtins import zip}}} and to check where a wrapping with {{{list()}}} is required.
    6 
    7 There are 54 effected modules.
    8 
    9 This ticket is tracked as a dependency of meta-ticket ticket:16052.
     1This ticket is used for doctesting the Python 3 compatibility of `zip()`. It is not a real ticket and should not be merged.