Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
03204645
Commit
03204645
authored
Jul 13, 2003
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repaired typos in comments.
parent
d7472ec1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Lib/dumbdbm.py
Lib/dumbdbm.py
+1
-1
Misc/NEWS
Misc/NEWS
+1
-1
No files found.
Lib/dumbdbm.py
View file @
03204645
...
...
@@ -39,7 +39,7 @@ class _Database(UserDict.DictMixin):
# gets called. One place _commit() gets called is from __del__(),
# and if that occurs at program shutdown time, module globals may
# already have gotten rebound to None. Since it's crucial that
# _commit() finish sucessfully, we can't ignore shutdown races
# _commit() finish suc
c
essfully, we can't ignore shutdown races
# here, and _commit() must not reference any globals.
_os
=
_os
# for _commit()
_open
=
_open
# for _commit()
...
...
Misc/NEWS
View file @
03204645
...
...
@@ -42,7 +42,7 @@ Library
on-disk data and directory files can be left in mutually inconsistent
states. dumbdbm.py'
s
_Database
.
__del__
()
method
attempted
to
close
the
database
properly
,
but
a
shutdown
race
in
_Database
.
_commit
()
could
prevent
this
f
or
m
working
,
so
that
a
program
trusting
__del__
()
could
prevent
this
f
ro
m
working
,
so
that
a
program
trusting
__del__
()
to
get
the
on
-
disk
files
in
synch
could
be
badly
surprised
.
The
race
has
been
repaired
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment