- 26 Ock, 2018 1 kayıt (commit)
-
-
Guido van Rossum yazdı
* Document `from __future__ import annotations` * Provide plumbing and tests for `from __future__ import annotations` * Implement unparsing the AST back to string form This is required for PEP 563 and as such only implements a part of the unparsing process that covers expressions.
-
- 23 Ock, 2018 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 20 Ock, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
Add https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html to auto-detect compiler flags, linker flags and libraries to compile OpenSSL extensions. The M4 macro uses pkg-config and falls back to manual detection. Add autoconf magic to detect usable X509_VERIFY_PARAM_set1_host() and related functions. Refactor setup.py to use new config vars to compile _ssl and _hashlib modules. Signed-off-by: Christian Heimes <christian@python.org>
-
- 16 Ock, 2018 1 kayıt (commit)
-
-
Christian Heimes yazdı
Use an improved version of multissl test helper to compile a local copy of OpenSSL 1.1.0g. Signed-off-by: Christian Heimes <christian@python.org>
-
- 09 Ock, 2018 1 kayıt (commit)
-
-
Ned Deily yazdı
-
- 15 Ara, 2017 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 14 Ara, 2017 1 kayıt (commit)
-
-
INADA Naoki yazdı
-
- 04 Ara, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Revert "bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. (#4681)" This reverts commit 13badcbc. Re-apply commits: * "bpo-32030: _PyPathConfig_Init() sets home and program_name (#4673)" commit af5a8950. * "bpo-32030: Fix config_get_program_name() on macOS (#4669)" commit e23c06e2. * "bpo-32030: Add Python/pathconfig.c (#4668)" commit 0ea395ae. * "bpo-32030: Don't call _PyPathConfig_Fini() in Py_FinalizeEx() (#4667)" commit ebac19da. * "bpo-32030: Fix Py_GetPath(): init program_name (#4665)" commit 9ac3d888. * Fix compilation error on macOS
-
- 02 Ara, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
* Revert "bpo-32030: _PyPathConfig_Init() sets home and program_name (#4673)" This reverts commit af5a8950. * Revert "bpo-32030: Fix config_get_program_name() on macOS (#4669)" This reverts commit e23c06e2. * Revert "bpo-32030: Add Python/pathconfig.c (#4668)" This reverts commit 0ea395ae. * Revert "bpo-32030: Don't call _PyPathConfig_Fini() in Py_FinalizeEx() (#4667)" This reverts commit ebac19da. * Revert "bpo-32030: Fix Py_GetPath(): init program_name (#4665)" This reverts commit 9ac3d888.
-
- 01 Ara, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Factorize code from PC/getpathp.c and Modules/getpath.c to remove duplicated code * rename pathconfig_clear() to _PyPathConfig_Clear() * Inline _PyPathConfig_Fini() in pymain_impl() and then remove it, since it's a oneliner
-
- 30 Kas, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Avoid also "cd $(srcdir)" to not change the current directory.
-
- 24 Kas, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
bpo-32096, bpo-30860: Partially revert the commit 2ebc5ce4: * Move structures back from Include/internal/mem.h to Objects/obmalloc.c * Remove _PyObject_Initialize() and _PyMem_Initialize() * Remove Include/internal/pymalloc.h * Add test_capi.test_pre_initialization_api(): Make sure that it's possible to call Py_DecodeLocale(), and then call Py_SetProgramName() with the decoded string, before Py_Initialize(). PyMem_RawMalloc() and Py_DecodeLocale() can be called again before _PyRuntimeState_Init(). Co-Authored-By: Eric Snow <ericsnowcurrently@gmail.com>
-
- 08 Kas, 2017 1 kayıt (commit)
-
-
xdegaye yazdı
-
- 05 Kas, 2017 1 kayıt (commit)
-
-
luzpaz yazdı
-
- 02 Kas, 2017 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
* bpo-28643: Record profile-opt build progress with stamp files The profile-opt makefile target is expensive to build. Since the makefile does not contain complete dependency information for this target, much extra work can get done if the build is interrupted and re-started. Even running "make" a second time will result in a huge amount of redundant work. As a minimal fix (rather than removing recursive "make" and adding a proper dependency graph), split the profile-opt target into parts: - ensure tree is clean (profile-clean-stamp) - build with profile generation enabled (profile-gen-stamp) - run task to generate profile information (profile-run-stamp) - build optimized Python using above information (profile-opt) We use "stamp" files to record completion of the steps. Running "make clean" will not remove the profile-run-stamp file. Other minor changes: - remove the "build_all_use_profile" target. I don't expect callers of the makefile to use this target so that should be safe. - remove execution of "profile-removal" at end of "profile-opt". I don't see any reason to not to keep the profile information, given the cost to generate it. Removing the "profile-run-stamp" file will force re-generation of it.
-
- 24 Eki, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Add Tools/scripts/smelly.py: script checking if all symbols exported by libpython start with "Py" or "_Py". * Modify "make smelly" to run smelly.py: the command now fails with a non-zero exit code if libpython leaks a "smelly" symbol. * Travis CI now runs "make smelly"
-
- 29 Eyl, 2017 2 kayıt (commit)
-
-
Benjamin Peterson yazdı
$^ is not portable. closes bpo-31625
-
Benjamin Peterson yazdı
Instead, simply pass 's' to ar.
-
- 20 Eyl, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
* bpo-31536: Avoid wholesale rebuild after `make regen-all` * Add NEWS
-
- 11 Eyl, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 08 Eyl, 2017 2 kayıt (commit)
-
-
octaviansoldea yazdı
Allow configure --with-lto to apply to all builds, not just profile-opt builds. Whether this is actually useful or not must be determined by the person building CPython using their own toolchain. My own quick test on x86_64 Debian 9 (gcc 6.3, binutils 2.28) seemed to suggest that it wasn't, but I expect better toolchains can or will exist at some point. The point is to allow it at all.
-
Eric Snow yazdı
* group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py).
-
- 07 Eyl, 2017 2 kayıt (commit)
-
-
Antoine Pitrou yazdı
* Remove Setup.config * Always define WITH_THREAD for compatibility.
-
Christian Heimes yazdı
Signed-off-by: Christian Heimes <christian@python.org>
-
- 06 Eyl, 2017 2 kayıt (commit)
-
-
Eric Snow yazdı
Windows buildbots started failing due to include-related errors.
-
Eric Snow yazdı
* group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py).
-
- 18 Agu, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 27 Tem, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 30 Haz, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Make tests fail if a test altered the environment.
-
- 27 May, 2017 2 kayıt (commit)
-
-
Gregory P. Smith yazdı
* bpo-30492: Allow make clinic to work out of tree. * Use os.curdir instead of "." as the default value.
-
xdegaye yazdı
Extension modules listed after the *disabled* marker are not built at all, neither by the Makefile nor by setup.py.
-
- 23 May, 2017 1 kayıt (commit)
-
-
Eric Snow yazdı
PEP 432 specifies a number of large changes to interpreter startup code, including exposing a cleaner C-API. The major changes depend on a number of smaller changes. This patch includes all those smaller changes.
-
- 22 May, 2017 1 kayıt (commit)
-
-
Stéphane Wirtel yazdı
-
- 10 May, 2017 1 kayıt (commit)
-
-
stratakis yazdı
* bpo-28787: Fix out of tree --with-dtrace builds * Unsilence directory creation * Add Misc/NEWS and Misc/ACKS entries
-
- 09 May, 2017 1 kayıt (commit)
-
-
Xiang Zhang yazdı
-
- 05 May, 2017 1 kayıt (commit)
-
-
torsava yazdı
* bpo-29243: Fix Makefile with respect to --enable-optimizations When using the Profile Guided Optimization (./configure --enable-optimizations) Python is built not only during `make` but rebuilt again during `make test`, `make install` and others. This patch fixes the issue. Note that this fix produces no change at all in the Makefile if configure is run witout --enable-optimizations. * !squash
-
- 03 May, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python.
-
- 28 Nis, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
On clang, only compile dtoa.c with -fno-strict-aliasing, use strict aliasing to compile all other C files.
-
- 24 Mar, 2017 1 kayıt (commit)
-
-
Alex Dzyoba yazdı
* Fix `make tags` warnings `make tags` target tries to find C sources and headers in "Grammar" and "Mac" folders and generates these warnings: ctags: Warning: cannot open source file "Grammar/*.[ch]" : No such file or directory ctags: Warning: cannot open source file "Mac/*.[ch]" : No such file or directory This commit changes $SRCDIRS variable in configure.ac to remote these directories. This variable is used only for tags generation. Also, "configure" was regenerated with `autoreconf`. * Fix `make tags` fail on non-default tag names When ctags overrides default tags filename (e.g. `-f .tags`) `make tags` is failed because it assumes to see default `tags` filename: sort: cannot read: tags: No such file or directory This commit explicitly specifies "tags" filename for tags generation.
-
- 04 Mar, 2017 1 kayıt (commit)
-
-
Ned Deily yazdı
sys.version and the platform module python_build(), python_branch(), and python_revision() functions now use git information rather than hg when building from a repo. Based on original patches by Brett Cannon and Steve Dower.
-