Re: [Python-Dev] Import semantics?

2012-06-08 Thread Eric V. Smith
On 6/8/2012 6:41 PM, Ethan Furman wrote: > Dan Stromberg wrote: >> On Fri, Jun 8, 2012 at 3:16 PM, Ethan Furman wrote: >> Dan Stromberg wrote: >>> Did the import semantics change in cpython 3.3a4? >>> >>> I used to be able to import treap.py even though I had a treap >>> directory in my cwd. With

Re: [Python-Dev] Import semantics?

2012-06-08 Thread Ethan Furman
Dan Stromberg wrote: On Fri, Jun 8, 2012 at 3:16 PM, Ethan Furman wrote: Dan Stromberg wrote: Did the import semantics change in cpython 3.3a4? I used to be able to import treap.py even though I had a treap directory in my cwd. With 3.3a4, I have to rename the treap directory to see treap.py.

Re: [Python-Dev] Import semantics

2006-07-06 Thread Samuele Pedroni
Frank Wierzbicki wrote: > On 7/5/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > >>Hi Frank, >> >>Have you and/or the Jython community made up your mind about this? The >>thread seems to have disappeared after you posted (or perhaps it >>continued only on jython-dev, which I don't read?). > > T

Re: [Python-Dev] Import semantics

2006-07-05 Thread Guido van Rossum
On 7/5/06, Frank Wierzbicki <[EMAIL PROTECTED]> wrote: > On 7/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Frank> That said, I still regard Samuele Pedroni as the ultimate > > Frank> authority on Jython and give him pretty much full veto power. He > > Frank> fortunately c

Re: [Python-Dev] Import semantics

2006-07-05 Thread skip
Skip> Does that make Samele the DBPV (Dictator benevolo per vita)? ;-) Alex> In Italian that would be DBAV (Dittatore benevolo a vita)...;-) Damn Google Translator. File a bug report for me please Alex (or Guido or Jeremy or Neal or ...). ;-) Skip __

Re: [Python-Dev] Import semantics

2006-07-05 Thread Frank Wierzbicki
On 7/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Frank> That said, I still regard Samuele Pedroni as the ultimate > Frank> authority on Jython and give him pretty much full veto power. He > Frank> fortunately continues to watch the checkins and prods me when I > Frank> g

Re: [Python-Dev] Import semantics

2006-07-05 Thread Alex Martelli
In Italian that would be DBAV (Dittatore benevolo a vita)...;-) Alex On 7/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Frank> That said, I still regard Samuele Pedroni as the ultimate > Frank> authority on Jython and give him pretty much full veto power. He > Frank> fortu

Re: [Python-Dev] Import semantics

