TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PEP 675 – Arbitrary Literal Strings

1 pointsby anthony_romeoover 3 years ago

1 comment

anthony_romeoover 3 years ago
Submitted because I've been working on a site built using psycopg2. The need to never format queries with user input, and instead to use the builtin methods which perform the formatting safely on execution, is mentioned throughout the documentation. This change would allow one to write a function which actually enforces this requirement.