On Wed, Nov 11, 2009 at 10:34 PM, Khalid Al-Ghamdi <emailkg...@gmail.com> wrote: > hi, > can anyone tell me why on python 2.6 i can enter os.environ and then get all > the items that that pertain to the os while on python 3 you just get the > following: > <os._Environ object at 0x01B18D90> > with no items?
I think this is perhaps an oversight in Python 3.1. I have filed a bug with an explanation (if you do want to know why) at http://bugs.python.org/issue7310 Kent _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor