Giter VIP home page Giter VIP logo

Comments (8)

Suor avatar Suor commented on May 22, 2024

Yeah, and thats no surprise. It was not intended to run on python 3. And am I'm not going to support or maintain a python 3 port for now, sorry.

If a champion arises willing to handle all of this, I will surely support him. But there are more problems with python 3 than just lack of syntax features. There were some semantic changes as well (map and filter now return iterators) which need funcy to be adjusted - for now funcy is all in that func/ifunc semantics of python 2. I don't have a solid opinion what to do about that in python 3 funcy version and that adds up to my decision to avoid python 3 version for now.

If you are willing to be that champion or just have an idea how funcy should handle that ill python 3 semantics, I will be glad to hear it.

from funcy.

EnricoGiampieri avatar EnricoGiampieri commented on May 22, 2024

For now I have made a crude support for python 3 (it just needed some control on import exception, later i will try and do some more robust import method). How am i supposed to run the tests?

from funcy.

Suor avatar Suor commented on May 22, 2024

I don't really understand what you mean you did. For testing - what's wrong with py.test? You can also set up tox if you wish to test in several pythons at once.

from funcy.

EnricoGiampieri avatar EnricoGiampieri commented on May 22, 2024

sorry, written in a hurry and wasn't clear. I was wandering if there was an automated test suite, as I'm not familiar with py.test (I'm more used to unittest and nose). I just worked out how to do it, so I'm doing the tests right now...

from funcy.

Suor avatar Suor commented on May 22, 2024

Added python 3 support in 2b2ae11 and eb62cb2. Docs to be updated.

from funcy.

kvesteri avatar kvesteri commented on May 22, 2024

Really looking forward to this! Most of the OS components I've published will definitely use funcy once it supports python 3.3.

from funcy.

Suor avatar Suor commented on May 22, 2024

Python 3 supported in 0.9.

from funcy.

Suor avatar Suor commented on May 22, 2024

Also mind interface differences (some differently named functions) in python 3 http://funcy.readthedocs.org/en/latest/python3.html

from funcy.

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.