pyvec / pyvec/naucse.python.cz

test_matmul.py doesn't work with the presented Cython code on 32bit systems

Open
#673 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug content MI-PYT
Dominant language
No language data
Stars
335
Forks
119
Avg merge
3h 6m
Merged PRs (30d)
1

Description

The Cython code + tests expects the native int type to be int64. That assumption is invalid on 32bit Python.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading test_matmul.py and the presented Cython code and tests to find where native int is treated as int64. Run the matmul tests on a 32-bit Python environment and compare the failing behavior with a 64-bit run. Done means the tests and Cython code no longer assume native int is int64 on 32-bit systems.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.