Giter Club home page Giter Club logo

Comments (10)

vks avatar vks commented on May 21, 2024
runtests.py is affected too.

Original comment: http://code.google.com/p/mpmath/issues/detail?id=37#c1

Original author: https://code.google.com/u/[email protected]/

from mpmath.

fredrik-johansson avatar fredrik-johansson commented on May 21, 2024
Added. Let me know if it works.

Original comment: http://code.google.com/p/mpmath/issues/detail?id=37#c2

Original author: https://code.google.com/u/111502149103757882156/

from mpmath.

vks avatar vks commented on May 21, 2024
It doesn't work for some reason, please change it to the more conservative approach:

#!/usr/bin/env python

This time I tested it to be sure. Sorry, I should have done this before.

Original comment: http://code.google.com/p/mpmath/issues/detail?id=37#c3

Original author: https://code.google.com/u/[email protected]/

from mpmath.

fredrik-johansson avatar fredrik-johansson commented on May 21, 2024
Fixed. Please check again :)

Original comment: http://code.google.com/p/mpmath/issues/detail?id=37#c4

Original author: https://code.google.com/u/111502149103757882156/

from mpmath.

vks avatar vks commented on May 21, 2024
Sadly it doesn't work one Linux probably due to Windows line endings. But I don't 
expect you to change line endings to Unix encoding. Just leave it as it is (anyone 
can convert the line endings easily if he needs or just use python setup.py) and 
thanks for adding the shebangs.

Original comment: http://code.google.com/p/mpmath/issues/detail?id=37#c5

Original author: https://code.google.com/u/[email protected]/

from mpmath.

certik avatar certik commented on May 21, 2024
Yeah, the line endings issues are annoying. But it seems to me that unix line endings
kind of work everywhere, don't they?

Original comment: http://code.google.com/p/mpmath/issues/detail?id=37#c6

Original author: https://code.google.com/u/104039945248245758823/

from mpmath.

vks avatar vks commented on May 21, 2024
Yes, but not all Windows editors support them. Notepad for example. I don't which
editor Fredrik is using (surely not Notepad :), and this issue is very very minor. I
don't know if it's worth it to swap to unix line endings. Every good editor can
handle all kinds of line endings though.

Original comment: http://code.google.com/p/mpmath/issues/detail?id=37#c7

Original author: https://code.google.com/u/[email protected]/

from mpmath.

certik avatar certik commented on May 21, 2024
We have exactly the same problem with sympy, or any other project. Imho one just has
to choose one way and stick to that. And fix all problems with it.

Original comment: http://code.google.com/p/mpmath/issues/detail?id=37#c8

Original author: https://code.google.com/u/104039945248245758823/

from mpmath.

fredrik-johansson avatar fredrik-johansson commented on May 21, 2024
My editor supports unix line endings. I haven't thought of making this the default,
but I guess I should.

Original comment: http://code.google.com/p/mpmath/issues/detail?id=37#c9

Original author: https://code.google.com/u/111502149103757882156/

from mpmath.

skirpichev avatar skirpichev commented on May 21, 2024

I think this is fixed.

from mpmath.

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.