Visitar URL original
bpo-26187: Tests sqlite3 trace callback no duplicate on shcema changing by palaviv · Pull Request #461 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CR fixes
  • Loading branch information
palaviv committed Mar 23, 2017
commit 3c21e8b1f00a73b85d75461e18e47900af43fa64
4 changes: 1 addition & 3 deletions Lib/sqlite3/test/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,7 @@ def trace(statement):

@unittest.skipIf(sqlite.sqlite_version_info < (3, 3, 9), "sqlite3_prepare_v2 is not available")
def CheckTraceCallbackContent(self):
"""
bpo-26187
"""
# set_trace_callback() shouldn't produce duplicate content (bpo-26187)
traced_statements = []
def trace(statement):
traced_statements.append(statement)
Expand Down
7 changes: 3 additions & 4 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ Extension Modules
Library
-------

- bpo-26187: Test that sqlite trace callback is not called multiple
times when schema is changing. Fixed by bpo-9303
(Migrate sqlite3 module to _v2 API). Patch by Aviv Palivoda.
- bpo-26187: Test that sqlite3 trace callback is not called multiple
times when schema is changing. Indirectly fixed by switching to
use sqlite3_prepare_v2() in bpo-9303. Patch by Aviv Palivoda.

- bpo-8256: Fixed possible failing or crashing input() if attributes "encoding"
or "errors" of sys.stdin or sys.stdout are not set or are not strings.
Expand All @@ -306,7 +306,6 @@ Library
check identity before checking equality when do comparisons.

- bpo-28682: Added support for bytes paths in os.fwalk().
>>>>>>> upstream/master

- bpo-29623: Allow use of path-like object as a single argument in
ConfigParser.read(). Patch by David Ellis.
Expand Down