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-108590: Fix sqlite3.iterdump for invalid unicode in text columns and reproducability. by CorvinM · Pull Request #108695 · python/cpython

Conversation

@CorvinM

@CorvinM CorvinM commented Aug 30, 2023 •
edited by bedevere-bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Fixes an exception where sqlite3.iterdump would fail to decode if someone stuffed invalid unicode into a database column marked as TEXT (or alias of, like VARCHAR).

Added a test to show reproducibility from the dump.

See #108590 for more info

  • Issue: sqlite3.iterdump() incompatible with binary data #108590

Sorry, something went wrong.

Uh oh!

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

All reactions
CorvinM and others added 8 commits August 29, 2023 20:53
@CorvinM
pythongh-108590: Fix sqlite3.iterdump for invalid unicode in text col…
a689bbd
…umns.
@blurb-it
📜🤖 Added by blurb_it.
03f41df
@CorvinM @erlend-aasland
Update Misc/NEWS.d/next/Library/2023-08-29-22-53-48.gh-issue-108590.6…
e2939d5
…k0pOl.rst

Co-authored-by: Erlend E. Aasland <[email protected]>
@CorvinM @erlend-aasland
Update Lib/sqlite3/dump.py
0643ffc
Co-authored-by: Erlend E. Aasland <[email protected]>
@CorvinM
Address comments
608d919
@CorvinM
Use contextmanager
cc7fba8
@erlend-aasland
Style nits and a comment
c1b730d
@CorvinM
Add dump reproducability test
365b16e
This was referenced Aug 30, 2023
sqlite3.iterdump() incompatible with binary data #108590
Closed
gh-108590: Fix sqlite3 iterdump() for table columns containing invalid Unicode sequences #108683
Closed
@CorvinM

CorvinM commented Sep 4, 2023

Copy link
Copy Markdown
Contributor Author

Closing as its an incomplete solution and in favor of #108699

All reactions

Sorry, something went wrong.

Uh oh!

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

@CorvinM CorvinM closed this Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

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

Uh oh!

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

Assignees

No one assigned

Labels

None yet

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.

2 participants

@CorvinM @erlend-aasland
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.