Home
last modified time | relevance | path

Searched +full:- +full:- +full:with +full:- +full:pydebug (Results 1 – 25 of 64) sorted by relevance

123

/external/python/cpython2/PC/os2vacpp/
Dmakefile.omk3 # Top-Level Makefile for Building Python for OS/2
5 # This makefile was developed for use with IBM's VisualAge C/C++
6 # for OS/2 compiler, version 3.0, with Fixpack 8 applied. It uses
14 # These two binaries can be statically linked with the VisualAge C/C++
21 # 20-Nov-97 jrr Cleaned Up for Applying to Distribution
22 # 29-Oct-97 jrr Modified for Use with Python 1.5 Alpha 4
23 # 03-Aug-96 jrr Original for Use with Python 1.4 Release
91 # atof.c -- Implementation for Platforms w/o This Function
92 # dup2.c -- Implementation for Platforms w/o This Function
93 # fmod.c -- Implementation for Platforms w/o This Function
[all …]
Dmakefile3 # Top-Level Makefile for Building Python for OS/2
5 # This makefile was developed for use with IBM's VisualAge C/C++
6 # for OS/2 compiler, version 3.0, with Fixpack 8 applied. It uses
7 # version 4.0 of the NMAKE tool that comes with that package.
14 # These two binaries can be statically linked with the VisualAge C/C++
29 # 26-Sep-98 jrr Retested and adjusted for building w/Python 1.5.2a1
30 # 20-Nov-97 jrr Cleaned Up for Applying to Distribution
31 # 29-Oct-97 jrr Modified for Use with Python 1.5 Alpha 4
32 # 03-Aug-96 jrr Original for Use with Python 1.4 Release
75 @ $(CC) -c $(CFLAGS) -Fo$@ $< >>$(ERRS)
[all …]
/external/python/cpython3/Modules/_decimal/tests/
Drunall-memorydebugger.sh4 # Purpose: test with and without contextvar, all machine configurations, pydebug,
5 # refleaks, release build and release build with valgrind.
7 # Synopsis: ./runall-memorydebugger.sh [--all-configs64 | --all-configs32]
18 CONFIGS_32="ppro ansi32 ansi-legacy universal"
20 VALGRIND="valgrind --tool=memcheck --leak-resolution=high \
21 --suppressions=Misc/valgrind-python.supp"
25 *--all-configs64*)
28 *--all-configs32*)
45 len=`echo $@ | wc -c`
46 margin="#%"`expr \( 74 - $len \) / 2`"s"
[all …]
/external/python/cpython3/.github/workflows/
Dbuild.yml3 # bpo-40548: "paths-ignore" is not used to skip documentation-only PRs, because
5 # mandatory but not scheduled because of "paths-ignore".
9 - master
10 - 3.9
11 - 3.8
12 - 3.7
15 - master
16 - 3.9
17 - 3.8
18 - 3.7
[all …]
Ddoc.yml6 # - master
7 # - 3.9
8 # - 3.8
9 # - 3.7
11 # - 'Doc/**'
14 - master
15 - 3.9
16 - 3.8
17 - 3.7
19 - 'Doc/**'
[all …]
/external/protobuf/python/google/protobuf/internal/
Dtesting_refleaks.py1 # Protocol Buffers - Google's data interchange format
3 # https://developers.google.com/protocol-buffers/
5 # Redistribution and use in source and binary forms, with or without
13 # in the documentation and/or other materials provided with the
34 - Use testing_refleak.BaseTestCase instead of unittest.TestCase
35 - Configure and compile Python with --with-pydebug
38 the Py_DEBUG option), then this module is a no-op and tests will run normally.
95 refcount_deltas.append(newrefcount - oldrefcount)
100 except Exception: # pylint: disable=broad-except
124 # When PyDEBUG is not enabled, run the tests normally.
/external/python/cpython2/Lib/distutils/command/
Dbuild.py22 ('build-base=', 'b',
24 ('build-purelib=', None,
25 "build directory for platform-neutral distributions"),
26 ('build-platlib=', None,
27 "build directory for platform-specific distributions"),
28 ('build-lib=', None,
30 "build-purelib or build-platlib"),
31 ('build-scripts=', None,
33 ('build-temp=', 't',
35 ('plat-name=', 'p',
[all …]
/external/python/cpython3/Lib/distutils/command/
Dbuild.py21 ('build-base=', 'b',
23 ('build-purelib=', None,
24 "build directory for platform-neutral distributions"),
25 ('build-platlib=', None,
26 "build directory for platform-specific distributions"),
27 ('build-lib=', None,
29 "build-purelib or build-platlib"),
30 ('build-scripts=', None,
32 ('build-temp=', 't',
34 ('plat-name=', 'p',
[all …]
/external/python/cpython3/.azure-pipelines/
Dmacos-steps.yml2 - checkout: self
6 - script: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-azd…
9 - script: make -j4
12 - script: make pythoninfo
15 - script: make buildbottest TESTOPTS="-j4 -uall,-cpu --junit-xml=$(build.binariesDirectory)/test-re…
20 - task: PublishTestResults@2
23 testResultsFiles: '$(build.binariesDirectory)/test-results.xml'
Dposix-steps.yml9 - checkout: self
14 - script: sudo setfacl -Rb /home/vsts
17 - script: ${{ parameters.sudo_dependencies }} ./.azure-pipelines/posix-deps-${{ parameters.dependen…
20 - script: ./configure --with-pydebug
23 - script: make -j4
26 - ${{ if eq(parameters.coverage, 'true') }}:
27 - script: ./python -m venv venv && ./venv/bin/python -m pip install -U coverage
30 - script: ./venv/bin/python -m test.pythoninfo
33 - script: |
34 $COMMAND -m coverage run --pylib -m test \
[all …]
/external/python/cpython2/
D.travis.yml6 # To cache doc-building dependencies and C compiler output.
8 - pip
9 - ccache
13 # Use -O3 because we don't use debugger on Travis-CI
14 - CFLAGS="-O3"
18 - master
19 - /^\d\.\d$/
20 - buildbot-custom
25 - env: OPTIONAL=true
27 - os: linux
[all …]
/external/python/cpython2/Misc/NEWS.d/
D2.7b2.rst4 .. release date: 2010-05-08
16 Fix inconsistency in range function argument processing: any non-float
17 non-integer argument is now converted to an integer (if possible) using its
29 ``sys.argv[0]`` is now set to '-m' instead of '-c' when searching for the
30 module file to be executed with the -m command line option.
39 When -Q is used, do not silence DeprecationWarning.
48 Remove the 16KB stack-based buffer in ``PyMarshal_ReadLastObjectFromFile``,
50 allocation fallback. Patch by Charles-François Natali.
88 That is, ``python setup.py install --user`` will install into
109 1GB with the zlib module's compressor and decompressor objects.
[all …]
/external/python/cpython3/Lib/test/
Dtest_dtrace.py19 DTrace keeps a per-CPU buffer, and when showing the fired probes, buffers
21 straight result can be "non-causal". So we add timestamps to the probe
24 # When compiling with '--with-pydebug', strip '[# refs]' debug output.
25 output = re.sub(r"\[[0-9]+ refs\]", "", output)
52 with open(abspath(name + self.EXTENSION + ".expected")) as f:
60 command += ["-c", subcommand]
74 python_flags.extend(["-O"] * optimize_python)
92 COMMAND = ["dtrace", "-q", "-s"]
97 COMMAND = ["stap", "-g"]
125 with open(abspath("call_stack.py")) as f:
[all …]
Dtest_source_encoding.py1 # -*- coding: koi8-r -*-
15 "�����".encode("utf-8"),
19 "\�".encode("utf-8"),
25 c = compile(b"\n# coding: utf-8\nu = '\xc3\xb3'\n", "dummy", "exec")
39 c = compile("# coding=latin-1\n\u00c6 = '\u00c6'", "dummy", "exec")
54 # check_bom() fails in pydebug mode: a buffer starts with the first
57 # one byte in common with the UTF-16-LE BOM
60 # one byte in common with the UTF-8 BOM
63 # two bytes in common with the UTF-8 BOM
76 compile(b'# -*- coding: iso-8859-15 -*-\n', 'dummy', 'exec')
[all …]
/external/python/cpython3/Include/
DPython.h3 /* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */
18 #error "Python's source code assumes C's unsigned char is an 8-bit type."
75 /* Debug-mode build with pymalloc implies PYMALLOC_DEBUG.
93 #include "pydebug.h"
/external/python/cpython2/Lib/test/
Dtest_source_encoding.py1 # -*- coding: koi8-r -*-
13 u"�����".encode("utf-8"),
17 u"\�".encode("utf-8"),
23 c = compile("\n# coding: utf-8\nu = u'\xc3\xb3'\n", "dummy", "exec")
37 # check_bom() fails in pydebug mode: a buffer starts with the first
40 # one byte in common with the UTF-16-LE BOM
43 # two bytes in common with the UTF-8 BOM
47 compile('# -*- coding: iso-8859-15 -*-\n', 'dummy', 'exec')
49 compile('\xef\xbb\xbf# -*- coding: utf-8 -*-\n', 'dummy', 'exec')
50 with self.assertRaisesRegexp(SyntaxError, 'fake'):
[all …]
Dpythoninfo.py126 # Were we compiled --with-pydebug or with #define Py_DEBUG?
193 # getlogin() fails with "OSError: [Errno 25] Inappropriate ioctl
291 proc = subprocess.Popen(["gdb", "-nx", "--version"],
513 args.append('--version')
520 # CC --version failed: ignore error
593 print("Collection failed: exit with error", file=sys.stderr)
/external/python/cpython2/Include/
DPython.h3 /* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */
11 /* Cyclic gc is always enabled, starting with release 2.3a1. Supply the
26 #error "Python's source code assumes C's unsigned char is an 8-bit type."
71 /* Debug-mode build with pymalloc implies PYMALLOC_DEBUG.
86 #include "pydebug.h"
156 /* Argument must be a char or an int in [-128, 127] or [0, 255]. */
168 /* GNU pth user-space thread support */
/external/python/cpython3/
D.travis.yml4 # To cache doc-building dependencies and C compiler output.
6 - pip
7 - ccache
8 - directories:
9 - $HOME/multissl
13 - OPENSSL=1.1.1f
14 - OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}"
15 - PATH="${OPENSSL_DIR}/bin:$PATH"
16 - CFLAGS="-I${OPENSSL_DIR}/include"
17 - LDFLAGS="-L${OPENSSL_DIR}/lib"
[all …]
DREADME.rst4 .. image:: https://travis-ci.org/python/cpython.svg?branch=3.9
6 :target: https://travis-ci.org/python/cpython
20 .. image:: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
25 Copyright (c) 2001-2020 Python Software Foundation. All rights reserved.
32 -------------------
34 - Website: https://www.python.org
35 - Source code: https://github.com/python/cpython
36 - Issue tracker: https://bugs.python.org
37 - Documentation: https://docs.python.org
38 - Developer's Guide: https://devguide.python.org/
[all …]
/external/python/cpython3/Misc/
DSpecialBuilds.txt1 This file describes some special Python build types enabled via compile-time
4 IMPORTANT: if you want to build a debug-enabled Python, it is recommended that
5 you use ``./configure --with-pydebug``, rather than the options listed here.
9 ``make EXTRA_CFLAGS="-DPy_REF_DEBUG"``.
13 ------------
17 Passing ``-X showrefcount`` on the command line causes the interactive
42 -------------
44 Build option: ``./configure --with-trace-refs``.
47 two more pointers, to maintain a doubly-linked list of all live heap-allocated
48 objects. Most built-in type objects are not in this list, as they're statically
[all …]
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a2.rst4 .. release date: 2015-03-09
18 New os.scandir() function, part of the :pep:`471`: "os.scandir() function -- a
54 .. nonce: 98F-PP
73 .. nonce: iQB-ba
103 Improved help() for non-recognized strings. help('') now shows the help on
125 Popen objects no longer leave a zombie after exit in the with statement if
155 Module-level turtle functions no longer raise TclError after closing the
162 .. nonce: icZb-I
166 assertions in regular expressions. (See also: bpo-9179)
175 Multibyte codecs with custom error handlers that ignores errors consumed too
[all …]
/external/python/cpython3/PCbuild/
Dreadme.txt2 -----------------
4 1. Install Microsoft Visual Studio 2017 with Python workload and
9 2. Run "build.bat" to build Python in 32-bit Release configuration.
10 3. (Optional, but recommended) Run the test suite with "rt.bat -q".
14 ------------------------------------------
19 Microsoft Visual Studio 2017 (MSVC 14.1) with the *Python workload* and
21 command-line builds, Visual Studio 2015 may also be used.)
31 used to build standard x86-compatible 32-bit binaries, output into the
32 win32 sub-directory. The x64 platform is used for building 64-bit AMD64
33 (aka x86_64 or EM64T) binaries, output into the amd64 sub-directory.
[all …]
/external/python/cpython2/Misc/
DSpecialBuilds.txt1 This file describes some special Python build types enabled via compile-time
4 IMPORTANT: if you want to build a debug-enabled Python, it is recommended that
5 you use ``./configure --with-pydebug``, rather than the options listed here.
9 ``make EXTRA_CFLAGS="-DPy_REF_DEBUG"``.
13 ------------
17 debug-mode build, this is where the "8288" comes from in
38 -------------
41 two more pointers, to maintain a doubly-linked list of all live heap-allocated
42 objects. Most built-in type objects are not in this list, as they're statically
48 compiled with Py_TRACE_REFS are incompatible with modules compiled without it.
[all …]
/external/python/cpython2/Tools/ssl/
Dmultissltests.py14 The script must be run with Python's build directory as current working
19 Linux with GCC and clang.
21 Please keep this script compatible with Python 2.7, and 3.4 to 3.7.
23 (c) 2013-2017 Christian Heimes <christian@python.org>
73 "Run CPython tests with multiple OpenSSL and LibreSSL "
78 '--debug',
83 '--disable-ancient',
88 '--openssl',
97 '--libressl',
106 '--tests',
[all …]

123