2006-07-05 Thread skip
Frank> That said, I still regard Samuele Pedroni as the ultimate Frank> authority on Jython and give him pretty much full veto power. He Frank> fortunately continues to watch the checkins and prods me when I Frank> go in the wrong direction. Does that make Samele the DBPV (Dictat

Re: [Python-Dev] Import semantics

2006-07-05 Thread Frank Wierzbicki
On 7/5/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Hi Frank, > > Have you and/or the Jython community made up your mind about this? The > thread seems to have disappeared after you posted (or perhaps it > continued only on jython-dev, which I don't read?). The thread pretty much stopped there

Re: [Python-Dev] Import semantics

2006-07-05 Thread Frank Wierzbicki
> In that case, why not post a news item saying this? The website is > probably the first place people look... > I think any news other than "here is the beta -- follow this link to download it" would be kind of a waste at this point. And that will come when I finish __slots__, subclassable "type"

Re: [Python-Dev] Import semantics

2006-07-05 Thread Guido van Rossum
On 7/5/06, Anthony Baxter <[EMAIL PROTECTED]> wrote: > On Wednesday 05 July 2006 18:12, Guido van Rossum wrote: > > I'm asked > > occasionally what the status of Jython is; people point out that > > the last release was 2.1 many years ago and the website has no news > > since early 2005; thy're afr

Re: [Python-Dev] Import semantics

2006-07-05 Thread Anthony Baxter
On Wednesday 05 July 2006 18:12, Guido van Rossum wrote: > I'm asked > occasionally what the status of Jython is; people point out that > the last release was 2.1 many years ago and the website has no news > since early 2005; thy're afraid that Jython is dying and that it's > not a viable choice fo

Re: [Python-Dev] Import semantics

2006-07-05 Thread Guido van Rossum
On 6/25/06, Frank Wierzbicki <[EMAIL PROTECTED]> wrote: > Sorry for the untrimmed conversation, but I've cc'ed jython-dev, my > comments are at the bottom. > > On 6/12/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On 6/12/06, Samuele Pedroni <[EMAIL PROTECTED]> wrote: > > > Fabio Zadrozny wro

Re: [Python-Dev] Import semantics

2006-06-25 Thread Frank Wierzbicki
Sorry for the untrimmed conversation, but I've cc'ed jython-dev, my comments are at the bottom. On 6/12/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 6/12/06, Samuele Pedroni <[EMAIL PROTECTED]> wrote: > > Fabio Zadrozny wrote: > > > Python and Jython import semantics differ on how sub-pack

Re: [Python-Dev] Import semantics

2006-06-12 Thread Bill Janssen
> this is mildy insulting, to the people that spent time trying to find > the best compromises between various issues and keep jython alive. Sorry, didn't mean to disparage that work. Bill ___ Python-Dev mailing list Python-Dev@python.org http://mail.p

Re: [Python-Dev] Import semantics

2006-06-12 Thread Bill Janssen
writes: > what [Python] specification? Good meta-point. Bill ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Import semantics

2006-06-12 Thread Fredrik Lundh
Bill Janssen wrote: > If it's Python, it has to comply with the Python specification, > regardless of what Java does. what specification ? ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscri

Re: [Python-Dev] Import semantics

2006-06-12 Thread Samuele Pedroni
Bill Janssen wrote: >>the difference in Jython is deliberate. I think the reason was to mimic >>more the Java style for this, in java fully qualified names always work. >>In jython importing the top level packages is enough to get a similar >>effect. >> >>This is unlikely to change for backward

Re: [Python-Dev] Import semantics

2006-06-12 Thread Bill Janssen
> the difference in Jython is deliberate. I think the reason was to mimic > more the Java style for this, in java fully qualified names always work. > In jython importing the top level packages is enough to get a similar > effect. > > This is unlikely to change for backward compatibility reason

Re: [Python-Dev] Import semantics

2006-06-12 Thread Guido van Rossum
On 6/12/06, Samuele Pedroni <[EMAIL PROTECTED]> wrote: > Fabio Zadrozny wrote: > > Python and Jython import semantics differ on how sub-packages should be > > accessed after importing some module: > > > > Jython 2.1 on java1.5.0 (JIT: null) > > Type "copyright", "credits" or "license" for more info

Re: [Python-Dev] Import semantics

2006-06-12 Thread Samuele Pedroni
Fabio Zadrozny wrote: > Python and Jython import semantics differ on how sub-packages should be > accessed after importing some module: > > Jython 2.1 on java1.5.0 (JIT: null) > Type "copyright", "credits" or "license" for more information. > >>> import xml > >>> xml.dom > > > Python 2.4.2 (#

Re: [Python-Dev] Import semantics

2006-06-11 Thread Terry Reedy
"Fabio Zadrozny" <[EMAIL PROTECTED]> wrote in message >Jython 2.1 on java1.5.0 (JIT: null) >Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on >win32 Jython 2.1 intends to match Python 2.1, I believe. Python 2.2, which I still have loaded, matches Python 2.4 in the behavior

[Python-Dev] Import semantics

2006-06-11 Thread Fabio Zadrozny
Python and Jython import semantics differ on how sub-packages should be accessed after importing some module:Jython 2.1 on java1.5.0 (JIT: null)Type "copyright", "credits" or "license" for more information. >>> import xml>>> xml.domPython 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel