This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dormouse759
Recipients Dormouse759
Date 2017-05-19.11:20:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495192842.98.0.357031276673.issue30403@psf.upfronthosting.co.za>
In-reply-to
Content
Currently the -m switch does not work with extension modules:
    
    $ python3 -m math

    /usr/bin/python3: No code object available for math


In order to enable extension modules to behave like Python source modules,
the -m switch should be supported.

Please, see this proof of concept:
https://github.com/Traceur759/cpython/tree/main_c_modules
History
Date User Action Args
2017-05-19 11:20:43Dormouse759setrecipients: + Dormouse759
2017-05-19 11:20:42Dormouse759setmessageid: <1495192842.98.0.357031276673.issue30403@psf.upfronthosting.co.za>
2017-05-19 11:20:42Dormouse759linkissue30403 messages
2017-05-19 11:20:42Dormouse759create