[Python-Dev] okay to remove argparse.all? (original) (raw)
Michael Foord fuzzyman at voidspace.org.uk
Mon Nov 1 15:59:07 CET 2010
- Previous message: [Python-Dev] okay to remove argparse.__all__?
- Next message: [Python-Dev] okay to remove argparse.__all__?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/11/2010 14:57, Guido van Rossum wrote:
[snip...]
Not defining all will mean that "from argparse import *" will also export all the modules you import (copy, os, re, sys, textwrap). Well, the copy of argparse.py that I have carefully renames those to copy, os etc. to avoid this.
Bah.... Sorry about that.
Michael
--
READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
- Previous message: [Python-Dev] okay to remove argparse.__all__?
- Next message: [Python-Dev] okay to remove argparse.__all__?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]