~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Doc/extending/windows.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
   This chapter mentions a number of filenames that include an encoded Python
25
25
   version number.  These filenames are represented with the version number shown
26
 
   as ``XY``; in practive, ``'X'`` will be the major version number and ``'Y'``
 
26
   as ``XY``; in practice, ``'X'`` will be the major version number and ``'Y'``
27
27
   will be the minor version number of the Python release you're working with.  For
28
28
   example, if you are using Python 2.2.1, ``XY`` will actually be ``22``.
29
29
 
102
102
   and it should call :cfunc:`Py_InitModule` with the string ``"spam"`` as its
103
103
   first argument (use the minimal :file:`example.c` in this directory as a guide).
104
104
   By convention, it lives in a file called :file:`spam.c` or :file:`spammodule.c`.
105
 
   The output file should be called :file:`spam.dll` or :file:`spam.pyd` (the
106
 
   latter is supported to avoid confusion with a system library :file:`spam.dll` to
107
 
   which your module could be a Python interface) in Release mode, or
108
 
   :file:`spam_d.dll` or :file:`spam_d.pyd` in Debug mode.
 
105
   The output file should be called :file:`spam.pyd` (in Release mode) or  
 
106
   :file:`spam_d.pyd` (in Debug mode). The extension :file:`.pyd` was chosen
 
107
   to avoid confusion with a system library :file:`spam.dll` to which your module
 
108
   could be a Python interface.
 
109
 
 
110
   .. versionchanged:: 2.5
 
111
      Previously, file names like :file:`spam.dll` (in release mode) or
 
112
      :file:`spam_d.dll` (in debug mode) were also recognized.
109
113
 
110
114
   Now your options are:
111
115