installing 2 and 3 alongside on MS Windows



Hi!

I'm using Python 2.7 for mostly unit testing here. I'm using
Boost.Python to wrap C++ code into a module, in another place I'm also
embedding Python as interpreter into a test framework. This is the stuff
that must work, it's important for production use. I'm running MS
Windows XP here and developing C++ with VS2005/VC8.

What I'm considering is installing Python 3 alongside, in order to
prepare the code for this newer version. What I'd like to know first is
whether there are any problems I'm likely to encounter and possible
workarounds.

Thank you!

Uli

PS: Dear lazyweb, is there any way to teach VC8 some syntax highlighting
for Python?
.



Relevant Pages

  • Re: New Python 3.0 string formatting - really necessary?
    ... other argument has to wrap all the rest of the arguments into one object: ... At the cost of breaking backwards compatibility, ... Again, at the cost of breaking backwards compatibility, Python could ...
    (comp.lang.python)
  • Re: Easier to wrap C or C++ libraries?
    ... the C lib or the C++ one? ... wrapping a library written in C; ... since Python supports OOP nicely, it might also be that wrapping C++ ... For Python bindings, is it easier to wrap C, or C++ libraries? ...
    (comp.lang.python)
  • Re: Referring to class methods in class attributes
    ... How does Python know what to wrap and what not to wrap, assuming of course programmer doesn't use @classmethod or @staticmethod? ... To make a long story short, the descriptor protocol specify that, when, ... PEP I don't see the way of accessing itself outside globals(and even then how would a function know its name -- well it shouldn't care about it really, as function object doesn't care how it's labelled, right?). ...
    (comp.lang.python)
  • Re: First question on extending Python...
    ... but it exposes a C API. ... Do I the C functions that I wrap in an extensions module for Python ... the case I think I can skip the intermediate C DLL. ...
    (comp.lang.python)
  • Re: how to handle broken pipes
    ... I can wrap all my print statements with try/except blocks but it looks ... I'm using my Python script this way: ... The script produces a lot of data. ... exit or re-raise) and it also incorrectly catches broken pipes ...
    (comp.lang.python)