A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-December/094566.html below:

[Python-Dev] First draft of "sysconfig"

[Python-Dev] First draft of "sysconfig" [Python-Dev] First draft of "sysconfig"Antoine Pitrou solipsis at pitrou.net
Tue Dec 15 00:17:00 CET 2009
Dino Viehland <dinov <at> microsoft.com> writes:
> 
> > * get_platform():  Return a string that identifies the current
> > platform. (this one is used by site.py for example)
> 
> I wonder if this would make more sense a built-in.  Ultimately it seems 
> like the interpreter implementation knows best about what aspects of
> it's underlying platform would require different libraries.

I don't think it makes sense to make a builtin of such a little used,
non-performance critical API.
If we want to factor out all implementation-specific things, we could add a
module dedicated to that (e.g. "_interpreter") and have other modules (os,
platform, sysconfig...) draw from that.

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4