Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-38187: Fix a refleak in Tools/c-analyzer. (gh-16304) | Eric Snow | 2019-09-27 | 7 | -40/+100 |
| | | | | | The "Slot" helper (descriptor) is leaking references due to its caching mechanism. The change includes a partial fix to Slot, but also adds Variable.storage to replace the problematic use of Slot. https://bugs.python.org/issue38187 | ||||
* | bpo-37064: Add option -a to pathfix.py tool (GH-15717) | PatrikKopkan | 2019-09-25 | 1 | -17/+56 |
| | | | Add option -a to Tools/Scripts/pathfix.py script: add flags. | ||||
* | bpo-38187: Fix reference leak in test_tools (GH-16233) | Pablo Galindo | 2019-09-17 | 1 | -0/+3 |
| | |||||
* | bpo-36876: Add a tool that identifies unsupported global C variables. (#15877) | Eric Snow | 2019-09-11 | 20 | -9/+4401 |
| | |||||
* | bpo-37064: Skip test_tools.test_pathfix if installed (GH-15705) | Victor Stinner | 2019-09-05 | 1 | -1/+5 |
| | | | | If Python is installed, skip test_tools.test_pathfix test because Tools/scripts/pathfix.py script is not installed. | ||||
* | bpo-37064: Add option -k to Tools/scripts/pathfix.py (GH-15548) | PatrikKopkan | 2019-09-05 | 1 | -0/+64 |
| | | | Add flag -k to pathscript.py script: preserve shebang flags. | ||||
* | bpo-37834: Normalise handling of reparse points on Windows (GH-15231) | Steve Dower | 2019-08-21 | 1 | -2/+4 |
| | | | | | | | | | | bpo-37834: Normalise handling of reparse points on Windows * ntpath.realpath() and nt.stat() will traverse all supported reparse points (previously was mixed) * nt.lstat() will let the OS traverse reparse points that are not name surrogates (previously would not traverse any reparse point) * nt.[l]stat() will only set S_IFLNK for symlinks (previous behaviour) * nt.readlink() will read destinations for symlinks and junction points only bpo-1311: os.path.exists('nul') now returns True on Windows * nt.stat('nul').st_mode is now S_IFCHR (previously was an error) | ||||
* | bpo-37704: Remove Tools/scripts/h2py.py (GH-15000) | Victor Stinner | 2019-07-30 | 1 | -1/+1 |
| | | | Use cffi to access a C API in Python. | ||||
* | bpo-37053: handle strings like u"bar" correctly in Tools/parser/unparse.py ↵ | Chih-Hsuan Yen | 2019-05-26 | 1 | -0/+5 |
| | | | | | | | | | | | | (GH-13583) Constant.kind is added in https://bugs.python.org/issue36280. Current possible values for Constant.kind are "u" or None. For r'bar' and b'bar', Constant.kind value is None, so there's no need for special handling. https://bugs.python.org/issue37053 | ||||
* | bpo-36766: Typos in docs and code comments (GH-13116) | penguindustin | 2019-05-06 | 1 | -1/+1 |
| | |||||
* | bpo-36776: Add @support.skip_unless_symlink to test_lll.py (GH-13058) | Zackery Spytz | 2019-05-02 | 1 | -0/+1 |
| | |||||
* | bpo-14546: Fix the argument handling in Tools/scripts/lll.py (GH-13026) | Zackery Spytz | 2019-05-02 | 1 | -0/+38 |
| | |||||
* | bpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406) | Victor Stinner | 2018-07-23 | 1 | -4/+14 |
| | | | | | | | | | | When Python is installed on Windows, python -m test test_tools failed because it tried to run Tools\scripts\2to3.py which requires an argument. Skip this script. On other platforms or on Windows but when run from source code (not installed), the script is called "2to3" instead of "2to.py" and so was already skipped. Modify also the unit test to unload all modules which have been loaded by the test. | ||||
* | bpo-33189: pygettext.py now accepts only literal strings (GH-6364) | Serhiy Storchaka | 2018-04-19 | 1 | -6/+65 |
| | | | | as docstrings and translatable strings, and rejects bytes literals and f-string expressions. | ||||
* | bpo-31920: Fixed handling directories as arguments in the ``pygettext`` ↵ | Serhiy Storchaka | 2018-04-09 | 1 | -1/+25 |
| | | | | | script. (GH-6259) Based on patch by Oleg Krasnikov. | ||||
* | bpo-32222: Fix pygettext skipping docstrings for funcs with arg typehints ↵ | Tobotimus | 2018-02-26 | 1 | -0/+88 |
| | | | | (GH-4745) | ||||
* | bpo-31174: Improve the code of test_tools.test_unparse. (#4146) | Serhiy Storchaka | 2017-10-27 | 1 | -8/+8 |
| | |||||
* | bpo-31174: Fix test_tools.test_unparse (#4102) | Victor Stinner | 2017-10-24 | 1 | -2/+13 |
| | | | | | test_unparse.DirectoryTestCase now stores the names sample to always test the same files. It prevents false alarms when hunting reference leaks. | ||||
* | Trivial cleanups following bpo-31370 (#3649) | Antoine Pitrou | 2017-09-18 | 1 | -1/+0 |
| | | | | | | * Trivial cleanups following bpo-31370 * Also cleanup the "importlib._bootstrap_external" module | ||||
* | bpo-30109: Fix reindent.py (GH-1207) | Mariatta | 2017-04-20 | 1 | -0/+7 |
| | | | Skip the file if it has bad encoding. | ||||
* | bpo-29972: Skip tests known to fail on AIX (#979) | Victor Stinner | 2017-04-04 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | * bpo-29972: Fix test_eintr on AIX On AIX, sigtimedwait(0.2) sleeps 199.8 ms, whereas the test expects 200 ms or longer. * bpo-29972: Skip some inet_pton() tests on AIX Skip some inet_pton() tests of test_socket on AIX. inet_pton() on AIX is less strict than on Linux and doesn't reject some invalid IP addresses. The unit tests test more the libc than Python itself. * bpo-29972: Skip tests known to fail on AIX * test_locale.test_strcoll_with_diacritic() * test_locale.test_strxfrm_with_diacritic() * test_strptime.test_week_of_year_and_day_of_week_calculation() * test_tools.test_POT_Creation_Date() | ||||
* | merge 3.5 | Benjamin Peterson | 2016-09-13 | 1 | -1/+2 |
|\ | |||||
| * | Issue #27952: Capture stderr in run_script() | Berker Peksag | 2016-09-13 | 1 | -1/+2 |
| | | |||||
* | | Issue #27952: Merge fixcid.py from 3.5 | Martin Panter | 2016-09-11 | 1 | -0/+91 |
|\ \ | |/ | |||||
| * | Issue #27952: Get fixcid.py working with the re module | Martin Panter | 2016-09-11 | 1 | -0/+91 |
| | | |||||
* | | Issue 27948: Allow backslashes in the literal string portion of f-strings, ↵ | Eric V. Smith | 2016-09-10 | 1 | -5/+5 |
| | | | | | | | | but not in the expressions. Also, require expressions to begin and end with literal curly braces. | ||||
* | | tests: use subTest in test_unparse.test_files | Yury Selivanov | 2016-09-09 | 1 | -2/+3 |
| | | |||||
* | | Issue #28038: Remove Tools/parser/com2ann.py and its unit test. | Guido van Rossum | 2016-09-09 | 1 | -260/+0 |
| | | | | | | | | Development is moving to https://github.com/ilevkivskyi/com2ann | ||||
* | | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-09 | 1 | -0/+260 |
| | | | | | | | | Patch by Ivan Levkivskyi. | ||||
* | | fix skipping #27921 for windows | Benjamin Peterson | 2016-09-05 | 1 | -2/+1 |
| | | |||||
* | | Issue 27921: Remove backslash from another f-string. I'll revert this change ↵ | Eric V. Smith | 2016-09-03 | 1 | -0/+10 |
| | | | | | | | | before beta 2. I also need to look in to why test_tools/test_unparse fails with the files that are now being skipped. | ||||
* | | Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a ↵ | Eric V. Smith | 2016-09-03 | 1 | -4/+0 |
| | | | | | | | | temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts. | ||||
* | | Merge with 3.5 | Zachary Ware | 2016-08-30 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | Skip test_tools.test_i18n when pygettext.py is missing | Zachary Ware | 2016-08-30 | 1 | -1/+5 |
| | | |||||
* | | Remove more unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | | |||||
* | | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 3 | -4/+3 |
| | | |||||
* | | Issue #23277: Remove unused support.run_unittest import. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | | |||||
* | | Issue #23277: Remove unused sys and os imports | Berker Peksag | 2016-04-24 | 2 | -2/+0 |
| | | | | | | | | Patch by Jon Dufresne. | ||||
* | | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
|\ \ | |/ | | | | | messages. | ||||
| * | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py | Berker Peksag | 2016-03-06 | 1 | -0/+5 |
|\ \ | |/ | | | | | Patch by Guo Ci Teo. | ||||
| * | Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py | Berker Peksag | 2016-03-06 | 1 | -0/+5 |
| | | | | | | | | Patch by Guo Ci Teo. | ||||
* | | Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter. | Eric V. Smith | 2015-09-20 | 1 | -2/+9 |
| | | |||||
* | | Temporary hack for issue #25180: exclude test_fstring.py from the unparse ↵ | Eric V. Smith | 2015-09-19 | 1 | -0/+2 |
|/ | | | | round-tripping, while I figure out how to properly fix it. | ||||
* | Fix remaining tests and remove an unused import. | Berker Peksag | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 3 | -3/+3 |
| | | | | Patch by Christie Wilson. | ||||
* | #18128: use standard +NNNN timezone format in POT-Creation-Date header. | R David Murray | 2015-04-16 | 1 | -0/+68 |
| | | | | Patch by Michael McFadden, with a few small style tweaks. | ||||
* | Issue #22002: Make full use of test discovery in test sub-packages. | Zachary Ware | 2014-07-23 | 1 | -8/+2 |
| | | | | | | Adds `load_package_tests` function to test.support, uses it in test_asyncio, test_email, test_json, test_tools, test_importlib and all test_importlib sub-packages to implement test discovery. | ||||
* | Issue #21918: Convert test_tools.py to a sub-package of test. | Zachary Ware | 2014-07-16 | 9 | -0/+884 |