Skip to content

2to3 print(single argument) #54584

Closed
Closed

Description

@hfuru
mannequin
BPO 10375
Nosy @terryjreedy, @benjaminp, @merwok

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2013-11-05.03:21:34.125>
created_at = <Date 2010-11-09.14:12:20.363>
labels = ['type-bug', 'expert-2to3']
title = '2to3 print(single argument)'
updated_at = <Date 2013-11-05.03:21:34.123>
user = 'https://bugs.python.org/hfuru'

bugs.python.org fields:

activity = <Date 2013-11-05.03:21:34.123>
actor = 'terry.reedy'
assignee = 'none'
closed = True
closed_date = <Date 2013-11-05.03:21:34.125>
closer = 'terry.reedy'
components = ['2to3 (2.x to 3.x conversion tool)']
creation = <Date 2010-11-09.14:12:20.363>
creator = 'hfuru'
dependencies = []
files = []
hgrepos = []
issue_num = 10375
keywords = []
message_count = 5.0
messages = ['120866', '121055', '202187', '202188', '202190']
nosy_count = 4.0
nosy_names = ['terry.reedy', 'hfuru', 'benjamin.peterson', 'eric.araujo']
pr_nums = []
priority = 'normal'
resolution = 'rejected'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue10375'
versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

Activity

  1. hfuru commented on Nov 9, 2010

    hfurumannequin
    MannequinAuthor

    Could 2to3 without -p notice more cases of print(single argument),
    to avoid slapping another () around them? For example:

      print(2*3)
      print(", ".join(dir))
      print(very + long
            + single + argument)

    My internal bug detector zooms in on ((foo)) when I read Python code -
    I'm seeing code where something was apparently left out, maybe an inner
    comma to make it a tuple.

    [Copied from bpo-10070.]

  2. added
    type-bug
    on Nov 9, 2010
  3. terryjreedy commented on Nov 12, 2010

    @terryjreedy
    Member

    [Copied from bpo-10070.]
    which is to say (for the benefit of other reviewers):
    This was a minor sub-issue mentioned there in passing and independent of the main issue and ignored in the extensive discussion thereof.

  4. terryjreedy commented on Nov 5, 2013

    @terryjreedy
    Member

    Benjamin, is the idea even feasible, or should this be closed?

  5. benjaminp commented on Nov 5, 2013

    @benjaminp
    Contributor

    Probably, but I'm not going to do it.

    2013/11/4 Terry J. Reedy <report@bugs.python.org>:

    Terry J. Reedy added the comment:

    Benjamin, is the idea even feasible, or should this be closed?

    ----------
    versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2


    Python tracker <report@bugs.python.org>
    <http://bugs.python.org/issue10375\>


  6. terryjreedy commented on Nov 5, 2013

    @terryjreedy
    Member

    I'll close this then, as it will never happen.

  7. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-2to3type-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions