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

Error in What's new 3.2rc3 with sysconfig.get_config_var('SO') #55443

Closed
chaica mannequin opened this issue Feb 17, 2011 · 9 comments
Closed

Error in What's new 3.2rc3 with sysconfig.get_config_var('SO') #55443

chaica mannequin opened this issue Feb 17, 2011 · 9 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@chaica
Copy link
Mannequin

chaica mannequin commented Feb 17, 2011

BPO 11234
Nosy @birkenfeld, @rhettinger, @merwok, @sandrotosi
Files
  • fix-11234.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 = 'https://github.com/merwok'
    closed_at = <Date 2011-02-24.16:48:53.802>
    created_at = <Date 2011-02-17.19:22:34.438>
    labels = ['docs']
    title = "Error in What's new 3.2rc3 with sysconfig.get_config_var('SO')"
    updated_at = <Date 2011-02-24.16:48:53.801>
    user = 'https://bugs.python.org/chaica'

    bugs.python.org fields:

    activity = <Date 2011-02-24.16:48:53.801>
    actor = 'eric.araujo'
    assignee = 'eric.araujo'
    closed = True
    closed_date = <Date 2011-02-24.16:48:53.802>
    closer = 'eric.araujo'
    components = ['Documentation']
    creation = <Date 2011-02-17.19:22:34.438>
    creator = 'chaica_'
    dependencies = []
    files = ['20788']
    hgrepos = []
    issue_num = 11234
    keywords = ['patch']
    message_count = 9.0
    messages = ['128747', '128748', '128818', '128819', '128830', '128850', '128869', '128874', '128875']
    nosy_count = 6.0
    nosy_names = ['georg.brandl', 'rhettinger', 'eric.araujo', 'chaica_', 'sandro.tosi', 'docs@python']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue11234'
    versions = ['Python 3.2']

    @chaica
    Copy link
    Mannequin Author

    chaica mannequin commented Feb 17, 2011

    Hi,

    It seems a mistake could be in the "What's new in Python 3.2" (rc3) documentation in the sysconfig.get_config_var('SO') example :

    >>> sysconfig.get_config_var('SO')       # find the full filename extension
    'cpython-32mu.so'
    
    On my system (Debian GNU/Linux, Python3.2rc3), the same command gives :
     
    >>> sysconfig.get_config_var('SO')
    '.cpython-32m.so'

    A dot at the beginning of the string could be missing in the example of the current documentation. This dot also appears in the example of the PEP-3149.

    Regards,
    Carl Chenet

    @chaica chaica mannequin assigned docspython Feb 17, 2011
    @chaica chaica mannequin added the docs Documentation in the Doc dir label Feb 17, 2011
    @sandrotosi
    Copy link
    Contributor

    On Thu, Feb 17, 2011 at 20:22, Carl Chenet <report@bugs.python.org> wrote:
    >>>> sysconfig.get_config_var('SO')
    > '.cpython-32m.so'
    >
    > A dot at the beginning of the string could be missing in the example of the current documentation. This dot also appears in the example of the PEP 3149.

    and also in a freshly built python from last checkout.

    @rhettinger
    Copy link
    Contributor

    I'll look at this later tonight.

    Eric, no marking "accepted" for tracker items without a patch. "Accepted" means that a patch has been reviewed and is okay to apply.

    @merwok
    Copy link
    Member

    merwok commented Feb 18, 2011

    In this case, I thought that the suggested addition of one dot in one place was equivalent to a patch, and maybe more useful (we don’t know if you have local edits in your file that would make the diff fuzzy). Anyway, I’m attaching the same fix in a diff form, for your convenience.

    @rhettinger
    Copy link
    Contributor

    Antoine, I'm traveling and don't have immediate access to my svn checkout. Can you fix this please?

    @rhettinger rhettinger assigned pitrou and unassigned rhettinger Feb 19, 2011
    @pitrou
    Copy link
    Member

    pitrou commented Feb 19, 2011

    Well, it's up to Georg to decide if it goes before 3.2. But I don't see the hurry: the online docs are rebuilt daily anyway.

    @pitrou pitrou assigned birkenfeld and unassigned pitrou Feb 19, 2011
    @merwok
    Copy link
    Member

    merwok commented Feb 19, 2011

    The online docs are rebuilt, but people may read the version bundled with a tarball or installer and wonder at the discrepancy, if they notice it.

    @merwok merwok changed the title Possible error in What's new Python3.2(rc3) documentation (sysconfig.get_config_var) Error in What's new 3.2rc3 with sysconfig.get_config_var('SO') Feb 19, 2011
    @rhettinger
    Copy link
    Contributor

    Éric, go ahead and fix this please.

    @rhettinger rhettinger assigned merwok and unassigned birkenfeld Feb 19, 2011
    @merwok
    Copy link
    Member

    merwok commented Feb 19, 2011

    Done in r88442. I found a missing closing quote and fixed it too.

    @merwok merwok closed this as completed Feb 24, 2011
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    5 participants