Commit Graph

26 Commits

Author SHA1 Message Date
ShaharNaveh
c6562efce5 Patch test_xml_etree.py 2026-02-27 09:49:35 +01:00
ShaharNaveh
fd5e91dbff Update xml to 3.14.3 2026-02-27 09:44:41 +01:00
Jeong, YunWon
100b870175 Implement UTF-32 encode/decode and fix UTF-16 empty encode
- Add UTF-32, UTF-32-LE, UTF-32-BE encode/decode in _pycodecs.py
- Register utf_32 codec functions in codecs.rs via delegate_pycodecs
- Fix PyUnicode_EncodeUTF16 returning "" instead of [] for empty input
- Remove resolved expectedFailure decorators in test_codecs.py
- Add failure reasons to remaining expectedFailure comments
2026-02-02 12:50:34 +09:00
fanninpm
4c1c704bb1 Add ExpatError and error to pyexpat (#6889)
* Stub out xml.parsers.expat.ExpatError

* Alias `ExpatError` to `error`
2026-01-28 10:19:00 +09:00
Jeong, YunWon
de0bc732c9 Replace CallMethod/LoadMethod opcodes with plain Call (#6674)
* implementing call the correct way

stack is [Option<PyObjectRef>]

* fix again

* list custom instructions

* Auto-format: cargo fmt --all

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-10 08:25:56 +09:00
fanninpm
59f422de66 Add _io.TextIOWrapper.detach method (#6267)
* Stub out _io.TextIOWrapper.detach method

* Implement _io.TextIOWrapper.detach method

* Make _io.TextIOWrapper.detach not re-enter lock
2025-12-03 16:11:39 +09:00
Shahar Naveh
f429ac4939 Use ast.unparse for generating patches with lib_updater.py (#6142)
* Use `ast.unparse` for decorator generation and every ut_method

* Ensure ut_method type for external patches

* use textwrap

* Apply patches to `test_os.py`

* Apoly on `test_xml_etree.py`

* Run on some test files

* Update `test_str.py`

* Update `test_logging.py` from 3.13.7
2025-09-11 22:42:19 +09:00
Shahar Naveh
9417e1023d Update xml from 3.13.7 (#6100) 2025-08-21 13:15:39 +09:00
Steve Shi
186990f4f2 Refactor Sequence Protocol (#4137)
* Refactor Sequence Protocol

* rebase

* fixup

* fix inherit slots

* rebase

* fix io slot_init

* mark unsuccess test_xml_etree
2022-10-10 20:21:15 +02:00
Jeong YunWon
2539e8276c adjust failing test markers for xml 2022-08-15 01:08:58 +09:00
CPython Developers
2eec919416 Update xml and test_xml_etree 2022-08-15 01:08:58 +09:00
Jeong YunWon
743ca30a46 remove windows stack overflow skipIf 2022-07-25 03:29:06 +09:00
Jeong Yunwon
18306e6953 unmark test_pickle::test_exceptions and test_xml_etree::test_pickle 2022-03-22 04:36:16 +09:00
Jeong Yunwon
a94cc1c7ca update test_xml_etree.py from python 3.10.3 2022-03-22 04:36:16 +09:00
Kangzhi Shi
d962fd9316 unmark passed test 2022-03-12 16:12:35 +09:00
Kangzhi Shi
10020a910c mark fail tests 2022-03-12 16:12:12 +09:00
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +08:00
Dean Li
5ee4fb899b test: use os_helper 2021-11-28 20:51:32 +08:00
Noa
a53451bd10 Merge pull request #3386 from coolreader18/no-arc
Big overhaul part 1 - replace PyRc with manual RefCount + WeakRefList
2021-11-21 17:43:50 -06:00
Jeong YunWon
913b78ca44 Revert "Merge pull request #3433 from deantvv/test-update"
This reverts commit 9fa5c5ac66, reversing
changes made to e7fa32c687.
2021-11-17 17:06:51 +09:00
Noa
e51cb82ff0 Unskip tests 2021-11-15 16:08:46 -06:00
Dean Li
49a5805d11 test: use os_helper 2021-11-13 02:18:33 +00:00
jfh
37ba1b8a87 Mark internal types as not constructible. 2021-10-14 12:09:31 +03:00
jfh
72ad7120ab Saturate slice before getting a lock on the underlying collection. 2021-10-12 10:00:50 +03:00
Padraic Fanning
4eeb01fbce Mark erroring/failing/hanging tests 2021-07-31 18:28:28 -04:00
Padraic Fanning
111366d8a7 Add test_xml_etree from CPython 3.8
Also adds the following supporting files:
 - everything in the xmltestdata/c14n-20/ directory
 - xmltestdata/expat224_utf8_bug.xml
 - xmltestdata/simple-ns.xml
 - xmltestdata/simple.xml
2021-07-31 18:28:28 -04:00