Giter Site home page Giter Site logo

Does not work with Python 3.7 about termbox HOT 4 CLOSED

ritiek avatar ritiek commented on July 30, 2024 4
Does not work with Python 3.7

from termbox.

Comments (4)

qguv avatar qguv commented on July 30, 2024

This is because we're pulling an old version of waf which does not work for Python 3.7 (reference). The waf maintainers have since fixed this, so updating waf should close this issue.

from termbox.

cdluminate avatar cdluminate commented on July 30, 2024
diff --git a/waflib/Node.py b/waflib/Node.py
index a3c81e2..f5542f3 100644
--- a/waflib/Node.py
+++ b/waflib/Node.py
@@ -282,7 +282,7 @@ class Node(object):
 					if maxdepth:
 						for k in node.ant_iter(accept=accept,maxdepth=maxdepth-1,pats=npats,dir=dir,src=src,remove=remove):
 							yield k
-		raise StopIteration
+		return
 	def ant_glob(self,*k,**kw):
 		src=kw.get('src',True)
 		dir=kw.get('dir',False)

To fix this issue we only need to change one line. Python3.7's PEP already told us how to fix such breakage: https://www.python.org/dev/peps/pep-0479/

from termbox.

oblique avatar oblique commented on July 30, 2024

Any news on this?

from termbox.

rofl0r avatar rofl0r commented on July 30, 2024

i guess if someone steps up and creates a PR from the above patch, the repo owner could and would click on the merge button.

from termbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.