[Python-3000] Extension modules moving to py3k (was: No beta2 tonight)

Amaury Forgeot d'Arc amauryfa at gmail.com
Mon Jul 21 18:26:11 CEST 2008


Mark Hammond wrote:
...
>
> It seems that it would be a huge help to extension authors if porting tricks
> and hacks could be encapsulated in code that everyone can use.  In most
> cases some cool tricks in header files might be all that is necessary, but
> other cases may require special purpose helper functions designed purely to
> aid people trying to keep code working in both environments.
>
> Roger Upole, one of the main pywin32 contributors, recently started an
> attempt at porting pywin32 to py3k, and fell over at some fairly early
> hurdles (eg, working out how to move C code that creates and returns buffer
> objects to memory views), and I suspect each project will have a number of
> unique challenges to overcome - so if we can share the *common* pain and let
> them focus on their unique pain, 'dual-porting' efforts would stand a much
> greater chance of success.
>
> I'd love to help on this (even if the only reason is selfish - I believe
> pywin32 will *need* it while 2.x remains important.)  Who would get involved
> in such an effort?  How and where can we kick this off?

I suggest to start with a wiki page to collect items in random order,
then consolidate topics in the documentation, Doc/howto/2to3.rst for example.

-- 
Amaury Forgeot d'Arc


More information about the Python-3000 mailing list