Skip to content

2to3 fixer to rename markupbase to _markupbase #47110

Closed

Description

@quentingallet-gilles
BPO 2861
Nosy @brettcannon
Files
  • markupbase_import_fixer.patch: patch against 2to3 trunk (r63516)
  • 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 2008-05-22.03:19:02.392>
    created_at = <Date 2008-05-15.09:42:14.039>
    labels = ['type-bug', 'expert-2to3', 'release-blocker']
    title = '2to3 fixer to rename markupbase to _markupbase'
    updated_at = <Date 2008-05-22.06:51:04.988>
    user = 'https://bugs.python.org/quentingallet-gilles'

    bugs.python.org fields:

    activity = <Date 2008-05-22.06:51:04.988>
    actor = 'quentin.gallet-gilles'
    assignee = 'collinwinter'
    closed = True
    closed_date = <Date 2008-05-22.03:19:02.392>
    closer = 'brett.cannon'
    components = ['2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2008-05-15.09:42:14.039>
    creator = 'quentin.gallet-gilles'
    dependencies = []
    files = ['10388']
    hgrepos = []
    issue_num = 2861
    keywords = ['patch']
    message_count = 9.0
    messages = ['66850', '66851', '66853', '66875', '67087', '67108', '67151', '67178', '67181']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'collinwinter', 'quentin.gallet-gilles']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2861'
    versions = ['Python 3.0']

    Activity

    1. quentingallet-gilles commented on May 15, 2008

      quentingallet-gillesmannequin
      MannequinAuthor

      Before applying the attached patch, the command 'svn move
      Lib/markupbase.py Lib/_markupbase.py" must be invoked.
      Little reminder : since the changes are already applied in the 3.0
      codebase, the patch should also be blocked from the py3k branch.

      I'll also add another patch with the 2to3 import fixer.

    2. quentingallet-gilles commented on May 15, 2008

      quentingallet-gillesmannequin
      MannequinAuthor

      Updated patch : I forgot to add a check in test___all__

    3. quentingallet-gilles commented on May 15, 2008

      quentingallet-gillesmannequin
      MannequinAuthor

      Actually, the test___all__ check is an error since _markupbase has no
      __all__ attribute. I've restored the first version of the patch.

    4. brettcannon commented on May 15, 2008

      @brettcannon
      Member

      Added as a dependency on bpo-2775 so as to not lose this patch.

    5. brettcannon commented on May 20, 2008

      @brettcannon
      Member

      This does not need to happen in 2.6; only 3.0.

    6. quentingallet-gilles commented on May 20, 2008

      quentingallet-gillesmannequin
      MannequinAuthor

      I'll update the patches to reflect that.

    7. quentingallet-gilles commented on May 21, 2008

      quentingallet-gillesmannequin
      MannequinAuthor

      Well, there's only the fixer to apply.

    8. changed the title [-]Patch to rename markupbase to _markupbase[/-] [+]2to3 fixer to rename markupbase to _markupbase[/+] on May 21, 2008
    9. brettcannon commented on May 22, 2008

      @brettcannon
      Member

      Applied in r63533 to 2to3 in the fixer. I also added you, Quentin to
      Misc/ACKS in the trunk.

    10. quentingallet-gilles commented on May 22, 2008

      quentingallet-gillesmannequin
      MannequinAuthor

      Thanks Brett. About the Misc/ACKS file I promise I'll contribute more than
      just an import fixer !

      On Thu, May 22, 2008 at 5:19 AM, Brett Cannon <report@bugs.python.org>
      wrote:

      Brett Cannon <brett@python.org> added the comment:

      Applied in r63533 to 2to3 in the fixer. I also added you, Quentin to
      Misc/ACKS in the trunk.

      ----------
      resolution: -> accepted
      status: open -> closed


      Tracker <report@bugs.python.org>
      <http://bugs.python.org/issue2861\>



      Python-bugs-list mailing list
      Unsubscribe:
      http://mail.python.org/mailman/options/python-bugs-list/qgallet%40gmail.com

    11. 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

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions