Comments (7)
Problem arose in software exploring the properties of subgroups of symmetrical groups, and my approach needed a hash representation of a permutation that was essentially unique and without relationships to other permutation hash. I found instances of pairs of permutations for which the sum of the two hashes was shared, causing the software logic to fail, in a reproducible but hard-to-pinpoint manner.
from spyder.
- This is obviously not a bug in Spyder.
- It's probably not a bug at all.
hash
makes no guarantee that different objects have different hashes, though excessive collisions may be considered erroneous. - Use
hashlib
if your program cannot handle collisions.
from spyder.
from spyder.
Hey @aehatxdotd, thanks for reporting. Unfortunately, as @bessman said, this is not a Spyder bug so we can't help you with it here.
However, just as a quick advice, you could take a look at the hash functions from the cryptography
module:
https://cryptography.io/en/latest/hazmat/primitives/cryptographic-hashes/
from spyder.
from spyder.
from spyder.
from spyder.
Related Issues (20)
- Test issue-22030-03
- Display running state in console tabs
- keyboard shortcut to jump to next/previous line with the same indentation level
- intenal error showing HOT 1
- Is there a dot app file for Spyder on Mac OS HOT 2
- spyder crashed after installing pyqtgraph HOT 5
- Spyder: An error ocurred while starting the kernel. Cannot run conda install spyder-kernels=2.4. HOT 5
- request feature: Python interpreter supported singularity containernized python HOT 1
- Scaling on different monitors, several code editor widnows opened HOT 1
- cannot open spyder on Anaconda HOT 3
- not connecting to kernel HOT 1
- in last version of Spyder, I faced with pyflakes E when import numpy or etc. libraries, how to fix it?
- Spyder encounters and internal problem when I try to update it using its own installer HOT 1
- abcdr;j;lkasjdf;lj HOT 1
- Bug on lines wrapped
- Feature: Settings sync
- Cannot run Numpy 1.21.6 with Python 3.7.9 while documentation says it they are compatible HOT 1
- Can't open script
- Spyder not able to recognise the system executables on the PATH HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spyder.