[PR #188] [MERGED] [python] Support more operators overload (classes) #302

Closed
opened 2026-05-06 13:16:43 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/UpsilonNumworks/Upsilon/pull/188
Author: @Mino1289
Created: 3/22/2022
Status: Merged
Merged: 3/28/2022
Merged by: @Lauryy06

Base: upsilon-devHead: upsilon-python


📝 Commits (2)

  • 5880ff2 [python] Support more operators overload (classes)
  • 0ac7c38 [python] Edit mpconfigport.h instead of mpconfig.h

📊 Changes

2 files changed (+19 additions, -0 deletions)

View changed files

📝 python/port/genhdr/qstrdefs.in.h (+16 -0)
📝 python/port/mpconfigport.h (+3 -0)

📄 Description

Adding the following operators for classes :

  • abs
  • and
  • divmod
  • floordiv
  • invert
  • lshift
  • matmul
  • mod
  • mul
  • neg
  • or
  • pos
  • pow
  • rshift
  • truediv
  • xor

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/UpsilonNumworks/Upsilon/pull/188 **Author:** [@Mino1289](https://github.com/Mino1289) **Created:** 3/22/2022 **Status:** ✅ Merged **Merged:** 3/28/2022 **Merged by:** [@Lauryy06](https://github.com/Lauryy06) **Base:** `upsilon-dev` ← **Head:** `upsilon-python` --- ### 📝 Commits (2) - [`5880ff2`](https://github.com/UpsilonNumworks/Upsilon/commit/5880ff290fbf8568b237a0fd3875c43ac8dda3be) [python] Support more operators overload (classes) - [`0ac7c38`](https://github.com/UpsilonNumworks/Upsilon/commit/0ac7c38a813961d9d1133fe28e3af3aae2c372ed) [python] Edit mpconfigport.h instead of mpconfig.h ### 📊 Changes **2 files changed** (+19 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `python/port/genhdr/qstrdefs.in.h` (+16 -0) 📝 `python/port/mpconfigport.h` (+3 -0) </details> ### 📄 Description Adding the following operators for classes : - abs - and - divmod - floordiv - invert - lshift - matmul - mod - mul - neg - or - pos - pow - rshift - truediv - xor --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:16:43 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Upsilon#302
No description provided.