Commit Graph

65 Commits

Author SHA1 Message Date
Nikita Sobolev e56e33d271
gh-72719: Remove asyncore and asynchat modules (#96580)
Remove modules asyncore and asynchat, which were deprecated by PEP 594.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-11-08 16:48:58 +01:00
Alex Waygood cb93b4aee5
CODEOWNERS: Become a typing code owner (#98480) 2022-10-20 06:45:34 -07:00
Victor Stinner 1863302d61
gh-97669: Create Tools/build/ directory (#97963)
Create Tools/build/ directory. Move the following scripts from
Tools/scripts/ to Tools/build/:

* check_extension_modules.py
* deepfreeze.py
* freeze_modules.py
* generate_global_objects.py
* generate_levenshtein_examples.py
* generate_opcode_h.py
* generate_re_casefix.py
* generate_sre_constants.py
* generate_stdlib_module_names.py
* generate_token.py
* parse_html5_entities.py
* smelly.py
* stable_abi.py
* umarshal.py
* update_file.py
* verify_ensurepip_wheels.py

Update references to these scripts.
2022-10-17 12:01:00 +02:00
Ezio Melotti 531ffaa7cd
Add `@ezio-melotti` as codeowner for `.github/`. (#98079) 2022-10-08 09:11:38 +02:00
Guido van Rossum 657976ad95
Add gvanrossum to asyncio experts (#96248) 2022-08-24 13:16:41 -07:00
Yury Selivanov e046cf872e
Drop myself from owners of genobject (#96216) 2022-08-23 12:21:10 -07:00
Irit Katriel bfc2028df0
Change CODEOWNERS entries for iritkatriel (GH-96008) 2022-08-16 09:38:32 +01:00
Jason R. Coombs 3e718cf880
gh-95218: Move tests for importlib.resources into test_importlib.resources. (#95219)
* gh-95218: Move tests for importlib.resources into test_importlib.resources.

* Also update makefile

* Include test_importlib/resources in code ownership rule.
2022-07-24 20:53:10 -04:00
Ezio Melotti f28ec34c5c
gh-82927: Update files related to HTML entities. (GH-92504) 2022-06-21 22:03:12 +02:00
Victor Stinner c735d54534
gh-93839: Move Lib/unttest/test/ to Lib/test/test_unittest/ (#94043)
* Move Lib/unittest/test/ to Lib/test/test_unittest/
* Remove Lib/test/test_unittest.py
* Replace unittest.test with test.test_unittest
* Remove unittest.load_tests()
* Rewrite unittest __init__.py and __main__.py
* Update build system, CODEOWNERS, and wasm_assets.py
2022-06-21 10:27:59 +02:00
Jason R. Coombs b96d56d434
Add jaraco as primary owner of importlib.metadata and importlib.resources. (#93960)
* Add jaraco as primary owner of importlib.metadata and importlib.resources.

* Align indentation.

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-06-17 23:12:07 -04:00
Erlend Egeberg Aasland 3edda031e4
CODEOWNERS: Add Erlend Aasland as sqlite3 code owner (#92535)
Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-05-09 10:06:03 +02:00
Brett Cannon 795c00b91c
Add CODEOWNERS entry for pathlib (GH-32202) 2022-03-30 11:34:29 -07:00
Taneli Hukkinen 591f6754b5
bpo-40059: Add tomllib (PEP-680) (GH-31498)
This adds a new standard library module, `tomllib`, for parsing TOML.

The implementation is based on Tomli (https://github.com/hukkin/tomli).

## Steps taken (converting `tomli` to `tomllib`)

- Move everything in `tomli:src/tomli` to `Lib/tomllib`. Exclude `py.typed`.
- Remove `__version__ = ...` line from `Lib/tomllib/__init__.py`
- Move everything in `tomli:tests` to `Lib/test/test_tomllib`. Exclude the following test data dirs recursively:
  - `tomli:tests/data/invalid/_external/`
  - `tomli:tests/data/valid/_external/`
- Create `Lib/test/test_tomllib/__main__.py`:

  ```python
  import unittest

  from . import load_tests


  unittest.main()
  ```


- Add the following to `Lib/test/test_tomllib/__init__.py`:

  ```python
  import os
  from test.support import load_package_tests

  def load_tests(*args):
      return load_package_tests(os.path.dirname(__file__), *args)
  ```

  Also change `import tomli as tomllib` to `import tomllib`.

- In `cpython/Lib/tomllib/_parser.py` replace `__fp` with `fp` and `__s` with
  `s`. Add the `/` to `load` and `loads` function signatures.

- Run `make regen-stdlib-module-names`

- Create `Doc/library/tomllib.rst` and reference it in `Doc/library/fileformats.rst`
2022-03-08 09:26:13 +01:00
Jelle Zijlstra e38d0dfe92
Clean up CODEOWNERS (#31715)
crypto-team apparently doesn't exist and skrah no longer has write access. Thanks @isidentical for noticing this.
2022-03-06 18:04:58 -08:00
Brandt Bucher 91cc5fd14c
"Own" pattern matching and peepholing (GH-31412) 2022-02-18 19:57:02 +01:00
Jelle Zijlstra 6f1efd19a7
Become a CODEOWNER for typing (#31374) 2022-02-16 11:02:06 -08:00
Irit Katriel 65e7c1f90e
bpo-46219, 46221: simplify except* implementation following exc_info changes. Move helpers to exceptions.c. Do not assume that exception groups are truthy. (GH-30289) 2022-01-02 23:22:42 +00:00
Victor Stinner cf7eaa4617
Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" (GH-29951)
This reverts commit 9bf2cbc4c4.
2021-12-07 12:31:04 +01:00
Victor Stinner 9bf2cbc4c4
bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)
Remove the asyncore and asynchat modules, deprecated in Python
3.6: use the asyncio module instead.

Remove the smtpd module, deprecated in Python 3.6: the aiosmtpd
module can be used instead, it is based on asyncio.

* Remove asyncore, asynchat and smtpd documentation
* Remove test_asyncore, test_asynchat and test_smtpd
* Rename Lib/asynchat.py to Lib/test/support/_asynchat.py
* Rename Lib/asyncore.py to Lib/test/support/_asyncore.py
* Rename Lib/smtpd.py to Lib/test/support/_smtpd.py
* Remove DeprecationWarning from private _asyncore, _asynchat and
  _smtpd modules
* _smtpd: remove deprecated properties
2021-11-16 00:29:17 +01:00
Łukasz Langa 311ee83adb
Replace @ilevkivskyi with @Fidget-Spinner as typing code owner (#27210) 2021-07-17 11:21:31 +02:00
Christian Heimes 6ab65c670d
Removing myself from ssl code ownership (GH-26529)
I'm taking a break.

Signed-off-by: Christian Heimes <christian@python.org>
2021-06-04 15:01:31 +02:00
Chris Withers 06e971fc0e
try and get a peak at mock-related PRs before they land (#25356) 2021-04-12 10:44:42 +01:00
Batuhan Taskaya a9ef95b811
GH: Add isidentical to the CODEOWNERS (GH-23923) 2020-12-24 14:30:46 +03:00
Mark Shannon 780151479f
Add Mark Shannon to CODEOWNERS. (#22914) 2020-10-23 13:05:48 +01:00
Lysandros Nikolaou e76b8fc815
Add CODEOWNERS for the Grammar file (GH-22898) 2020-10-22 21:26:14 +03:00
Lysandros Nikolaou d0981e61a5
Add lysnikolaou to CODEOWNERS for the new parser (GH-21252) 2020-07-01 12:47:35 +03:00
Pablo Galindo d906f0ec1a
Update CODEOWNERS to account for the new parser location (GH-20971) 2020-06-18 23:23:40 +01:00
Pablo Galindo ce0eacb19c
Add @pablogsal as code owner for pegen-related files (GH-19665) 2020-04-23 00:47:32 +01:00
Raymond Hettinger edd5b38c13
Add setobject.c (GH-17463) 2019-12-04 04:07:02 -05:00
Ethan Furman 83f144962f
add @ethanfurman for tarfile (GH-17461) 2019-12-04 00:18:31 -08:00
Ethan Furman 3ae38cc181
Update CODEOWNERS (#17356)
Add Ethan Furman for enum, cgi, and cgitb.
2019-11-22 14:28:41 -08:00
Giampaolo Rodola 5c534da798
CODEOWNERS: add myself for asyncore/chat, ftplib and shutil modules (#17313) 2019-11-21 17:38:51 +08:00
Pablo Galindo 02b8051a5e
Add @pablogsal to code owners file for the garbage collector (GH-17248)
Add myself to the codeowners file as I would like to
be automatically added as a reviewer for PRs that touch
that component and its documentation.
2019-11-19 02:03:55 +00:00
Vinay Sajip 2290b23dfc
Updated CODEOWNERS to indicate ownership of some modules. (GH-16578) 2019-10-04 09:48:24 +01:00
Gregory P. Smith 0765411d51 Adjust code ownership so @gpshead don't get asyncio subprocess PRs. (GH-16100) 2019-09-13 14:36:26 +01:00
Paul Ganssle d287215df5
Add pganssle to CODEOWNERS and ACKS (GH-14138)
Also adds abalkin to CODEOWNERS for date and time related files.
2019-06-18 19:57:45 +01:00
Brett Cannon 25ee0c3bf1 Revert adding @maxking to CODEOWNERS file (GH-13660)
This reverts commit 71dc7c5fbd. Turns out you must have write access for CODEOWNERS to work.
2019-05-30 07:59:01 -07:00
Christian Heimes 1c99926228
Add my to code owner for more areas (#13650) 2019-05-29 17:45:19 +02:00
Abhilash Raj 71dc7c5fbd Add @maxking to CODEOWNERS file (GH-13599) 2019-05-27 21:15:48 -07:00
Brett Cannon 678bb9d1b5
Unroll import-team in CODEOWNERS (#13118) 2019-05-06 13:44:49 -04:00
Pablo Galindo 888f37bc28
Add @pablogsal to code owners file for Parser/pgen (GH-12944)
Add myself to the codeowners file as I would like to
be automatically added as a reviewer for PRs that touch
that component.
2019-04-24 21:25:23 +01:00
Berker Peksag 2f5b44879f
Add myself to CODEOWNERS for sqlite3 and urllib.robotparser (GH-12856) 2019-04-16 16:54:56 +03:00
Inada Naoki 7444daada1
github: assign @methane to dict owner (GH-12617) 2019-03-30 11:08:17 +09:00
Benedikt Werner f2320b37d9 Fix typo (double 'the') in CODEOWNERS (GH-12227) 2019-03-07 17:09:40 -08:00
Ned Deily 96f2c73954
Add macos-team as a code owner (GH-10045) 2018-10-23 09:37:02 -04:00
Nick Coghlan 2f73ed6913
Update codeowners to match experts list change (#10022) 2018-10-21 14:22:15 +10:00
Ezio Melotti 3d07349d19
Add myself for HTML-related modules (#9325) 2018-09-14 20:14:16 -07:00
Yury Selivanov d83671e996
Add myself as hamt/context (PEP 567) code owner (#5276) 2018-01-23 01:59:50 -05:00
Brett Cannon 811b2878df
Ignore importlib.h for automatic review requests from the import team. (GH-5087)
Otherwise the import team gets flagged for reviews any time the bytecode for
importlib.h changes (e.g new bytecode, optimizations, etc.).
2018-01-03 11:32:22 -08:00