[issue41324] Add a minimal decimal capsule API

2021-05-10 Thread Daniele Varrazzo
Daniele Varrazzo added the comment: Ah, just noticed that this has been now reverted. Oh well, I'll see what to do then :( -- ___ Python tracker ___ _

[issue41324] Add a minimal decimal capsule API

2021-05-10 Thread Daniele Varrazzo
Daniele Varrazzo added the comment: FYI, will try to use this API in psycopg3, which supports the PostgreSQL decimal binary format. Thank you very much: it seems exactly what needed. Binary conversion with Python Decimal currently has disappointing performances and is slower than the text fo

[issue41324] Add a minimal decimal capsule API

2021-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, this is going to be reverted at Stefan's request in issue43422. -- ___ Python tracker ___ ___

[issue41324] Add a minimal decimal capsule API

2021-03-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: @mattip, see issue43422 -- assignee: skrah -> ___ Python tracker ___ ___ Python-bugs-list mailin

[issue41324] Add a minimal decimal capsule API

2021-03-04 Thread mattip
mattip added the comment: Was expanding the C-API discussed on the mailing list or in any wider forum? It seems vstinner is working hard to reduce the public API exposure while this issue + PR makes it even larger. Please reconsider putting this in for 3.10. -- nosy: +mattip ___

[issue41324] Add a minimal decimal capsule API

2020-08-10 Thread Stefan Krah
Change by Stefan Krah : -- components: +C API -Extension Modules resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41324] Add a minimal decimal capsule API

2020-08-10 Thread Stefan Krah
Stefan Krah added the comment: New changeset 39042e00ab01d6521548c1b7cc6554c09f4389ff by Stefan Krah in branch 'master': bpo-41324 Add a minimal decimal capsule API (#21519) https://github.com/python/cpython/commit/39042e00ab01d6521548c1b7cc6554c09f4389ff -- ___

[issue41324] Add a minimal decimal capsule API

2020-07-20 Thread Stefan Krah
Stefan Krah added the comment: I'm happy with the API, except that --with-system-libmpdec is naturally broken. So I've to release a new libmpdec, which I'd rather do soon because I don't want to revisit this later. Antoine has looked at the API. If anyone else has requests or objections, now

[issue41324] Add a minimal decimal capsule API

2020-07-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- title: En az ondalık kapsül API ekleme -> Add a minimal decimal capsule API ___ Python tracker ___ __

[issue41324] Add a minimal decimal capsule API

2020-07-18 Thread Stefan Krah
Stefan Krah added the comment: It looks like the API would be usable, so the PR now has documentation. -- ___ Python tracker ___ __

[issue41324] Add a minimal decimal capsule API

2020-07-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: I probably won't try it out explicitly (it's basically cumbersome for us to test with non-release Pythons, because of our dependencies to Numpy and Cython), but reviewing the API should be enough anyway. -- ___ Py

[issue41324] Add a minimal decimal capsule API

2020-07-17 Thread Stefan Krah
Stefan Krah added the comment: Adding Daniele Varrazzo, in case this is useful for the PostgreSQL adapter. -- nosy: +piro ___ Python tracker ___ __

[issue41324] Add a minimal decimal capsule API

2020-07-17 Thread Stefan Krah
Stefan Krah added the comment: Also as a note for Mark and Raymond: This API is for exact conversions and avoids the use of the context except for raising ConversionSyntax. I'll add documentation once Antoine has tried it out for his use case. -- _

[issue41324] Add a minimal decimal capsule API

2020-07-17 Thread Stefan Krah
Change by Stefan Krah : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue41324] Add a minimal decimal capsule API

2020-07-17 Thread Stefan Krah
New submission from Stefan Krah : This adds a minimal decimal capsule API. As can be seen from the patch, adding anything to decimal while doing it properly is quite labor and testing intensive, so the intent is to *keep* the API minimal! That said, some functions are really necessary: 1) P

[issue41324] Add a minimal decimal capsule API

2020-07-17 Thread Stefan Krah
Change by Stefan Krah : -- keywords: +patch pull_requests: +20656 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21519 ___ Python tracker _

[issue41324] Add a minimal decimal capsule API

2020-07-17 Thread Stefan Krah
Change by Stefan Krah : -- assignee: skrah components: Extension Modules nosy: skrah priority: normal severity: normal stage: needs patch status: open title: Add a minimal decimal capsule API versions: Python 3.10 ___ Python tracker