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:python
Ana Guerrero
2024-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:python
Ana Guerrero
2024-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:python
Ana Guerrero
2024-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:python
Ana Guerrero
2024-01-09 19:48:27 +00:00
a5ca70a2acAccepting request 1133678 from devel:languages:python
Ana Guerrero
2023-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:python
Ana Guerrero
2023-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:python
Ana Guerrero
2023-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:python
Ana Guerrero
2023-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
f03f4f188fAccepting request 146432 from devel:languages:python
Ismail Dönmez
2012-12-28 21:47:12 +00:00
2c4c5acf9d- The devel subpackage contains only headers and thus is noarch
Sascha Peilicke
2012-12-19 15:51:06 +00:00
25f1f81287Accepting request 142579 from devel:languages:python
Stephan Kulow
2012-11-25 12:40:36 +00:00
f3ee8baec8- Update to version 0.4.0: + Greenlet has an instance dictionary now, which means it can be used for implementing greenlet local storage, etc. However, this might introduce incompatibility if subclasses have __dict__ in their __slots__. Classes like that will fail, because greenlet already has __dict__ out of the box. + Greenlet no longer leaks memory after thread termination, as long as terminated thread has no running greenlets left at the time. + Add support for debian sparc and openbsd5-sparc64 + Add support for ppc64 linux + Don't allow greenlets to be copied with copy.copy/deepcopy + Fix arm32/thumb support + Restore greenlet's parent after kill + Add experimental greenlet tracing - Changes from version 0.3.4: + Use plain distutils for install command, this fixes installation of the greenlet.h header. + Enhanced arm32 support + Fix support for Linux/S390 zSeries + Workaround compiler bug on RHEL 3 / CentOS 3 - Changes from version 0.3.3: + Use sphinx to build documentation and publish it on greenlet.rtfd.org + Prevent segfaults on openbsd 4/i386 + Workaround gcc-4.0 not allowing to clobber rbx + Enhance test infrastructure + Fix possible compilation problems when including greenlet.h in C++ mode + Make the greenlet module work on x64 windows + Add a test for greenlet C++ exceptions + Fix compilation on Solaris with SunStudio - Changes from version 0.3.2:
Sascha Peilicke
2012-11-23 12:29:19 +00:00
0fa06d5c88Accepting request 127087 from devel:languages:python
Stephan Kulow
2012-07-04 11:56:26 +00:00
dd66a1b06bAccepting request 126971 from home:k0da:ppc
Todd R
2012-07-04 10:28:05 +00:00
34604376fcAccepting request 98600 from devel:languages:python
Stephan Kulow
2012-01-04 06:30:29 +00:00
9a477dd2dbAccepting request 98402 from home:namtrac:bugfix
Sascha Peilicke
2012-01-03 10:18:16 +00:00
8bbd668131Accepting request 84088 from devel:languages:python
Sascha Peilicke
2011-09-26 08:15:33 +00:00
887feec87c- Spec file cleanup: * BuildRequire modern python-distribute instead of python-setuptools * No need for changing executable bits for benchmarks * Use SUSE version checks around specific macros * Only require %{name} = %{version} in devel package
Sascha Peilicke
2011-09-21 09:38:24 +00:00