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

calendar.weekheader not found in __all__ #41937

Closed
quiver mannequin opened this issue May 2, 2005 · 2 comments
Closed

calendar.weekheader not found in __all__ #41937

quiver mannequin opened this issue May 2, 2005 · 2 comments
Labels
stdlib Python modules in the Lib dir

Comments

@quiver
Copy link
Mannequin

quiver mannequin commented May 2, 2005

BPO 1193890
Nosy @rhettinger
Files
  • cal.diff
  • 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 2005-05-10.03:22:45.000>
    created_at = <Date 2005-05-02.15:56:56.000>
    labels = ['library']
    title = 'calendar.weekheader not found in __all__'
    updated_at = <Date 2005-05-10.03:22:45.000>
    user = 'https://bugs.python.org/quiver'

    bugs.python.org fields:

    activity = <Date 2005-05-10.03:22:45.000>
    actor = 'rhettinger'
    assignee = 'none'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2005-05-02.15:56:56.000>
    creator = 'quiver'
    dependencies = []
    files = ['1694']
    hgrepos = []
    issue_num = 1193890
    keywords = []
    message_count = 2.0
    messages = ['25206', '25207']
    nosy_count = 2.0
    nosy_names = ['rhettinger', 'quiver']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1193890'
    versions = ['Python 2.4']

    @quiver
    Copy link
    Mannequin Author

    quiver mannequin commented May 2, 2005

    calendar.weekheader is documented and a public 
    function form its beginning but not included in 
    calendar.__all__. So
      >>> from calendar import *; weekheader
    triggers a NameError.

    Fix is trivial. Just add 'weekheader' to __all__.

    @quiver quiver mannequin closed this as completed May 2, 2005
    @quiver quiver mannequin added the stdlib Python modules in the Lib dir label May 2, 2005
    @rhettinger
    Copy link
    Contributor

    Logged In: YES
    user_id=80475

    Lib/calendar.py 1.36 and 1.35.2.1

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant