
Hi, In the 3.9.5 documentation in the os module, the setxattr is listed https://docs.python.org/3/library/os.html#os.setxattr but the os.py source file doesn't have that function https://github.com/python/cpython/blob/3.9/Lib/os.py Has this functionality been removed or moved to another module? Thanks Kevin Languedoc Data Engineering Specialist SPÉCIALISTE EN INGÉNIERIE DE DONNÉES VICE-PRÉSIDENCE TECHNOLOGIES DE L'INFORMATION TÉL. : 438.680.3286 / FACEBOOK.COM/CCQ [cid:image001.png@01D74C8D.3EF5B9F0] DEVEZ-VOUS VRAIMENT IMPRIMER CE COURRIEL? PENSONS ENVIRONNEMENT. AVIS DE CONFIDENTIALITÉ L'information contenue dans ce message est de nature privilégiée et confidentielle. Elle ne peut être utilisée que par la personne ou l'entité dont le nom apparaît ci-dessus. Si le lecteur de ce message n'est pas le destinataire prévu, il est prié de noter qu'il est strictement interdit de divulguer, de distribuer ou de copier ce message. Si ce message vous a été transmis par erreur, veuillez nous en aviser immédiatement et supprimer cette copie.

On Fri, 21 May 2021, 17:17 Languedoc, Kevin, <Kevin.Languedoc@ccq.org> wrote:
Hi Kevin, Certain functions in the OS module are implemented in C, and imported in os.py. See https://github.com/python/cpython/blob/3.9/Lib/os.py#L55 and https://github.com/python/cpython/blob/3.9/Modules/posixmodule.c for example. Best, Pradyun

Thanks for the feedback kevin De : Pradyun Gedam <pradyunsg@gmail.com> Envoyé : 21 mai 2021 15:54 À : Languedoc, Kevin <Kevin.Languedoc@ccq.org> Cc : docs@python.org Objet : Re: [docs] os.setxattr ATTENTION: Ce courriel provient de l'extérieur de l'organisation. Ne cliquez pas sur les liens et n'ouvrez pas les pièces jointes, à moins de connaître l'expéditeur et de savoir que le contenu est sécuritaire On Fri, 21 May 2021, 17:17 Languedoc, Kevin, <Kevin.Languedoc@ccq.org<mailto:Kevin.Languedoc@ccq.org>> wrote: Hi, In the 3.9.5 documentation in the os module, the setxattr is listed https://docs.python.org/3/library/os.html#os.setxattr but the os.py source file doesn’t have that function https://github.com/python/cpython/blob/3.9/Lib/os.py Has this functionality been removed or moved to another module? Thanks Kevin Languedoc Data Engineering Specialist Hi Kevin, Certain functions in the OS module are implemented in C, and imported in os.py. See https://github.com/python/cpython/blob/3.9/Lib/os.py#L55 and https://github.com/python/cpython/blob/3.9/Modules/posixmodule.c for example. Best, Pradyun

On Fri, 21 May 2021, 17:17 Languedoc, Kevin, <Kevin.Languedoc@ccq.org> wrote:
Hi Kevin, Certain functions in the OS module are implemented in C, and imported in os.py. See https://github.com/python/cpython/blob/3.9/Lib/os.py#L55 and https://github.com/python/cpython/blob/3.9/Modules/posixmodule.c for example. Best, Pradyun

Thanks for the feedback kevin De : Pradyun Gedam <pradyunsg@gmail.com> Envoyé : 21 mai 2021 15:54 À : Languedoc, Kevin <Kevin.Languedoc@ccq.org> Cc : docs@python.org Objet : Re: [docs] os.setxattr ATTENTION: Ce courriel provient de l'extérieur de l'organisation. Ne cliquez pas sur les liens et n'ouvrez pas les pièces jointes, à moins de connaître l'expéditeur et de savoir que le contenu est sécuritaire On Fri, 21 May 2021, 17:17 Languedoc, Kevin, <Kevin.Languedoc@ccq.org<mailto:Kevin.Languedoc@ccq.org>> wrote: Hi, In the 3.9.5 documentation in the os module, the setxattr is listed https://docs.python.org/3/library/os.html#os.setxattr but the os.py source file doesn’t have that function https://github.com/python/cpython/blob/3.9/Lib/os.py Has this functionality been removed or moved to another module? Thanks Kevin Languedoc Data Engineering Specialist Hi Kevin, Certain functions in the OS module are implemented in C, and imported in os.py. See https://github.com/python/cpython/blob/3.9/Lib/os.py#L55 and https://github.com/python/cpython/blob/3.9/Modules/posixmodule.c for example. Best, Pradyun
participants (2)
-
Languedoc, Kevin
-
Pradyun Gedam