Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
persistent
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
persistent
Commits
9488038f
Commit
9488038f
authored
May 26, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #38 by returning the correct type from TimeStamp_hash.
parent
1df6a6ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
CHANGES.rst
CHANGES.rst
+6
-0
persistent/_timestamp.c
persistent/_timestamp.c
+5
-0
No files found.
CHANGES.rst
View file @
9488038f
``persistent`` Changelog
========================
4.2.1 (TBD)
-----------
- Fix the hashcode of C ``TimeStamp`` objects on 64-bit Python 3 on
Windows.
4.2.0 (2016-05-05)
------------------
...
...
persistent/_timestamp.c
View file @
9488038f
...
...
@@ -152,7 +152,12 @@ TimeStamp_richcompare(TimeStamp *self, TimeStamp *other, int op)
return
result
;
}
#ifdef PY3K
static
Py_hash_t
#else
static
long
#endif
TimeStamp_hash
(
TimeStamp
*
self
)
{
register
unsigned
char
*
p
=
(
unsigned
char
*
)
self
->
data
;
...
...
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