Comments (4)
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):
Couldn't we reuse bad-builtin for this?
from pylint.
Original comment by Sylvain Thénault (BitBucket: sthenault, GitHub: @sthenault?):
We could reuse bad-builtin yes, though the advantage of a specific message would be to link to the Python documentation explaining the rational.
I would propose to start with 'file' in bad-builtins and to think to something more specific if we get the question repeatedly.
from pylint.
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):
Mark file
as a bad function when using python 2, closes #8.
from pylint.
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):
Hi! Fixed by changeset 0753071.
from pylint.
Related Issues (20)
- Crash AstroidError - AttributeError: 'TreeRebuilder' object has no attribute 'visit_typealias' HOT 4
- Crash 💥 `RecursionError` when upgrading from 3.0.3 to 3.1.0 HOT 2
- False positive on E1101: no-member when using "random.choices"
- Suggest flattening nested idempotent function applications HOT 3
- False positive singleton-comparison with sqlalchemy's filter
- Pylint crash: RecursionError: maximum recursion depth exceeded HOT 2
- Incorrect "Value '<val>' is unsubscriptable" with class method type overloading HOT 2
- sdist is missing requirements files
- 3.1.0: Nine test_functional and one test_package fails HOT 4
- Crashed while using pylint as a static test for a docker
- False positive assignment-from-no-return on generator with nested yield expression
- [Documentation] - Fix 2 typos in `too-many-branches` documentation
- spelling of Sphinx parameter descriptions
- Unexpected keyword argument for Generic dataclass with ABC bounded TypeVar
- Pylint 3.1.0 reports ByteString as deprecated class when ``py-version = 3.8`` HOT 3
- Cannot disable 'cyclic-import' warning HOT 1
- False-positive E0:601 on `datetime` when USE_TYPECHECKING HOT 1
- Wrong string missing method when defining with round brackets
- Check for pylint pragmas in `__init__.py` HOT 2
- Non existent member not detected on datetime.datetime
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 pylint.