Changes between Version 4 and Version 5 of FAQ
- Timestamp:
- 06/29/2012 10:55:49 PM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ
v4 v5 1 {{{ 2 #!rst 1 [[PageOutline(1,Frequently Asked Questions)]] 3 2 4 === 5 FAQ 6 === 7 8 How compatible is using Stackless instead of regular Python? 9 ============================================================ 3 = Is this compatible with regular Python? = 10 4 11 5 It is possible to use Stackless in place of regular Python. … … 14 8 previously compiled against regular Python. 15 9 16 **There are some exceptions however..** :10 **There are some exceptions however..** 17 11 18 -Not all extensions are implemented in a friendly manner,19 and because of this may be unstable or unusable when combined20 with Stackless Python. One example of this, is PyQT_, which21 is based on an unfriendly package named SIP_. Read22 `this thread <http://www.stackless.com/pipermail/stackless/2007-April/000142.html>`_23 for further information.12 * Not all extensions are implemented in a friendly manner, 13 and because of this may be unstable or unusable when combined 14 with Stackless Python. One example of this, is [http://www.riverbankcomputing.co.uk/software/pyqt/intro PyQT], which 15 is based on an unfriendly package named [http://www.riverbankcomputing.co.uk/software/sip/intro SIP]. Read 16 [http://www.stackless.com/pipermail/stackless/2007-April/000142.html this thread] 17 for further information. 24 18 25 - The greenlet_extension module was extracted from Stackless26 Python, and provides a portion of the functionality that27 Stackless does. Because of this, using it with Stackless28 is an odd choice, and will not be supported in any way29 by the Stackless developers.19 * The [http://pypi.python.org/pypi/greenlet greenlet] extension module was extracted from Stackless 20 Python, and provides a portion of the functionality that 21 Stackless does. Because of this, using it with Stackless 22 is an odd choice, and will not be supported in any way 23 by the Stackless developers. 30 24 31 25 32 What's involved in installing Stackless alongside regular Python? 33 ================================================================= 26 = What's involved in installing Stackless alongside regular Python? = 34 27 35 For Windows 36 ----------- 28 == For Windows == 37 29 38 30 It depends on whether you are using the installers or not. … … 47 39 Stackless Python, in order to behave compatibly, needs to use the 48 40 same DLL names. If an installation of regular Python 2.6 has its 49 ``python26.dll``in place, then there is no way for Stackless to50 have its ``python26.dll``as a file of exactly the same name.41 ''python26.dll'' in place, then there is no way for Stackless to 42 have its ''python26.dll'' as a file of exactly the same name. 51 43 52 44 Otherwise you always have the option of having regular Python of … … 55 47 invoke it there when you have a need to do so. 56 48 57 For Unix-like systems 58 --------------------- 49 == For Unix-like systems == 59 50 60 51 It depends on the unique and special ways in which your particular … … 62 53 63 54 By default, when you compile and install Stackless, it will install 64 into ``/usr/local``with its executable also named python. Your55 into ''/usr/local'' with its executable also named python. Your 65 56 distribution provided regular Python installation, is most likely 66 installed in ``/usr``, and the Stackless Python executable will57 installed in ''/usr'', and the Stackless Python executable will 67 58 override its existing executable. The recommended approach is to 68 rename the Stackless Python executable to ``spython``, so that you59 rename the Stackless Python executable to ''spython'', so that you 69 60 can explicitly run it, but still have regular Python available as 70 61 python as it was before you installed Stackless. 71 62 72 There are two wikis.. WTF? 73 ========================== 63 = There are two wikis? = 74 64 75 65 Yes, there are. This is because of historical reasons. For now 76 66 example code intended for direct use and examination by user 77 67 should go into the examples Subversion repository and described in 78 `its wiki <http://code.google.com/p/stacklessexamples/wiki/StacklessExamples>`_.68 [http://code.google.com/p/stacklessexamples/wiki/StacklessExamples its wiki]. 79 69 80 70 This wiki better suits having example code and snippets for the 81 71 purposes illustrating the documentation which is provided here . 82 72 83 Where do i find more tutorials and resources? 84 ============================================= 73 = Where do i find more tutorials and resources? = 85 74 86 You can visit `this page <http://islab.org/stackless/>`_for more75 You can visit [http://islab.org/stackless/ this page] for more 87 76 tutorials and resources on stackless python. 88 89 .. _PYQT : http://www.riverbankcomputing.co.uk/software/pyqt/intro90 .. _SIP : http://www.riverbankcomputing.co.uk/software/sip/intro91 .. _greenlet : http://pypi.python.org/pypi/greenlet92 }}}