100 Commits
Author SHA1 Message Date
Dave Halter bfe3058441 Prepare the release 0.8.7 2026-05-02 01:09:55 +02:00
Dave HalterandGitHub a36a4216a4 Merge pull request #237 from darki73/feat/pep695-type-params
PEP 695 type parameter syntax for Python 3.12+
2026-04-03 20:09:17 +00:00
Dave Halter 28005a5cf6 Upgrade to 0.8.6 2026-02-09 16:40:11 +01:00
Dave Halter 0e774b0fd3 Add a changelog 2026-02-09 16:36:49 +01:00
Dave HalterandGitHub cc2c562500 Merge pull request #235 from davidhalter/typing
Typing changes
2026-02-09 15:34:33 +00:00
Dave Halter 341a60b115 Upgrade zuban 2026-02-09 16:32:59 +01:00
Dave Halter c0f6b96b0c Add a way to debug github CI 2026-02-09 16:31:46 +01:00
Dave Halter 59541564e5 Better dependencies 2026-02-08 00:36:52 +01:00
Dave Halter a0fa3ae95d Pass older Python versions 2026-02-08 00:33:06 +01:00
Dave Halter d13000a74c Fix a flake8 issue 2026-02-08 00:31:37 +01:00
Dave Halter 0b6800c7a9 Use zuban instead of Mypy 2026-02-08 00:28:41 +01:00
Dave Halter 59f4282d21 Fix a typing issue 2026-02-04 16:14:13 +01:00
Dave Halter 9eb6675f00 Make the whole code base type checkable 2026-02-04 16:06:59 +01:00
Dave Halter 22da0526b3 Change a few small typing related things 2026-02-04 16:05:26 +01:00
Dave Halter 07fb4584a3 Help the type checker a bit with recursive type definitions 2026-02-04 15:58:38 +01:00
Dave Halter 6fbeec9e2f Use Zuban and therefore check untyped code 2026-02-04 02:55:06 +01:00
Dave Halter aecfc0e0c4 Avoid duplication of code 2026-02-04 02:29:05 +01:00
Dave Halter 3158571e46 Change a small typing issue 2026-02-04 02:28:45 +01:00
Dave Halter be9f5a401f Prepare release 0.8.5
Build / lint (push) Has been cancelled
Build / test (false, 3.10) (push) Has been cancelled
Build / test (false, 3.11) (push) Has been cancelled
Build / test (false, 3.12) (push) Has been cancelled
Build / test (false, 3.13) (push) Has been cancelled
Build / test (false, 3.8) (push) Has been cancelled
Build / test (false, 3.9) (push) Has been cancelled
Build / coverage (push) Has been cancelled
2025-08-23 17:12:20 +02:00
Dave HalterandGitHub 7e4777b775 Merge pull request #234 from A5rocks/future-compatibility
Load newest grammar in face of a future grammar
2025-08-23 15:09:10 +00:00
Dave Halter a73af5c709 Fix pip install -e in docs
Build / lint (push) Has been cancelled
Build / test (false, 3.10) (push) Has been cancelled
Build / test (false, 3.11) (push) Has been cancelled
Build / test (false, 3.12) (push) Has been cancelled
Build / test (false, 3.13) (push) Has been cancelled
Build / test (false, 3.7) (push) Has been cancelled
Build / test (false, 3.8) (push) Has been cancelled
Build / test (false, 3.9) (push) Has been cancelled
Build / coverage (push) Has been cancelled
2025-06-24 12:29:39 +02:00
Dave HalterandGitHub 9ddffca4da Merge pull request #227 from juliangilbey/python3.13-test-fixes
Build / lint (push) Has been cancelled
Build / test (false, 3.10) (push) Has been cancelled
Build / test (false, 3.11) (push) Has been cancelled
Build / test (false, 3.12) (push) Has been cancelled
Build / test (false, 3.13) (push) Has been cancelled
Build / test (false, 3.7) (push) Has been cancelled
Build / test (false, 3.8) (push) Has been cancelled
Build / test (false, 3.9) (push) Has been cancelled
Build / coverage (push) Has been cancelled
Fix tests so they work with Python 3.12/3.13
2024-11-22 19:52:17 +00:00
Dave HalterandGitHub 1ca6b1f3e8 Merge pull request #225 from nilbest/fix-malicious-link-224
Fix #224: Remove Potential Malicious Link in Parso's Acknowledgement README.rst
2024-06-27 13:05:02 +00:00
Dave Halter 279fd6903e Add a readthedocs config file 2024-04-21 10:50:21 +02:00
Dave Halter e255b69cb8 Add a security policy 2024-04-21 10:38:28 +02:00
Dave Halter 744f2ac39e Prepare 0.8.4 2024-04-05 10:43:56 +02:00
Dave HalterandGitHub 3c04eef132 Merge pull request #220 from tacaswell/py313
ENH: add grammar file from py313
2023-06-18 23:54:47 +00:00
Dave HalterandGitHub 27af7ef106 Merge pull request #216 from PeterJCLaw/update-mypy
Update mypy
2023-02-14 00:43:52 +00:00
Dave HalterandGitHub ffadfca81b Merge pull request #215 from PeterJCLaw/update-flake8
Update flake8
2023-02-13 19:50:21 +00:00
Dave HalterandGitHub df34112b5b Merge pull request #211 from jspricke/test_python3_10
Fix unit tests in Python 3.10 (Closes: #192)
2022-12-06 20:20:10 +00:00
Dave HalterandGitHub 6b6b59f6d7 Merge pull request #209 from hauntsaninja/implicit-optional
Explicitly allow implicit optionals
2022-09-28 17:49:01 +00:00
Dave HalterandGitHub 8ee84d005e Merge pull request #204 from ariebovenberg/fix-slots
Add missing slots to base classes
2022-02-15 00:25:40 +01:00
Dave Halter ee5edaf22f Prepare Release 0.8.3 2021-11-30 22:03:35 +01:00
Dave Halter 285492f4ed Add a Python 3.12 grammar, because that is probably going to be needed in a year from now 2021-11-30 22:02:56 +01:00
Dave HalterandGitHub da3a7488f9 Merge pull request #199 from sobolevn/patch-1
Fixes `__slots__` definition in `NodeOrLeaf`
2021-09-15 22:32:18 +02:00
Dave Halter 9f32dde163 Jedi still has an import dependency on search_ancestor
The problem is basically that Python packaging usually is a bit fuzzy. That's
why I prefer to have this in there for quite some time to avoid conflicts of
version mismatches between Jedi/Parso.
2021-08-23 21:53:34 +02:00
Dave HalterandGitHub e1523014e4 Merge pull request #194 from mgorny/python310
Update expected exception line numbers for Python 3.10.0rc1
2021-08-06 18:09:00 +02:00
Dave HalterandGitHub ed47650fbe Merge pull request #188 from davidhalter/line-ending
Fix line endings support at various locations
2021-05-30 09:37:32 +02:00
Dave Halter f2b1ff9429 Add a grammar for Python 3.11 (just copied 3.10), so the core devs can work with it 2021-05-15 13:16:23 +02:00
Dave HalterandGitHub 966d5446eb Merge pull request #185 from davidhalter/switch-to-github-actions
Travis CI -> GitHub Actions
2021-04-08 01:21:17 +02:00
Dave HalterandGitHub bd03b21446 Merge pull request #184 from davidhalter/remove-nocond-39
Unparenthesized lambda no longer allowed in comp_if since Python 3.9
2021-04-07 21:59:27 +02:00
Dave Halter 5edab0407a Prepare release 0.8.2 2021-03-30 22:42:57 +02:00
Dave HalterandGitHub c4f297a57a Merge pull request #176 from Terseus/bugfix/175-nonlocal-parameter
Prevent incorrect syntax error with nonlocal of a parameter
2021-03-09 00:50:03 +01:00
Dave HalterandGitHub 5bba083af8 Merge pull request #177 from bobrik/ivan/fix-flaky-time
Fix flaky test_cache_last_used_update
2021-03-02 13:36:57 +01:00
Dave HalterandGitHub fac5c089ff Merge pull request #173 from bryanforbes/fix-non-default-error
Only apply non-default params logic prior to the star (fixes #161)
2021-02-21 22:55:40 +01:00
Dave HalterandGitHub 93206f6eba Merge pull request #170 from pjvandehaar/master
Show path in warning message
2021-01-26 22:41:17 +01:00
Dave HalterandGitHub 771fe6bf33 Merge pull request #169 from PeterJCLaw/add-start-end-pos-types
Add type annotations to start- and end-pos attributes
2021-01-03 21:12:00 +01:00
Dave HalterandGitHub 14c88c1f4b Merge pull request #168 from pybpc/fix-delete-starred
Fix various issues regarding starred expressions
2021-01-01 22:06:06 +01:00
Dave Halter ef90bba3b3 Flake8 improvements 2020-12-11 02:04:23 +01:00
Dave Halter a9d0cc1179 Release parso 0.8.1 2020-12-10 16:09:05 +01:00
Dave HalterandGitHub f45ffa1948 Merge pull request #162 from pybpc/walrus-set-and-index
Allow unparenthesized walrus in set literals, set comprehensions and indexes
2020-12-10 15:27:56 +01:00
Dave HalterandGitHub 634df56d90 Merge pull request #152 from isidentical/issue-151
Retrieve all kinds of assignment targets from with test
2020-09-29 00:14:19 +02:00
Dave Halter 6ae0efa415 Prepare the 0.8.0 release 2020-08-05 00:51:16 +02:00
Dave Halter 1714c1d0de Make namedexpr_test a proper NamedExpr class 2020-08-05 00:26:16 +02:00
Dave HalterandGitHub 6405a1227f Merge pull request #146 from davidhalter/python3
Dropping Python <3.6
2020-07-26 13:30:32 +02:00
Dave Halter cb7d15b332 Prepare the CHANGELOG 2020-07-26 13:19:41 +02:00
Dave Halter 0dec1a4003 Another review suggestion 2020-07-26 13:16:41 +02:00
Dave Halter 020d7a9acb Use a better intersphinx mapping 2020-07-26 13:16:41 +02:00
Dave Halter f79432ecab Remove support for multiple languages, which was never used 2020-07-26 13:16:41 +02:00
Dave Halter b0de7e363a Don't use print if not necessary 2020-07-26 13:16:41 +02:00
f6859538b0 Simplify a cache path
Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
2020-07-26 13:03:58 +02:00
Dave Halter ea6b01b968 Use pathlib.Path instead of strings 2020-07-26 01:19:41 +02:00
Dave Halter 97c10facf7 Remove super arguments 2020-07-25 23:54:21 +02:00
Dave Halter dcc756a373 Remove object inheritance 2020-07-25 18:20:56 +02:00
Dave Halter 3c3c0b54dc Fix some remaining flake8 issues 2020-07-25 18:17:11 +02:00
Dave Halter 70ec8eecd1 Fix some last mypy issues 2020-07-25 18:16:01 +02:00
Dave Halter d3c274afa0 Fix an issue with encoding detection 2020-07-25 18:11:49 +02:00
Dave Halter 6a4bb35d80 Removed stubs from generator and grammar_parser and put the annotations into the corresponding files 2020-07-25 18:09:12 +02:00
Dave Halter ce0fac7630 Move grammar stubs into grammar.py 2020-07-25 17:48:01 +02:00
Dave Halter 395af26fa8 Removed parso/__init__.pyi
It is intentional that the parse function is not typed. It's just a
helper function. For a typed version of it, please have a look at
Grammar.parse.
2020-07-25 16:22:35 +02:00
Dave Halter e65fb2464e Remove utils.pyi in favor of inline stubs 2020-07-25 16:20:26 +02:00
Dave Halter 4d86f0fdcc Remove the pgen2 stub, didn't really contain anything 2020-07-25 16:12:41 +02:00
Dave Halter b816c00e77 Remove the token stub in favor of inline annotations 2020-07-25 16:12:04 +02:00
Dave Halter 2197e4c9e8 Fix a linter issue 2020-07-25 15:59:33 +02:00
Dave Halter b176ed6eee Run mypy and flake8 in CI 2020-07-25 15:54:55 +02:00
Dave Halter 67904f4d24 Make mypy happy 2020-07-25 15:43:28 +02:00
Dave Halter 8a34245239 Get rid of mypy issues with tokenize.py 2020-07-25 15:34:29 +02:00
Dave Halter a474895764 Start working with mypy 2020-07-25 15:05:42 +02:00
Dave Halter 34152d29b2 Initializing a Grammar now uses keyword only arguments 2020-07-25 14:33:42 +02:00
Dave Halter d9f60b3473 Remove compatibility in parser for Python 2 2020-07-25 02:38:46 +02:00
Dave Halter 75b467e681 Some more small Python 3 changes 2020-07-25 02:33:24 +02:00
Dave Halter 02eb9b9507 Use keyword only arguments in grammar.py 2020-07-25 02:21:51 +02:00
Dave Halter f17f94e120 Get rid of the old star checking logic 2020-07-25 02:16:02 +02:00
Dave Halter 902885656d Remove some Python 3.6 references 2020-07-25 02:10:10 +02:00
Dave Halter 4f9f193747 Remove some Python 3.5/3.4 references 2020-07-25 02:04:58 +02:00
Dave Halter 86d53add2d Remove sys.version_info usages that are no longer necessary 2020-07-25 01:53:51 +02:00
Dave Halter 22fb62336e Remove failing examples that are just Python 2 examples 2020-07-25 01:49:44 +02:00
Dave Halter 6eb6ac0bb2 Ignore Python 2 specific code in tests 2020-07-25 01:41:33 +02:00
Dave Halter 7c68ba4c45 Remove absolute import future import checking 2020-07-25 01:33:11 +02:00
Dave Halter d7ab138864 Remove more python 2 specific code 2020-07-25 01:31:19 +02:00
Dave Halter 4c09583072 Remove Python 2 stuff from errors.py 2020-07-25 01:25:38 +02:00
Dave Halter 19f4550ced Use enum instead of our own logic 2020-07-24 17:39:49 +02:00
Dave Halter a0662b3b3b flake8 changes 2020-07-24 16:11:06 +02:00
Dave Halter 2962517be0 Get rid of the xfails 2020-07-24 15:43:41 +02:00
Dave Halter 62b4589293 Remove tokenizer support for Python 2 2020-07-24 15:39:18 +02:00
Dave Halter 93e74efc01 Some whitespace changes 2020-07-24 14:50:01 +02:00
Dave Halter b5e2e67a4d Remove support for parsing Python 2 2020-07-24 14:48:02 +02:00
Dave Halter 5ac4bac368 Pin the precise 3.8 version 2020-07-24 02:29:18 +02:00
Dave Halter 5dd4301235 Remove tox 2020-07-24 02:25:11 +02:00
Dave Halter 1a99fdd333 Don't run older Python versions on travis 2020-07-24 02:15:44 +02:00