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 _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com