DeprecationWarning for Python3.6 - Loaders create_module()
Raúl Cumplido <[email protected]> Tue, 17 Nov 2015 10:18:19 +0000
| Newsgroups | gmane.comp.python.import |
|---|---|
| Message-ID | <CAD1RbrpkyirhqjwLmnGRRtNVkxrgo-8OcqjfS_6_-jUz6gC1Fg@mail.gmail.com> |
--===============7157514416365470477== Content-Type: multipart/alternative; boundary=001a113d812e459e2b0524b9d8ee --001a113d812e459e2b0524b9d8ee Content-Type: text/plain; charset=UTF-8 Hi all, I am preparing a talk for PyCon ES (Spanish PyCon) about the import machinery and I was taking a look on the importlib/_bootstrap.py#module_from_spec I see there is a Deprecation warning as on Python3.6 loaders defining exec module must also define create module, but there is also a comment that says: "Typically loaders will not implement create_module()" I see that a little bit contradictory, what are the expected changes for the new Python3.6 version? Are the existing Loaders going to be changed to implement create_module? Sorry if this has been explained before but I cannot find in the archives the rationale for that. Kind Regards, Raul --001a113d812e459e2b0524b9d8ee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi all,<div><br></div><div>I am preparing a talk for PyCon= ES (Spanish PyCon) about the import machinery and I was taking a look on t= he importlib/_bootstrap.py#module_from_spec</div><div><br></div><div>I see = there is a Deprecation warning as on Python3.6 loaders defining exec module= must also define create module, but there is also a comment that says: &qu= ot;Typically loaders will not implement create_module()"</div><div><br= ></div><div>I see that a little bit contradictory, what are the expected ch= anges for the new Python3.6 version? Are the existing Loaders going to be c= hanged to implement create_module?</div><div><br></div><div>Sorry if this h= as been explained before but I cannot find in the archives the rationale fo= r that.</div><div><br></div><div>Kind Regards,</div><div>Raul</div></div> --001a113d812e459e2b0524b9d8ee-- --===============7157514416365470477== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Import-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/import-sig --===============7157514416365470477==--