Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
Description
| BPO | 18210 |
|---|---|
| Nosy | @amauryfa, @tarekziade, @merwok |
| Files |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = 'https://github.com/merwok'
closed_at = <Date 2013-06-14.09:56:00.665>
created_at = <Date 2013-06-14.09:43:21.375>
labels = ['extension-modules', 'invalid', 'library']
title = 'Problem creating extension in python3.3 with mingw32'
updated_at = <Date 2013-06-14.09:56:00.663>
user = 'https://bugs.python.org/adityaatluri'bugs.python.org fields:
activity = <Date 2013-06-14.09:56:00.663>
actor = 'amaury.forgeotdarc'
assignee = 'eric.araujo'
closed = True
closed_date = <Date 2013-06-14.09:56:00.665>
closer = 'amaury.forgeotdarc'
components = ['Distutils', 'Extension Modules']
creation = <Date 2013-06-14.09:43:21.375>
creator = 'adityaatluri'
dependencies = []
files = ['30582']
hgrepos = []
issue_num = 18210
keywords = []
message_count = 2.0
messages = ['191113', '191114']
nosy_count = 4.0
nosy_names = ['amaury.forgeotdarc', 'tarek', 'eric.araujo', 'adityaatluri']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue18210'
versions = ['Python 3.3']Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
Activity
adityaatluri commentedon Jun 14, 2013
I am trying to build c extensions in windows using mingw32. The file hello.c works fine with 2.7 but, errors are poping up in 3.3.
Attachments:
[1] log.txt : The errors
[2] hello.c : The C file
[3] setup.py: The setup file
The command I used in cmd is, "python setup.py build -c mingw32"
amauryfa commentedon Jun 14, 2013
Python3 has a new API to create modules: PyModule_Create() and PyModuleDef.
See also:
http://docs.python.org/3/howto/cporting.html?highlight=pymodule_create#module-initialization-and-state