| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Proposed alternative to #28463. |
Sorry, something went wrong.
There was a problem hiding this comment.
Casting the limit macros to void * and back again to int is perhaps a little bit too hackish. But it does allow for a single getter/setter.
Sorry, something went wrong.
old = con.SQLITE_LIMIT_LENGTH
con.SQLITE_LIMIT_LENGTH = newdoes not look nice to me. If go this way, I would prefer old = con.limit.length
con.limit.length = newBut do we have precedences of such getters and setters in the stdlib? There are also disadvantages in comparison with traditional getlimit()/setlimit().
|
Sorry, something went wrong.
|
This approach will be more tedious to maintain. I'm closing this in favour of GH-28463. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
https://bugs.python.org/issue45243