Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-41861: Convert sqlite3 cache and node types to heap types #22417

Merged

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Sep 26, 2020

@erlend-aasland erlend-aasland changed the title bpo-41861: /cache and node types bpo-41861: Convert sqlite3 cache and node types to heap types Sep 26, 2020
Modules/_sqlite/cache.c Outdated Show resolved Hide resolved
Modules/_sqlite/cache.c Outdated Show resolved Hide resolved
This reverts commit a3e33bd.
@erlend-aasland
Copy link
Contributor Author

Thanks for your comments, @vstinner. Please take another look.

@erlend-aasland
Copy link
Contributor Author

erlend-aasland commented Sep 26, 2020

@vstinner I've prepared the other PR's, and after applying the same suggestions to every (upcoming) PR, I've gotten rid of the reference leaks. So now, all the sqlite3 types are ready. I suggest to squash the statement and prepare protocol type in one PR, and then keep the rest as separate PRs.

@vstinner vstinner merged commit a937ab4 into python:master Sep 27, 2020
@vstinner
Copy link
Member

Merged, thanks! You can now convert the next static types ;-)

@erlend-aasland
Copy link
Contributor Author

Merged, thanks! You can now convert the next static types ;-)

Yay, will do :) Thanks for reviewing!

@erlend-aasland erlend-aasland deleted the fix-bpo-41861/cache-and-node-types branch September 27, 2020 18:34
shihai1991 added a commit to shihai1991/cpython that referenced this pull request Sep 29, 2020
* origin/master: (113 commits)
  bpo-41773: Raise exception for non-finite weights in random.choices().  (pythonGH-22441)
  bpo-41873: Add vectorcall for float() (pythonGH-22432)
  bpo-41861: Convert _sqlite3 PrepareProtocolType to heap type (pythonGH-22428)
  bpo-41842: Add codecs.unregister() function (pythonGH-22360)
  bpo-41875: Use __builtin_unreachable when possible (pythonGH-22433)
  bpo-40105: ZipFile truncate in append mode with shorter comment (pythonGH-19337)
  bpo-41870: Use PEP 590 vectorcall to speed up bool()  (pythonGH-22427)
  [doc] Leverage the fact that the actual types can now be indexed for typing (pythonGH-22340)
  bpo-41861: Convert _sqlite3 cache and node static types to heap types (pythonGH-22417)
  bpo-41858: Clarify line in optparse doc (pythonGH-22407)
  Revert "Fix all Python Cookbook links (python#22205)" (pythonGH-22424)
  bpo-1635741: Port _bisect module to multi-phase init (pythonGH-22415)
  bpo-41428: Fix compiler warning in unionobject.c (pythonGH-22416)
  Fix logging error message (pythonGH-22410)
  bpo-39934: Account for control blocks in 'except' in compiler. (pythonGH-22395)
  bpo-41775: Make 'IDLE Shell' the shell title  (python#22399)
  bpo-41428: Fix compiler warnings in unionobject.c (pythonGH-22388)
  bpo-41654: Fix compiler warning in MemoryError_dealloc() (pythonGH-22387)
  bpo-41833: threading.Thread now uses the target name (pythonGH-22357)
  bpo-30155: Add macros to get tzinfo from datetime instances (pythonGH-21633)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants