Commit Graph

1037 Commits

Author SHA1 Message Date
Serhiy Storchaka
ec466a15d9 Fixed indentation of Python examples in C comments. 2015-06-11 00:09:32 +03:00
Serhiy Storchaka
553e156921 Fixed indentation of Python examples in C comments. 2015-06-11 00:07:47 +03:00
Serhiy Storchaka
d741a88049 Fixed indentation of Python examples in C comments. 2015-06-11 00:06:39 +03:00
Eric Snow
06a6a83826 Issue #16991: Use the correct version for master. 2015-05-30 14:34:10 -06:00
Eric Snow
59b2f6803c Merge from 3.5. 2015-05-30 14:26:40 -06:00
Eric Snow
f3b73ad51d Issue #16991: Add PyODict* to Windows builds. 2015-05-30 14:19:27 -06:00
Yury Selivanov
7aa5341164 Reverting my previous commit.
Something went horribly wrong when I was doing `hg rebase`.
2015-05-30 10:57:56 -04:00
Zachary Ware
41a6a625d4 Update Windows build for 3.6 2015-05-28 17:30:03 -05:00
Steve Dower
f64b9d5c71 Fixes handling of long values of PYTHONPATH on Windows. 2015-05-23 17:34:50 -07:00
Steve Dower
11d7b1423f Issue #24268: Adds PyModuleDef_Init and PyModuleDef_Type to python3.def (stable ABI) 2015-05-23 14:44:37 -07:00
Nick Coghlan
d5cacbb1d9 PEP 489: Multi-phase extension module initialization
Known limitations of the current implementation:

- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet

The leak is most visible by running:

  ./python -m test -R3:3 test_importlib

However, you can also see it by running:

  ./python -X showrefcount

Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.
2015-05-23 22:24:10 +10:00
Steve Dower
4a7fe7e397 Issue #23955: Add pyvenv.cfg option to suppress registry/environment lookup for generating sys.path.
Also cleans up and secures getpathp.c
2015-05-22 15:10:10 -07:00
Zachary Ware
f4e6030542 Closes #21931: Merge with 3.4 2015-05-18 00:49:15 -05:00
Zachary Ware
0a29e898cd Issue #21931: Fix error handling in msilib.FCICreate().
Patch by Jeffrey Armstrong.
2015-05-18 00:47:15 -05:00
Steve Dower
71f574f707 Issue #23995: Removes _WCONIO_DEFINED check as the wchar_t console functions are always available. 2015-05-13 19:35:49 -07:00
Zachary Ware
77772c0e7b Issue #20172: Update clinicizations to current clinic. 2015-05-13 10:58:35 -05:00
Zachary Ware
4552089617 Issue #20172: Convert the msvcrt module to Argument Clinic. 2015-05-13 01:22:32 -05:00
Zachary Ware
fd2d482272 Issue #20172: Convert the winreg module to Argument Clinic. 2015-05-13 01:21:57 -05:00
Zachary Ware
73f8cfb040 Issue #20172: Convert the winsound module to Argument Clinic. 2015-05-13 01:21:21 -05:00
Zachary Ware
774ac377da Closes #17202: Merge with 3.4 2015-04-13 12:11:40 -05:00
Steve Dower
8fc8980c96 Issue #23524: Replace _PyVerify_fd function with calls to _set_thread_local_invalid_parameter_handler. 2015-04-12 00:26:27 -04:00
Serhiy Storchaka
bfbfc8deb2 Removed unintentional trailing spaces in text files. 2015-03-29 19:12:58 +03:00
Serhiy Storchaka
009b811d67 Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
Steve Dower
6dd20c2d52 Removes unused format string insertion in launcher.c. 2015-03-10 19:40:37 -07:00
Steve Dower
13be8c2691 Removes unused format string insertion in launcher.c. 2015-03-10 19:38:25 -07:00