1caebc0b11- Update to 3.2.4 * Various small build/test changes for less common configurations (e.g., building CPython with assertions enabled but NOT debugging), contributed by Michał Górny. Note that while greenlet will BUILD in a free-threaded Python, it will cause the GIL to be allocated and used, and memory may leak. Also note that these configurations are not tested by this project's CI. * Fix an assertion error on debug builds of Python 3.14 when using the experimental JIT. See PR 460.Markéta Machová2025-09-01 15:47:38 +00:00
82b64cf909- Update to 3.2.3 * Make greenlet build and run on Python 3.14 beta 2 on Windows amd64. * Potentially fix build on NetBSD/sparc64. See PR 447.
devel
Dirk Mueller2025-06-13 10:55:46 +00:00
1d7cb5e335- Update to 3.2.2 * Make greenlet build and run on Python 3.14 beta 1. It will not run on earlier versions of 3.14; it should run on subsequent versions. See PR 445.Nico Krapp2025-05-12 14:29:06 +00:00
f3d31a8cd0- Update to 3.2.1 * Fix a crash regression for Riscv64. See issue 443. - from version 3.2.0 * Remove support for Python 3.7 and 3.8. * Add untested, community supported implementation for RiscV 32. See PR 438. * Make greenlet build and run on Python 3.14a7. It will not build on earlier 3.14 alpha releases, and may not build on later 3.14 releases. * Packaging: Use PEP 639 license expressions and include license files.Markéta Machová2025-04-29 10:26:45 +00:00
bf998562ecAccepting request 1204154 from devel:languages:pythonAna Guerrero2024-09-29 16:09:25 +00:00
3932fde8ad- Update to 3.1.1 * Fix crashes on 32-bit PPC Linux. Note that there is no CI for this, and support is best effort; there may be other issues lurking. * Remove unnecessary logging sometimes during interpreter shutdown. * Fix some crashes on 32-bit PPC MacOS. This is a very old platform, and is only known to be tested on beta versions of an operating system that was never released, using the GCC 14 only provided by MacPorts; it may or may not work on the final MacOS X release that supported 32-bit PowerPC. It has the known issue of leaking memory when greenlets are used in multiple threads. Help debugging this would be appreciated.Dirk Mueller2024-09-27 07:45:54 +00:00
30b70de50dAccepting request 1199963 from devel:languages:pythonAna Guerrero2024-09-12 14:53:56 +00:00
81777f01f4Accepting request 1199931 from home:glaubitz:branches:devel:languages:pythonMarkéta Machová2024-09-11 06:17:11 +00:00
25d3f2776eAccepting request 1199669 from devel:languages:pythonAna Guerrero2024-09-10 19:12:27 +00:00
1196ca397c- Cherry-pick upstream patch to add support for Python 3.13 * port-to-python313.patchMarkéta Machová2024-09-09 10:56:04 +00:00
9fbf3594c4Accepting request 1138145 from devel:languages:pythonAna Guerrero2024-01-12 22:44:40 +00:00
f649e6bd60Accepting request 1138007 from home:bnavigator:branches:devel:languages:pythonMarkéta Machová2024-01-11 15:12:32 +00:00
8f9402fcc8Accepting request 1136486 from devel:languages:pythonAna Guerrero2024-01-09 19:48:27 +00:00
a5ca70a2acAccepting request 1133678 from devel:languages:pythonAna Guerrero2023-12-17 20:29:07 +00:00
08a518ef1d- update to 3.0.2: * Packaging: Add a minimal `pyproject.toml` to sdists. * Packaging: Various updates to macOS wheels. * Fix a test case on Arm32. Note that this is not a supported platform (there is no CI for it) and support is best effort;Dirk Mueller2023-12-17 01:46:08 +00:00
0b57f920b9Accepting request 1129185 from devel:languages:pythonAna Guerrero2023-11-28 21:18:35 +00:00
4b955fc182- update to 3.0.1: * Fix a potential crash on Python 3.8 at interpreter shutdown time. This was a regression from earlier 3.0.x releases.Dirk Mueller2023-11-27 15:46:51 +00:00
a3e20d620eAccepting request 1115111 from devel:languages:pythonAna Guerrero2023-10-05 18:02:47 +00:00
1667d27fdb- Update to 3.0.0: * No changes from 3.0rc3 aside from the version number.Daniel Garcia2023-10-04 06:45:32 +00:00
bf5000bb93Accepting request 1113760 from devel:languages:pythonAna Guerrero2023-09-29 19:13:07 +00:00
682db7c4ad- update to 3.0.0~rc3: * Fix an intermittent error during process termination on some platforms (GCC/Linux/libstdc++). * Fix some potential bugs (assertion failures and memory leaks) in previously-untested error handling code. In some cases, this means that the process will execute a controlled `abort() after severe trouble when previously the process might have continued for some time with a corrupt state. It is unlikely those errors occurred in practice. * Fix some assertion errors and potential bugs with re-entrant switches. * Fix a potential crash when certain compilers compile greenlet with high levels of optimization. The symptom would be that switching to a greenlet for the first time immediately crashes. * Fix a potential crash when the callable object passed to the greenlet constructor (or set as the greenlet.run attribute) has a destructor attached to it that switches. Typically, triggering this issue would require an unlikely subclass of greenlet.greenlet. * Python 3.11+: Fix rare switching errors that could occur when a garbage collection was triggered during the middle of a switch, and Python-level code in __del__ or weakref callbacks switched to a different greenlet and ultimately switched back to the original greenlet. This often manifested as a SystemError: "switch returned NULL without an exception set." * Python 3.12: Fix walking the frame stack of suspended greenlets. Previously accessing glet.gr_frame.f_back would crash due to changes in CPython's undocumented internal frame handling * Make the platform-specific low-level C/assembly snippets stop using the `register` storage class. Newer versions of standards removeDirk Mueller2023-09-19 22:06:34 +00:00
1211730c98- update to 2.0.2: * Fix calling `greenlet.settrace()` with the same tracer object that was currently active. * Various compilation and standards conformance fixes. * Python 3.11: Fix a memory leak. See issue 328 and gevent issue 1924. - 2.0.0.post0 (2022-11-03) * Add Programming Language :: Python :: 3.11 to the PyPI classifier metadata. - 2.0.0rc5 (2022-10-31) * Linux: Fix another group of rare crashes that could occur when shutting down an interpeter running multiple threads. See issue 325. - 2.0.0rc4 (2022-10-30) * Linux: Fix a rare crash that could occur when shutting down an interpreter running multiple threads, when some of those threads are in greenlets making calls to functions that release the GIL. - 2.0.0rc1 (2022-10-27) * Deal gracefully with greenlet switches that occur while deferred deallocation of objects is happening using CPython's "trash can" mechanism. Previously, if a large nested container held items that switched greenlets during delayed deallocation, and that second greenlet also invoked the trash can, CPython's internal state could become corrupt. This was visible as an assertion error in debug builds. Now, the relevant internal state is saved and restored during greenlet switches. See also gevent issue 1909. * Rename the C API function PyGreenlet_GET_PARENT to PyGreenlet_GetParent for consistency. The old name remains available as a deprecated alias. - 2.0.0a1 (2022-01-20) * Drop support for very old versions of GCC and MSVC. Compilation now requires a compiler that either supports C++11 or has some other intrinsic way to create thread local variables; for older GCC, clangDirk Mueller2023-05-04 14:46:15 +00:00
2983b265ea- Add sphinx-6.0.0.patch to make it work with new version of Sphinx.Daniel Garcia2023-01-05 07:42:04 +00:00
a811b69253Accepting request 1056122 from devel:languages:pythonDaniel Garcia2023-01-05 07:22:36 +00:00
7b7c2f8345- Update to 2.0.1: * Python 3.11: Fix a memory leak. See issue 328 and gevent issue 1924. - 2.0.0.post0 (2022-11-03) * Add Programming Language :: Python :: 3.11 to the PyPI classifier metadata. - 2.0.0 (2022-10-31) * Nothing changed yet. - 2.0.0rc5 (2022-10-31) * Linux: Fix another group of rare crashes that could occur when shutting down an interpeter running multiple threads. See issue 325. - 2.0.0rc4 (2022-10-30) * Linux: Fix a rare crash that could occur when shutting down an interpreter running multiple threads, when some of those threads are in greenlets making calls to functions that release the GIL. - 2.0.0rc3 (2022-10-29) * Python 2: Fix a crash that could occur when raising an old-style instance object. - 2.0.0rc2 (2022-10-28) * Workaround a CPython 3.8 bug that could cause the interpreter to crash during an early phase of shutdown with the message "Fatal Python error: Python memory allocator called without holding the GI." This only impacted CPython 3.8a3 through CPython 3.9a5; the fix is only applied to CPython 3.8 releases (please don't use an early alpha release of CPython 3.9). - 2.0.0rc1 (2022-10-27) * Deal gracefully with greenlet switches that occur while deferred deallocation of objects is happening using CPython's "trash can" mechanism. Previously, if a large nested container held items that switched greenlets during delayed deallocation, and that second greenlet also invoked the trash can, CPython's internal state could become corrupt. This was visible as an assertion error in debug builds. Now, the relevantDaniel Garcia2023-01-04 11:25:57 +00:00
0031e4d6b3- update to 1.1.2: - Fix a potential crash due to a reference counting error when Python subclasses of `greenlet.greenlet were deallocated. The crash became more common on Python 3.10; on earlier versions, silent memory corruption could result. - Fix a leak of a list object when the last reference to a greenlet was deleted from some other thread than the one to which it belonged. For this to work correctly, you must call a greenlet API like getcurrent() before the thread owning the greenlet exits: this is a long-standing limitation that can also lead to the leak of a thread's main greenlet if not called; we hope to lift this limitation. Note that in some cases this may also fix leaks of greenlet objects themselves. See issue 251 - Python 3.10: Tracing or profiling into a spawned greenlet didn't work as expected. See `issue 256Dirk Mueller2021-10-16 19:08:50 +00:00
347d7c3a6a- update to 1.1.0: * Add support for Python 3.10. Pre-built binary wheels for 3.10 are not currently available for all platforms. The greenlet ABI is different on Python 3.10 from all previous versions, but as 3.10 was never supported before, and the ABI has not changed on other Python versions, this is not considered a reason to change greenlet's major version.Dirk Mueller2021-06-06 12:38:50 +00:00
acd5034be6- update to 1.0.0: * Require setuptools to build from source. * Stop asking setuptools to build both .tar.gz and .zip sdists. PyPI has standardized on .tar.gz for all platforms. * Publish the change log to https://greenlet.readthedocs.ioDirk Mueller2021-02-01 22:26:23 +00:00
f027d24c76- update to 0.4.16: - Support for DEC Alpha architecture - Support for Python 3.9 - Support for Python 3.10a0Dirk Mueller2020-06-08 19:33:55 +00:00
8d8ac9ca52- Update to version 0.4.2: + Add .travis.yml + Fix 'err' may be used uninitialized in this function + Check _MSC_VER for msvc specific code + Fix slp_switch on SPARC for multi-threaded environments + Add support for m68k
Sascha Peilicke
2014-01-17 15:27:30 +00:00
aa7229861aAccepting request 210811 from devel:languages:python
Stephan Kulow
2013-12-15 09:09:25 +00:00
dc9a391941Accepting request 210802 from openSUSE:Factory:PowerLE
Denisart Benjamin
2013-12-13 15:03:15 +00:00
510d4db539Accepting request 204567 from devel:languages:python
Tomáš Chvátal
2013-10-25 09:17:17 +00:00