1
0
Fork 0
python-docs-fr/library/platform.po

320 lines
9.7 KiB
Plaintext

# Copyright (C) 2001-2018, Python Software Foundation
# For licence information, see README file.
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-08-24 09:01+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: library/platform.rst:2
msgid ":mod:`platform` --- Access to underlying platform's identifying data"
msgstr ""
#: library/platform.rst:10
msgid "**Source code:** :source:`Lib/platform.py`"
msgstr "**Code source :** :source:`Lib/platform.py`"
#: library/platform.rst:16
msgid ""
"Specific platforms listed alphabetically, with Linux included in the Unix "
"section."
msgstr ""
#: library/platform.rst:21
msgid "Cross Platform"
msgstr ""
#: library/platform.rst:26
msgid ""
"Queries the given executable (defaults to the Python interpreter binary) for "
"various architecture information."
msgstr ""
#: library/platform.rst:29
msgid ""
"Returns a tuple ``(bits, linkage)`` which contain information about the bit "
"architecture and the linkage format used for the executable. Both values are "
"returned as strings."
msgstr ""
#: library/platform.rst:33
msgid ""
"Values that cannot be determined are returned as given by the parameter "
"presets. If bits is given as ``''``, the ``sizeof(pointer)`` (or "
"``sizeof(long)`` on Python version < 1.5.2) is used as indicator for the "
"supported pointer size."
msgstr ""
#: library/platform.rst:38
msgid ""
"The function relies on the system's :file:`file` command to do the actual "
"work. This is available on most if not all Unix platforms and some non-Unix "
"platforms and then only if the executable points to the Python interpreter. "
"Reasonable defaults are used when the above needs are not met."
msgstr ""
#: library/platform.rst:45
msgid ""
"On Mac OS X (and perhaps other platforms), executable files may be universal "
"files containing multiple architectures."
msgstr ""
#: library/platform.rst:48
msgid ""
"To get at the \"64-bitness\" of the current interpreter, it is more reliable "
"to query the :attr:`sys.maxsize` attribute::"
msgstr ""
#: library/platform.rst:56
msgid ""
"Returns the machine type, e.g. ``'i386'``. An empty string is returned if "
"the value cannot be determined."
msgstr ""
#: library/platform.rst:62
msgid ""
"Returns the computer's network name (may not be fully qualified!). An empty "
"string is returned if the value cannot be determined."
msgstr ""
#: library/platform.rst:68
msgid ""
"Returns a single string identifying the underlying platform with as much "
"useful information as possible."
msgstr ""
#: library/platform.rst:71
msgid ""
"The output is intended to be *human readable* rather than machine parseable. "
"It may look different on different platforms and this is intended."
msgstr ""
#: library/platform.rst:74
msgid ""
"If *aliased* is true, the function will use aliases for various platforms "
"that report system names which differ from their common names, for example "
"SunOS will be reported as Solaris. The :func:`system_alias` function is "
"used to implement this."
msgstr ""
#: library/platform.rst:79
msgid ""
"Setting *terse* to true causes the function to return only the absolute "
"minimum information needed to identify the platform."
msgstr ""
#: library/platform.rst:82
msgid ""
"On macOS, the function now uses :func:`mac_ver`, if it returns a non-empty "
"release string, to get the macOS version rather than the darwin version."
msgstr ""
#: library/platform.rst:90
msgid "Returns the (real) processor name, e.g. ``'amdk6'``."
msgstr ""
#: library/platform.rst:92
msgid ""
"An empty string is returned if the value cannot be determined. Note that "
"many platforms do not provide this information or simply return the same "
"value as for :func:`machine`. NetBSD does this."
msgstr ""
#: library/platform.rst:99
msgid ""
"Returns a tuple ``(buildno, builddate)`` stating the Python build number and "
"date as strings."
msgstr ""
#: library/platform.rst:105
msgid "Returns a string identifying the compiler used for compiling Python."
msgstr ""
#: library/platform.rst:110
msgid "Returns a string identifying the Python implementation SCM branch."
msgstr ""
#: library/platform.rst:115
msgid ""
"Returns a string identifying the Python implementation. Possible return "
"values are: 'CPython', 'IronPython', 'Jython', 'PyPy'."
msgstr ""
#: library/platform.rst:121
msgid "Returns a string identifying the Python implementation SCM revision."
msgstr ""
#: library/platform.rst:126
msgid "Returns the Python version as string ``'major.minor.patchlevel'``."
msgstr ""
#: library/platform.rst:128
msgid ""
"Note that unlike the Python ``sys.version``, the returned value will always "
"include the patchlevel (it defaults to 0)."
msgstr ""
#: library/platform.rst:134
msgid ""
"Returns the Python version as tuple ``(major, minor, patchlevel)`` of "
"strings."
msgstr ""
#: library/platform.rst:136
msgid ""
"Note that unlike the Python ``sys.version``, the returned value will always "
"include the patchlevel (it defaults to ``'0'``)."
msgstr ""
#: library/platform.rst:142
msgid ""
"Returns the system's release, e.g. ``'2.2.0'`` or ``'NT'`` An empty string "
"is returned if the value cannot be determined."
msgstr ""
#: library/platform.rst:148
msgid ""
"Returns the system/OS name, such as ``'Linux'``, ``'Darwin'``, ``'Java'``, "
"``'Windows'``. An empty string is returned if the value cannot be determined."
msgstr ""
#: library/platform.rst:154
msgid ""
"Returns ``(system, release, version)`` aliased to common marketing names "
"used for some systems. It also does some reordering of the information in "
"some cases where it would otherwise cause confusion."
msgstr ""
#: library/platform.rst:161
msgid ""
"Returns the system's release version, e.g. ``'#3 on degas'``. An empty "
"string is returned if the value cannot be determined."
msgstr ""
#: library/platform.rst:167
msgid ""
"Fairly portable uname interface. Returns a :func:`~collections.namedtuple` "
"containing six attributes: :attr:`system`, :attr:`node`, :attr:`release`, :"
"attr:`version`, :attr:`machine`, and :attr:`processor`."
msgstr ""
#: library/platform.rst:171
msgid ""
"Note that this adds a sixth attribute (:attr:`processor`) not present in "
"the :func:`os.uname` result. Also, the attribute names are different for "
"the first two attributes; :func:`os.uname` names them :attr:`sysname` and :"
"attr:`nodename`."
msgstr ""
#: library/platform.rst:176
msgid "Entries which cannot be determined are set to ``''``."
msgstr ""
#: library/platform.rst:178
msgid "Result changed from a tuple to a namedtuple."
msgstr "Le type renvoyé passe d'un sextuplet à un *namedtuple*."
#: library/platform.rst:183
msgid "Java Platform"
msgstr ""
#: library/platform.rst:188
msgid "Version interface for Jython."
msgstr ""
#: library/platform.rst:190
msgid ""
"Returns a tuple ``(release, vendor, vminfo, osinfo)`` with *vminfo* being a "
"tuple ``(vm_name, vm_release, vm_vendor)`` and *osinfo* being a tuple "
"``(os_name, os_version, os_arch)``. Values which cannot be determined are "
"set to the defaults given as parameters (which all default to ``''``)."
msgstr ""
#: library/platform.rst:197
msgid "Windows Platform"
msgstr ""
#: library/platform.rst:202
msgid ""
"Get additional version information from the Windows Registry and return a "
"tuple ``(release, version, csd, ptype)`` referring to OS release, version "
"number, CSD level (service pack) and OS type (multi/single processor)."
msgstr ""
#: library/platform.rst:206
msgid ""
"As a hint: *ptype* is ``'Uniprocessor Free'`` on single processor NT "
"machines and ``'Multiprocessor Free'`` on multi processor machines. The "
"*'Free'* refers to the OS version being free of debugging code. It could "
"also state *'Checked'* which means the OS version uses debugging code, i.e. "
"code that checks arguments, ranges, etc."
msgstr ""
#: library/platform.rst:214
msgid ""
"This function works best with Mark Hammond's :mod:`win32all` package "
"installed, but also on Python 2.3 and later (support for this was added in "
"Python 2.6). It obviously only runs on Win32 compatible platforms."
msgstr ""
#: library/platform.rst:221
msgid ""
"Returns a string representing the current Windows edition. Possible values "
"include but are not limited to ``'Enterprise'``, ``'IoTUAP'``, "
"``'ServerStandard'``, and ``'nanoserver'``."
msgstr ""
#: library/platform.rst:229
msgid ""
"Return ``True`` if the Windows edition returned by :func:`win32_edition` is "
"recognized as an IoT edition."
msgstr ""
#: library/platform.rst:236
msgid "Mac OS Platform"
msgstr ""
#: library/platform.rst:241
msgid ""
"Get Mac OS version information and return it as tuple ``(release, "
"versioninfo, machine)`` with *versioninfo* being a tuple ``(version, "
"dev_stage, non_release_version)``."
msgstr ""
#: library/platform.rst:245
msgid ""
"Entries which cannot be determined are set to ``''``. All tuple entries are "
"strings."
msgstr ""
#: library/platform.rst:250
msgid "Unix Platforms"
msgstr ""
#: library/platform.rst:254
msgid ""
"Tries to determine the libc version against which the file executable "
"(defaults to the Python interpreter) is linked. Returns a tuple of strings "
"``(lib, version)`` which default to the given parameters in case the lookup "
"fails."
msgstr ""
#: library/platform.rst:258
msgid ""
"Note that this function has intimate knowledge of how different libc "
"versions add symbols to the executable is probably only usable for "
"executables compiled using :program:`gcc`."
msgstr ""
#: library/platform.rst:262
msgid "The file is read and scanned in chunks of *chunksize* bytes."
msgstr ""