This started happening a few days ago, about when Benjamin forward ported r69560 . There is an #ifdef in fileobject.h that makes a header for int _PyVerify_fd(int fd) but does not define it. It is likely related to r69495 . _fileio.obj : error LNK2019: unresolved external symbol __PyVerify_fd referenced in function _check_fd C:\py31\PC\VS8.0\\python31_d.dll : fatal error LNK1120: 1 unresolved externals
I think change for posixmodule.c is missing from r69495. (I confirmed other merges don't include posixmodule.c modification) Attached patch will fix this. (I don't have VS2005 or later, so I cannot test this on my machine)
I merged the change manually, and came to the same patch as ocean-city; Then I noticed that os.device_encoding() (new in python 3.0) needs the same check as well.
History
Date
User
Action
Args
2022-04-11 14:56:45
admin
set
github: 49556
2009-02-19 23:23:50
amaury.forgeotdarc
set
status: open -> closedresolution: fixedmessages: +