GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-69093: Add incremental I/O to blobs support in `sqlite3` by erlend-aasland · Pull Request #30356 · python/cpython

Conversation

@erlend-aasland

@erlend-aasland erlend-aasland commented Jan 3, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

TODO

  • Coverage: Test very large values (offsets > INT_MAX, etc.)
  • Finalise API (open_blob or blobopen?)

https://bugs.python.org/issue24905

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
palaviv and others added 30 commits July 29, 2020 19:37
@palaviv
support BLOB incremental I/O in sqlite module
4fa0e91
@palaviv
Note that blob size cannot be changed using the blob object
3fe9108
@palaviv
Use assertRaises in tests
865c1c8
@palaviv
Fix doc error
788fd54
@palaviv
blob support sequence protocol
a1361e5
@palaviv
Calculate blob length once at creation
5aedfba
@palaviv
Add initial Doc for sequence protocol
db6ef32
@palaviv
Don't support blob operation
219f4cb
@palaviv
move news entry to blurb
6dafe0e
@palaviv
Add blob to PCBuild
ffac901
@palaviv
Update version
3475fa1
@palaviv
Fix memory leak
f6015ff
@palaviv
Update version
01e526c
@palaviv
Fix CR comments in documentation and testing
354bebf
@palaviv
Fix CR comments in code
9709456
@palaviv
Make readonly and dbname keyword arguements only
e6e5099
@palaviv
Fix more CR comments
e9a8080
@palaviv
Add more indicative error on write bigger then blob length
d4fb1b5
Erlend E. Aasland
Merge branch 'main' into sqlite-blob
a7288f9
Erlend E. Aasland
Adapt sqlite3.Connection.open_blob() to AC
525a9c3
Erlend E. Aasland
Adapt sqlite.Blob to AC
2f65cc8
Erlend E. Aasland
PEP 7 and normalised naming
0dd047f
Erlend E. Aasland
Use Py_NewRef and Py_IsNone
d34a77b
Erlend E. Aasland
Harden blob_open()
9d55705
Erlend E. Aasland
Move blob init to blob_open()
d47ea17
Erlend E. Aasland
initialise rc in blob_ass_subscript()
e07a116
Erlend E. Aasland
Improve blob.seek() parameter naming
982c812
Erlend E. Aasland
Adapt to heap types and allow calling close multiple times
e92495b
Erlend E. Aasland
Consolidate tests
8f2ce8a
Erlend E. Aasland
Naming: read_length => length
0a87520
Erlend E. Aasland added 7 commits November 17, 2021 21:56
Erlend E. Aasland
Merge branch 'main' into sqlite-blob
220b576
Erlend E. Aasland
Format docs with linewidth 80
d9b5cdf
Erlend E. Aasland
Improve tests
aaa2721
Erlend E. Aasland
Merge branch 'main' into sqlite-blob
18e5118
Erlend E. Aasland
Add clinic_state() stub. (Currently not used)
8f685ba
Erlend E. Aasland
Visit/clear blob type during module traverse/clear
96df661
Erlend E. Aasland
Harden some tests, simplify others
97d12a8
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Jan 3, 2022
@bedevere-bot bedevere-bot added the awaiting review label Jan 3, 2022
@erlend-aasland

erlend-aasland commented Jan 3, 2022

Copy link
Copy Markdown
Contributor Author

Original PR: GH-271
Original author: @palaviv

This PR is based on GH-271, with all changes applied on top of it. Thanks Aviv, for all the good work.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Erlend E. Aasland added 14 commits January 3, 2022 13:49
Erlend E. Aasland
Simplify example
2e63b3e
Erlend E. Aasland
Update docs
be27747
- sync with docstrings
- simplify some sections
- clarify some parameters
Erlend E. Aasland
Simplify tests
5add365
Erlend E. Aasland
Safe close
bacf087
Erlend E. Aasland
Condense a comment
5ff202d
Erlend E. Aasland
Make sure we catch int overflow for all types of writes
1fa5901
Erlend E. Aasland
Merge branch 'main' into sqlite-blob-all
16f4d0d
Erlend E. Aasland
Fix typo in test name
7aec288
Erlend E. Aasland
Improve test
aaaf7ab
Erlend E. Aasland
Improve tests
f9e65c0
Erlend E. Aasland
Always check length in inner write
6a5c864
Erlend E. Aasland
Fix missing array sentinel
ea1045c
Erlend E. Aasland
Match apsw's API open_blob => blobopen
2f848d9
Erlend E. Aasland
Fix overflow test on win x64
8d906bc
@erlend-aasland erlend-aasland mentioned this pull request Jan 19, 2022
gh-69093: Support basic incremental I/O to blobs in sqlite3 #30680
Merged
@erlend-aasland erlend-aasland changed the title bpo-24905: Add incremental I/O to blobs support in sqlite3 gh-69093: Add incremental I/O to blobs support in sqlite3 Apr 10, 2022
@jimminter jimminter mannequin mentioned this pull request Apr 15, 2022
Allow incremental I/O to blobs in sqlite3 #69093
Closed
@JelleZijlstra

JelleZijlstra commented Apr 15, 2022

Copy link
Copy Markdown
Member

@erlend-aasland can this be closed?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@erlend-aasland erlend-aasland closed this Apr 15, 2022
@erlend-aasland
erlend-aasland deleted the sqlite-blob branch April 15, 2022 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@AA-Turner AA-Turner Awaiting requested review from AA-Turner AA-Turner will be requested when the pull request is marked ready for review AA-Turner is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

awaiting review

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@erlend-aasland @JelleZijlstra @the-knights-who-say-ni @bedevere-bot @palaviv
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.