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 ocean-city
Recipients amaury.forgeotdarc, christian.heimes, loewis, ocean-city
Date 2008-06-13.00:40:53
SpamBayes Score 0.000916323
Marked as misclassified No
Message-id <1213317656.18.0.514114858898.issue2065@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you for progress!

>- The patch for 2.5 is OK for me. We could just add the a paragraph that
>appears in your patch for trunk (PC/VC6/readme.txt):
>+_msi
>+    _msi.c. You need to install Windows Installer SDK to build this
>module.

I agree.

>- I worked on your patch for trunk/ and py3k/ to allow compilation with
>a stock VC6 *without* a modern PlatformSDK installed (i.e NTDDI_VERSION
>is not defined)
>This is relevant only for socketmodule; with a stock VC6, IPV6 is not
>available, WSAIoctl is not exposed, and getaddrinfo() is emulated.

I'm not sure which is better way now. (with or without modern PSDK)
From cleaness of code, I think with modern PSDK is better.
http://archives.devshed.com/forums/development-94/error-building-python-bindings-with-ms-visual-c-6-0t-2074150.html
show subversion already seems to require modern PSDK to build it, if 
python uses modern PSDK and winsock2, workaround for socklen_t is not
needed anymore. clean. (this workaround itself is quite easy though)
Of cause, Amaury wants to go without modern PSDK, there is no strong
reason I will disturb it.

>- Replacing _wstat with GetFileAttributesW is good thing: stat("nul")
>says that the file exists!
>But it is not enough: try to "import con" or "import nul", before and
>after your patch. Fun in both cases (if you "import con", type some
>chars, and press ^Z)

Interesting. Current release25-maint branch has same issue, but
python2.5.2 doesn't have this issue. "import con" fails with following
message. Something changed from latest release?

>>> import con
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: 指定されたモジュールが見つかりません。

# It says "specified module cannot be found" in Japanese. Maybe is this
win32 error message via FormatMessage()?
History
Date User Action Args
2008-06-13 00:40:56ocean-citysetspambayes_score: 0.000916323 -> 0.000916323
recipients: + ocean-city, loewis, amaury.forgeotdarc, christian.heimes
2008-06-13 00:40:56ocean-citysetspambayes_score: 0.000916323 -> 0.000916323
messageid: <1213317656.18.0.514114858898.issue2065@psf.upfronthosting.co.za>
2008-06-13 00:40:55ocean-citylinkissue2065 messages
2008-06-13 00:40:53ocean-citycreate