Comments (4)
Off the top of my head, this shouldn't be the case because relative module imports don't include the modules themselves. Try it; a test.py with "import test" in it won't cause a recursive import. I'll see if I can reproduce this tomorrow.
from bravo.
This is what I get:
tw@machine: ~/minecraft_server/_test $ cat json.py
import json
def foo(): pass
print (json)
tw@machine: ~/minecraft_server/_test $ python2.6 json.py
<module 'json' from '/home/tw/minecraft_server/_test/json.py'>
<module 'json' from '/home/tw/minecraft_server/_test/json.py'>
tw@machine: ~/minecraft_server/_test2 $ cat test.py
import json
def bar(): pass
print(json)
tw@machine: ~/minecraft_server/_test2 $ python2.6 test.py
<module 'json' from '/usr/lib64/python2.6/json/__init__.pyc'>
Btw. awesome project! Keep it up!
from bravo.
Bizarre; I just reproduced this on a fresh Gentoo box with Python 2.6. I guess the JSON imports need to be cleaned up at some point.
from bravo.
JSON's no longer the default, so I'm closing this.
from bravo.
Related Issues (20)
- Redo Packet Parsing
- Chat Language & Message Formatting Modules
- Fix Chunk Caching
- Finish Redstone
- Fix Liquids
- Fix Windows & Inventory
- Replace poll-driven with event-driven state changes
- Parsers For Chat Plugins
- FIRE!! HOT 1
- Mobs, preferably rideable
- Update Block List
- List Missing Features
- [question] HOT 1
- I got Bravo working in OSX, but unable to connect to the server. HOT 1
- Phone-home stats
- Dynamic precipitation
- pip install bravo HOT 2
- install instructions and connection timed out HOT 2
- Cannot get it working event with the 1.6.4 client HOT 2
- website is down HOT 4
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 bravo.