Comments (4)
You are removing function docstrings with an optimization flag, and this is causing errors with the compat code because it expects docstrings to exist. Do I understand your issue correctly? If so, this seems like it will be a straightforward fix.
from natsort.
As a side note, the py23compat.py
file hasn't existed in natsort
since version 4.0.1... version 4.0.3 was released almost a year ago, and there is now version 5.0.0. Is there a reason you haven't upgraded?
from natsort.
Version 5.0.1 incorporates this update.
from natsort.
You're right.
We're using ver. 3.5 in our local PYPI. But we checked ver. 5 installed from common PYPI and had similar error. I think your last fix solve it. As soon as possible i check it! Thanks!
from natsort.
Related Issues (20)
- Strings ending without a number end up last HOT 5
- Minimal PyIcu install HOT 6
- Wrong ordering of ordered pandas categoricals HOT 10
- Incorrect release version HOT 1
- Wrong sorting in cs_CZ.UTF-8 locale - humansorted HOT 2
- `os_sorted` fails to sort current directory HOT 3
- Wrong os_sorted sorting with special character in filename HOT 2
- Can't use natsort_keygen() as key for sorting DataFrame with MultiIndex in pandas HOT 3
- Some values don't sort in a consistent order HOT 3
- Set which OS to sort by in `os_sorted` HOT 8
- Paths should be sorted like strings HOT 6
- Loosen types and type checking
- Sorting a list of dictionaries when the sort field might or might not have a number HOT 2
- Improve os_sorted performance by avoiding `Path` roundtrips HOT 1
- add a mode for hexadecimal numbers HOT 7
- 1 test fails HOT 5
- RFE: drop use `m2r2` module HOT 8
- Sorting income category with both string and num HOT 1
- compatibility with GNU coreutils sort -n (numeric sort) HOT 14
- 'os_sorted' sorts files with spaces in names not as in Windows Explorer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from natsort.