Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Make codetools.blocks2 work with python3

Open
#64 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
devtools

Research direction

Start by comparing codetools.blocks2 and codetools.blocks under Python 3, then inspect codetools/blocks2/tests/test_block.py, especially the restrict usage around line 40. Determine the migration scope and whether blocks2 alone is sufficient; done means the selected module or modules work under Python 3 with the relevant tests passing.

Written by the indexing model from the issue text.

Description

Hi, I've understood that modules codetools.blocks2 and codetools.blocks are not working for python3 yet, I'm very interested into this kind of static analysis features, especially the use of restrict.

Is there any plan to make it work with python3 ? Do you know what's the effort needed for this migration ? We should port blocks2 only right?

Tell me what you think,

Thanks

Dominant language
Python
Stars
54
Forks
10
PR merge metrics
No merged PRs in 30d

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.

More from enthought/codetools

All issues in enthought/codetools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.