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
Comments
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, |
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. |
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. |
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. |
Antoine, I'm traveling and don't have immediate access to my svn checkout. Can you fix this please? |
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. |
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. |
Éric, go ahead and fix this please. |
Done in r88442. I found a missing closing quote and fixed it too. |
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: