WMOkiishi
0e1a3f2ab7
stdpy: Annotate threading functions ( #1765 )
2025-08-02 16:43:50 +02:00
WMOkiishi
4b4fa03895
direct: Annotate functions called directly by top-level code ( #1727 )
2025-04-06 10:10:15 +02:00
rdb
5f96cc592e
Merge branch 'release/1.10.x'
2024-10-27 09:40:52 +01:00
rdb
b022fc9301
stdpy: Fix glob not finding files in VFS
...
Half of fix to #1675
2024-10-24 16:10:35 +02:00
WMOkiishi
32edfa43fd
direct: Get direct to pass a mypy check
...
Closes #1476
2023-08-04 14:31:44 +02:00
rdb
ab93d88f1b
stdpy: Remove obsolete check for None function on module shutdown
...
This behaviour was removed in Python 3.4 so should no longer be an issue
2023-08-04 14:28:52 +02:00
WMOkiishi
f7f3179a89
Move test code from across `direct` to proper test modules
...
Closes #1480
2023-08-02 08:37:51 +02:00
rdb
37b5c9ad9e
direct: More code style changes
2023-02-22 11:52:19 +01:00
rdb
8b1126ba3e
direct: General cleanup of Python code
2023-02-20 20:52:14 +01:00
rdb
8b5fc7d835
stdpy: Switch from deprecated ConditionVarFull to ConditionVar
2022-02-22 15:21:32 +01:00
rdb
e099d9e787
Merge branch 'release/1.10.x'
2021-01-02 02:33:35 +01:00
rdb
52b4df4aec
stdpy: Expose DEFAULT_PROTOCOL and HIGHEST_PROTOCOL in direct.stdpy.pickle
2021-01-01 17:41:34 +01:00
rdb
9cb129597c
stdpy: pickle improvements
...
* Define __all__
* Define missing exception types
* clear_memo() now clears Panda-specific state as well
2021-01-01 15:58:51 +01:00
rdb
a5557bc38d
stdpy: Fix pickle sometimes duplicating Panda objects
...
We have to unify multiple Python wrappers pointing to the same C++ object.
2020-12-31 16:55:34 +01:00
rdb
cf60284ca9
Merge branch 'release/1.10.x'
2020-12-31 00:05:10 +01:00
rdb
c141bef19b
stdpy: Add missing threading.ThreadError
2020-12-30 23:57:27 +01:00
rdb
65c1ef968c
stdpy: Add PicklingError to pickle module
2020-12-30 22:34:44 +01:00
rdb
25b79a2aef
Merge branch 'release/1.10.x'
2020-12-29 14:44:56 +01:00
rdb
2c209e0f02
stdpy: Fix direct.stdpy.pickle module for Python 3
2020-12-29 13:05:00 +01:00
rdb
66ac3be604
Merge branch 'release/1.10.x' into master
2020-09-12 23:23:58 +02:00
rdb
54238e9730
direct: Add more links to manual pages in module docstrings
...
See panda3d/panda3d-docs#53
[skip ci]
2020-09-11 13:15:58 +02:00
rdb
d799a09002
cleanup: Remove support for EOL versions of Python
...
Fixes #905
2020-04-26 20:07:56 +02:00
rdb
b78b7be326
Merge branch 'release/1.10.x'
2019-12-30 01:50:54 +01:00
rdb
c0fd600454
stdpy: threading2: join non-daemonic threads at interpreter shutdown
...
Fixes #758
2019-12-28 23:51:54 +01:00
rdb
bb3bfebdc2
stdpy: support name and daemon properties in threading2 module
2019-12-28 23:48:04 +01:00
rdb
2f31c9ce68
stdpy: recognize daemon=True argument in Thread constructor
2019-12-28 23:46:58 +01:00
rdb
390abac276
Merge branch 'release/1.10.x'
2019-12-18 18:00:41 +01:00
rdb
0b52241e95
stdpy: return number of bytes from write() method
2019-12-17 22:58:12 +01:00
rdb
a72be90f17
Merge branch 'release/1.10.x'
2019-10-29 23:13:22 +01:00
rdb
f149fb4ab0
direct: big formatting changes for the benefit of API reference
...
Part of the effort to move the API reference to Sphinx, see panda3d/panda3d-docs#21
2019-10-29 20:43:41 +01:00
rdb
247f3c415a
Merge branch 'release/1.10.x'
2019-10-08 19:50:48 +02:00
rdb
099be1f652
stdpy: fix bad performance reading all data from file
...
See Moguri/panda3d-gltf#31
2019-10-08 19:44:29 +02:00
rdb
d92b440617
Merge branch 'release/1.10.x'
2019-09-06 09:46:20 +02:00
rdb
ba1023efa9
stdpy: clarify comment to indicate os.PathLike is supported in open()
2019-09-04 12:26:43 +02:00
rdb
c4a01ac564
pipeline: give Mutex and ReMutex more Pythonic semantics
...
This allows using mutices in with-blocks and wraps up the functionality of acquire() and try_acquire() into a single acquire(blocking=True).
Furthermore, the GIL is no longer released in cases of no contention.
2019-05-12 20:58:13 +02:00
rdb
0668509791
stdpy: remove commented-out method that is confusing Doxygen
2018-12-23 15:42:31 +01:00
rdb
f813d2fb60
stdpy: fix broken threading.Event
2018-08-02 20:29:48 +02:00
rdb
140644d8b6
stdpy: add Python 3 stuff to glob module, remove re dependency
2018-05-20 11:50:32 +02:00
Michael Wass
b10ee32752
direct: Fix some more NameErrors
...
Closes #274
2018-03-08 11:44:04 +01:00
rdb
1f017997f9
stdpy: fix issues with direct.stdpy.threading thread cleanup
...
Fixes : #164
2017-08-30 13:00:02 +02:00
rdb
c66b4792d7
stdpy: protect against thread error when interpreter shuts down
2017-08-29 23:50:16 +02:00
rdb
1dc02f6a28
stdpy: fix direct.stdpy.threading cleanup issue after thread runs
...
Fixes : #164
2017-08-27 16:56:16 +02:00
rdb
2d1f0e4866
stdpy: update threading modules
2017-08-27 16:53:41 +02:00
kamgha
b9437316b4
Add snake-case function names for 'threading2'-module
...
Closes : #165
2017-08-27 16:33:03 +02:00
rdb
d576c6b638
Improvements to generated API docs, especially in direct tree.
...
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
rdb
47388b0dbc
Separate out CPython calls from core libs; eliminate need for pystub
2016-07-20 14:30:41 +02:00
rdb
14af38712b
Merge branch 'release/1.9.x'
2016-04-01 18:07:33 +02:00
rdb
35ef92f8da
Fix AttributeError in setDaemon in threading module
2016-04-01 10:44:47 +02:00
rdb
15b0ba45f9
Fix broken pickling in Python 3 build
2016-03-31 16:49:27 +02:00
rdb
23bf9ea5c7
The direct tree is now valid Python 2 *and* 3
2016-03-28 22:33:30 +02:00