/
githubmirror
/
cpython
ОбзорДокументацияВойти
/
githubmirror
/
cpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
cpython/
PC/
..
clinic

gh-150285: Fix too long docstrings in _wmi.exec_query (GH-150373)

3 месяца назад
icons

gh-71648: Optimize PNG files (GH-138842)

год назад
layout

gh-153511: Removes Tools/msi, Tools/nuget, and legacy py.exe launcher sources (GH-153512)

21 день назад
WinMain.c

bpo-45434: pyport.h no longer includes <stdlib.h> (GH-28914)

5 лет назад
_testconsole.c

gh-111178: fix incorrect function signatures for Windows builds (#133072)

год назад
_wmimodule.cpp

gh-150285: Fix too long docstrings in _wmi.exec_query (GH-150373)

3 месяца назад
config.c

gh-152433: Windows: enable mmapmodule for UWP (#152473)

месяц назад
config_minimal.c

gh-102255: Improve build support for Windows API partitions (GH-102256)

3 года назад
crtlicense.txt

Implement Windows release builds in Azure Pipelines (GH-14065)

7 лет назад
dl_nt.c

bpo-41054: Simplify resource compilation on Windows (GH-21004)

6 лет назад
errmap.h

gh-89240: Enable multiprocessing on Windows to use large process pools (GH-107873)

2 года назад
frozen_dllmain.c

Use GetModuleHandleW to avoid *A functions where possible.

15 лет назад
invalid_parameter_handler.c

Issue #23524: Replace _PyVerify_fd function with calls to _set_thread_local_invalid_parameter_handler.

11 лет назад
msvcrtmodule.c

gh-69573: Check the return value of msvcrt._putch() and _putwch() (GH-154364)

18 дней назад
pyconfig.h

gh-149499: Fixes for 3.16 bump (GH-149500)

3 месяца назад
python.manifest

Add Windows version comments to the python manifest. (GH-127439)

2 года назад
python3dll.c

gh-149101: Implement PEP 788 (GH-149116)

3 месяца назад
python_exe.rc

bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource files (GH-29501)

5 лет назад
python_nt.rc

bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource files (GH-29501)

5 лет назад
python_uwp.cpp

Silence experimental coroutine deprecation warnings (#150788)

2 месяца назад
python_ver_rc.h

gh-137210: Move PYTHON_API_VERSION & PYTHON_ABI_VERSION to patchlevel.h (GH-138545)

год назад
pythonw_exe.rc

bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource files (GH-29501)

5 лет назад
readme.txt

Remove references to old Windows source files from internal documentation (GH-102216)

3 года назад
sqlite3.rc

bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource files (GH-29501)

5 лет назад
validate_ucrtbase.py

Issue #27705: Update message in validate_ucrtbase.py

10 лет назад
venvlauncher.c

gh-126433: Fix compiler warnings on 32-bit Windows (#126444)

2 года назад
winreg.c

gh-142579: Remove the self converter hack in winreg.c (GH-142580)

8 месяцев назад
winsound.c

gh-131453: Add additional constants to winsound module (GH-131454)

год назад
zbuild.h

gh-91349: Replace zlib with zlib-ng in Windows build (GH-131438)

год назад
zconf-ng.h

gh-91349: Replace zlib with zlib-ng in Windows build (GH-131438)

год назад
zconf.h

gh-91349: Replace zlib with zlib-ng in Windows build (GH-131438)

год назад
readme.txt
Welcome to the "PC" subdirectory of the Python distribution
***********************************************************
 
This "PC" subdirectory contains complete project files to make
several older PC ports of Python, as well as all the PC-specific
Python source files. It should be located in the root of the
Python distribution, and there should be directories "Modules",
"Objects", "Python", etc. in the parent directory of this "PC"
subdirectory. Be sure to read the documentation in the Python
distribution.
 
Python requires library files such as string.py to be available in
one or more library directories. The search path of libraries is
set up when Python starts. To see the current Python library search
path, start Python and enter "import sys" and "print sys.path".
 
All PC ports use this scheme to try to set up a module search path:
 
1) The script location; the current directory without script.
2) The PYTHONPATH variable, if set.
3) Paths specified in the Registry.
4) Default directories lib, lib/win, lib/test, lib/tkinter;
these are searched relative to the environment variable
PYTHONHOME, if set, or relative to the executable and its
ancestors, if a landmark file (Lib/string.py) is found ,
or the current directory (not useful).
5) The directory containing the executable.
 
The best installation strategy is to put the Python executable and
DLL in some convenient directory such as
C:/python, and copy all library files and subdirectories (using XCOPY)
to C:/python/lib. Then you don't need to set PYTHONPATH. Otherwise,
set the environment variable PYTHONPATH to your Python search path.
For example,
set PYTHONPATH=.;d:\python\lib;d:\python\lib\win;d:\python\lib\dos-8x3
 
There are several add-in modules to build Python programs which use
the native Windows operating environment. The ports here just make
"QuickWin" and DOS Python versions which support a character-mode
(console) environment. Look in www.python.org for Tkinter, PythonWin,
WPY and wxPython.
 
To make a Python port, start the Integrated Development Environment
(IDE) of your compiler, and read in the native "project file"
(or makefile) provided. This will enable you to change any source
files or build settings so you can make custom builds.
 
pyconfig.h An important configuration file specific to PC's.
 
config.c The list of C modules to include in the Python PC
version. Manually edit this file to add or
remove Python modules.
 
 
Additional files and subdirectories for 32-bit Windows
======================================================
 
python_nt.rc Resource compiler input for python15.dll.
 
dl_nt.c
Additional sources used for 32-bit Windows features.
 
 
Note for Windows 3.x and DOS users
==================================
 
Neither Windows 3.x nor DOS is supported any more. The last Python
version that supported these was Python 1.5.2; the support files were
present in Python 2.0 but weren't updated, and it is not our intention
to support these platforms for Python 2.x.