On 8/4/2012 7:19 PM, Steven D'Aprano wrote:
On Sat, 04 Aug 2012 18:38:33 -0700, Paul Rubin wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
Runtime optimizations that target the common case, but fall back to
unoptimized code in the rare cases that the optimization doesn't
Hello,
for the program developed and maintained by our company the
compatibility with Python 2.5 is desired. I'm developing with Python
2.7, though I would like to use dictionary comprehensions in my code.
The dictionary comprehensions were added to Python in version 2.7 at
first time. Is it
in my opinion, without importing it makes it unnecessarily complicated.
You just want to know it module xyz exists, or better said can be found
(sys.path).
why not try - except[ - else ]
try:
import mymodule
except ImportError:
# NOW YOU KNOW it does not exist
#+ and you may react
Iryna Feuerstein iryna.feuerst...@fernuni-hagen.de writes:
code. The dictionary comprehensions were added to Python in version
2.7 at first time. Is it possible to make it compatible with Python
2.5 anyway? Perhaps by using the __future__ module?
Not back to 2.5, but they're not that important
Not back to 2.5, but they're not that important anyway. Just use:
d = dict((k, v) for k,v in ... )
Thank you very much! It is the perfect solution for me.
Regards,
Iryna.
--
http://mail.python.org/mailman/listinfo/python-list
On 07/08/2012 02:12, Steven D'Aprano wrote:
On Mon, 06 Aug 2012 17:17:33 +0100, Mark Lawrence wrote:
Please see my comment at the bottom hint hint :)
Please trim unnecessary quoted text.
We don't need to see the entire thread of comment/reply/reply-to-reply
duplicated in *every* email.
Hi Michael,
On 08/07/2012 08:43 AM, Michael Poeltl wrote:
in my opinion, without importing it makes it unnecessarily complicated.
It does, but I think this is what I want, thus my question.
I tried to keep my question simple without explaining too much.
Well now here's a little more context.
On 07/08/12 06:35, Steven D'Aprano wrote:
On Mon, 06 Aug 2012 10:24:10 +0100, lipska the kat wrote:
er, the point I was trying to make is that when you say 'interface' it
could mean so many things. If you say 'facade' everyone knows exactly
what you are talking about. And that is EXACTLY the
Gelonida N wrote:
Is this possible.
let's say I'd like to know whether I could import the module
'mypackage.mymodule', meaning,
whther this module is located somewhere in sys.path
i tried to use
imp.find_module(), but
it didn't find any module name containing a '.'
You could look
On Tue, Aug 7, 2012 at 6:00 PM, Gelonida N gelon...@gmail.com wrote:
modulename = 'my.module'
cmd = 'import %s as amodule'
try:
exec(cmd)
print imported successfully
Someone will doubtless correct me if I'm wrong, but I think you can
avoid exec here with:
On 07/08/12 06:19, Steven D'Aprano wrote:
On Mon, 06 Aug 2012 09:55:24 +0100, lipska the kat wrote:
On 06/08/12 01:22, Steven D'Aprano wrote:
On Sun, 05 Aug 2012 20:46:23 +0100, lipska the kat wrote:
[snip]
The clue is in the name 'Object Oriented' ... anything else is (or
should be)
On Mon, 06 Aug 2012 17:23:19 +0100, lipska the kat wrote:
On 06/08/12 13:19, rusi wrote:
I suggest this
http://steve-yegge.blogspot.in/2006/03/execution-in-kingdom-of-
nouns.html
http://bpfurtado.livejournal.com/2006/10/21/
Unfortunately the author (Bruno Furtado) has missed the point. He
Hi,
I'd like to request adding the module
http://pypi.python.org/pypi/regex
to Python's standard library in the (near) future or to even replace the
current 're' module by it.
Personally I'm in need for fuzzy regular expressions and I don't see how
to do this easily and efficiently without
On 07/08/12 10:44, Steven D'Aprano wrote:
On Mon, 06 Aug 2012 17:23:19 +0100, lipska the kat wrote:
On 06/08/12 13:19, rusi wrote:
I suggest this
http://steve-yegge.blogspot.in/2006/03/execution-in-kingdom-of-
nouns.html
http://bpfurtado.livejournal.com/2006/10/21/
Unfortunately the
Helmut Jarausch wrote:
I'd like to request adding the module
http://pypi.python.org/pypi/regex
to Python's standard library in the (near) future or to even replace the
current 're' module by it.
Personally I'm in need for fuzzy regular expressions and I don't see how
to do this easily
On Monday, August 6, 2012 4:32:13 PM UTC+3, S.B wrote:
Hello friends
Does anyone know if it's possible to pickle and un-pickle a file across a
network socket. i.e:
First host pickles a file object and writes the pickled file object to a
client socket.
Second host reads the
You are correct.
On 7 August 2012 14:38, Chris Angelico ros...@gmail.com wrote:
On Tue, Aug 7, 2012 at 6:00 PM, Gelonida N gelon...@gmail.com wrote:
modulename = 'my.module'
cmd = 'import %s as amodule'
try:
exec(cmd)
print imported successfully
Someone will doubtless
On 07/08/12 12:21, S.B wrote:
Can anyone provide a simple code example of the client and server sides?
Working on it
lipska
--
Lipska the Kat: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun
--
http://mail.python.org/mailman/listinfo/python-list
lipska the kat lipskathe...@yahoo.co.uk writes:
The ONLY concept that you should never try to encapsulate is/are
human beings or their aliases.
You stated this in absolute, dogmatic terms. I thought at first you were
being hyperbolic for effect, but the situation that you present to
support
I've been tracking down some weird import problems we've been having with
django. Our settings.py file is getting imported twice. It has some
non-idempotent code in it, and we blow up on the second import.
I thought modules could not get imported twice. The first time they get
imported,
I don't think the modules are actually imported twice. The entry is just
doubled;that's all
On 7 August 2012 18:48, Roy Smith r...@panix.com wrote:
I've been tracking down some weird import problems we've been having with
django. Our settings.py file is getting imported twice. It has some
On Sat, 2012-08-04 at 20:26 -0700, shearich...@gmail.com wrote:
Just out of curiosity, why do you eschew ORMs?
Good question !
I'm not anti-ORM (in fact in many circs I'm quite pro-ORM) but for
some time I've been working with a client who doesn't want ORMs used
(they do have quite good
On Tue, 07 Aug 2012 09:18:26 -0400, Roy Smith wrote:
I thought modules could not get imported twice. The first time they get
imported, they're cached, and the second import just gets you a
reference to the original. Playing around, however, I see that it's
possible to import a module twice
Roy Smith r...@panix.com writes:
So, it appears that you *can* import a module twice, if you refer to
it by different names! This is surprising.
The tutorial is misleading on this. It it says plainly:
A module can contain executable statements as well as function
definitions. […] They
On 07/08/2012 11:13, Helmut Jarausch wrote:
Hi,
I'd like to request adding the module
http://pypi.python.org/pypi/regex
to Python's standard library in the (near) future or to even replace the
current 're' module by it.
Personally I'm in need for fuzzy regular expressions and I don't see how
On Monday, August 6, 2012 11:39:45 PM UTC-4, Dennis Lee Bieber wrote:
On Tue, 7 Aug 2012 07:59:44 +1000, Chris Angelico ros...@gmail.com
declaimed the following in gmane.comp.python.general:
On Tue, Aug 7, 2012 at 5:22 AM, Dennis Lee Bieber wlfr...@ix.netcom.com
wrote:
So am I
On 07/08/2012 14:28, Ramchandra Apte wrote:
I don't think the modules are actually imported twice. The entry is just
doubled;that's all
Please don't top post, this is the third time of asking.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On 07/08/12 14:12, Ben Finney wrote:
lipska the katlipskathe...@yahoo.co.uk writes:
The ONLY concept that you should never try to encapsulate is/are
human beings or their aliases.
You stated this in absolute, dogmatic terms. I thought at first you were
being hyperbolic for effect, but the
On Tue, 07 Aug 2012 10:19:31 +0100, lipska the kat wrote:
On 07/08/12 06:19, Steven D'Aprano wrote:
[...]
But what *really* gets me is not the existence of poor terminology. I
couldn't care less what terminology Java programmers use among
themselves.
I'd be most grateful if you could park
On 07/08/12 15:14, Steven D'Aprano wrote:
On Tue, 07 Aug 2012 10:19:31 +0100, lipska the kat wrote:
On 07/08/12 06:19, Steven D'Aprano wrote:
[...]
But what *really* gets me is not the existence of poor terminology. I
couldn't care less what terminology Java programmers use among
themselves.
On 2012-08-07 15:55, Ben Finney wrote:
Roy Smith r...@panix.com writes:
So, it appears that you *can* import a module twice, if you refer to
it by different names! This is surprising.
The tutorial is misleading on this. It it says plainly:
A module can contain executable statements as
On Tue, 07 Aug 2012 13:15:29 +0200, Peter Otten wrote:
I don't think that will help. From PEP 408:
As part of the same announcement, Guido explicitly accepted Matthew
Barnett's 'regex' module [4] as a provisional addition to the standard
library for Python 3.3 (using the 'regex' name,
On 07/08/2012 15:47, Helmut Jarausch wrote:
On Tue, 07 Aug 2012 13:15:29 +0200, Peter Otten wrote:
I don't think that will help. From PEP 408:
As part of the same announcement, Guido explicitly accepted Matthew
Barnett's 'regex' module [4] as a provisional addition to the standard
library
On Aug 7, 7:34 pm, lipska the kat lipskathe...@yahoo.co.uk wrote:
Never thought so for a moment, good to know you can be reasonable as
well as misguided ;-)
Well Lipska I must say that I find something resonant about the 'no-
person' thing, though I am not sure what.
You also said something
Helmut Jarausch wrote:
On Tue, 07 Aug 2012 13:15:29 +0200, Peter Otten wrote:
I don't think that will help. From PEP 408:
As part of the same announcement, Guido explicitly accepted Matthew
Barnett's 'regex' module [4] as a provisional addition to the standard
library for Python 3.3
On Mon, 06 Aug 2012 21:02:33 -0700, Larry Hudson wrote:
for i in range(N,N+100):
for j in range(M,M+100):
do_something(i % 100 ,j % 100)
Emile
How about...
for i in range(100):
for j in range(100):
do_something((i + N) % 100, (j + M) % 100)
On Tuesday, August 7, 2012 9:52:59 AM UTC-4, Steven D'Aprano wrote:
In general, you should avoid non-idempotent code. You should
doubly avoid it during imports, and triply avoid it on days ending with Y.
I don't understand your aversion to non-idempotent code as a general rule.
Most code is
On Tuesday, August 7, 2012 9:55:16 AM UTC-4, Ben Finney wrote:
The tutorial is misleading on this. It it says plainly:
A module can contain executable statements as well as function
definitions. […] They are executed only the *first* time the module
is imported somewhere.
I want to use with..as in a reversible circuit generator. However, it seems
that @contextmanager changes the expected nature of the class. I tried to
distill the problem down to a simple example.
import contextlib
class SymList:
def __init__(self, L=[]):
self.L = L
Given that the customer is always right: In the past I've dealt with this
situation by creating one or more query classes and one or more edit classes.
I found it easier to separate these.
I would then create basic methods like EditStaff.add_empooyee(**kwargs) inside
of which I would drop
Roy Smith r...@panix.com writes:
In general, you should avoid non-idempotent code.
I don't understand your aversion to non-idempotent code as a general
rule. Most code is non-idempotent. Surely you're not saying we
should never write:
foo += 1
or
my_list.pop()
???
I don't think in
Thomas Draper wrote:
I want to use with..as in a reversible circuit generator. However, it
seems that @contextmanager changes the expected nature of the class. I
tried to distill the problem down to a simple example.
import contextlib
class SymList:
The problem you experience has
On Aug 7, 2012 8:41 AM, Roy Smith r...@panix.com wrote:
On Tuesday, August 7, 2012 9:55:16 AM UTC-4, Ben Finney wrote:
The tutorial is misleading on this. It it says plainly:
A module can contain executable statements as well as function
definitions. […] They are executed only
On 8/7/2012 9:28 AM, Ramchandra Apte wrote:
I don't think the modules are actually imported twice.
This is incorrect as Roy's original unposted example showed.
Modify one of the two copies and it will be more obvious.
PS. I agree with Mark about top posting. I often just glance as such
On 07/08/12 16:04, rusi wrote:
On Aug 7, 7:34 pm, lipska the katlipskathe...@yahoo.co.uk wrote:
Never thought so for a moment, good to know you can be reasonable as
well as misguided ;-)
Well Lipska I must say that I find something resonant about the 'no-
person' thing, though I am not sure
On 07/08/2012 11:52, Helmut Jarausch wrote: Hi Matthew,
how to fix the code below to match 'Hellmuth' instead of ' Hellmut' ?
A negative look behind in front of the pattern doesn't help since it
counts
as an error. One would need a means to mix a required match with a
fuzzy match.
On 8/7/2012 11:32 AM, Roy Smith wrote:
On Tuesday, August 7, 2012 9:55:16 AM UTC-4, Ben Finney wrote:
The tutorial is misleading on this. It it says plainly:
A module can contain executable statements as well as function
definitions. […] They are executed only the *first* time the
module is
On 07/08/2012 14:18, Roy Smith wrote:
I've been tracking down some weird import problems we've been having with
django. Our settings.py file is getting imported twice. It has some
non-idempotent code in it, and we blow up on the second import.
I thought modules could not get imported twice.
On 8/7/2012 6:13 AM, Helmut Jarausch wrote:
I'd like to request adding the module
http://pypi.python.org/pypi/regex
to Python's standard library in the (near) future
As near as I can tell, the author is lukewarm about the prospect.
To respond the general question:
The author of a module
On Tue, 07 Aug 2012 08:30:15 -0700, Thomas Draper wrote:
I want to use with..as in a reversible circuit generator. However, it
seems that @contextmanager changes the expected nature of the class. I
tried to distill the problem down to a simple example.
Nothing to do with contextmanager.
On Tue, 07 Aug 2012 08:25:43 -0700, Roy Smith wrote:
On Tuesday, August 7, 2012 9:52:59 AM UTC-4, Steven D'Aprano wrote:
In general, you should avoid non-idempotent code. You should doubly
avoid it during imports, and triply avoid it on days ending with Y.
You seem to have accidentally
Interesting stuff. Thanks.
On 08/06/2012 07:53 PM, alex23 wrote:
On Aug 4, 6:48 am, Tobiaht...@tobiah.org wrote:
I have a bunch of classes from another library (the html helpers
from web2py). There are certain methods that I'd like to add to
every one of them. So I'd like to put those
On Sun, 05 Aug 2012 19:44:31 -0700, alex23 wrote:
I think you've entirely missed the point of Design Patterns.
Perhaps I have. Or perhaps I'm just (over-)reacting to the abuse of
Patterns:
http://c2.com/cgi/wiki?DesignPatternsConsideredHarmful
or maybe I'm just not convinced that Design
Steven D'Aprano於 2012年8月7日星期二UTC+8上午10時01分05秒寫道:
On Mon, 06 Aug 2012 22:46:38 +0200, Mok-Kong Shen wrote:
If I have a string abcd then, with 8-bit encoding of each character,
there is a corresponding 32-bit binary integer. How could I best obtain
that integer and from that integer
Hi,
I've just uploaded pypiserver 0.6.1 to the python package index.
pypiserver is a minimal PyPI compatible server. It can be used to serve
a set of packages and eggs to easy_install or pip.
pypiserver is easy to install (i.e. just easy_install pypiserver). It
doesn't have any external
On Wed, Aug 8, 2012 at 3:00 AM, lipska the kat lipskathe...@yahoo.co.uk wrote:
I'm still undecided over the whole 'User' thing actually, I don't think I
can see a time when I will have a User Class in one of my systems but as I
don't want to get 'dogmatic' about this I remain open to any ideas
On 8/7/2012 3:02 PM, Steven D'Aprano wrote:
On Sun, 05 Aug 2012 19:44:31 -0700, alex23 wrote:
I think you've entirely missed the point of Design Patterns.
Perhaps I have. Or perhaps I'm just (over-)reacting to the abuse of
Patterns:
http://c2.com/cgi/wiki?DesignPatternsConsideredHarmful
or
On 07Aug2012 13:52, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
wrote:
| On Tue, 07 Aug 2012 09:18:26 -0400, Roy Smith wrote:
| I thought modules could not get imported twice. The first time they get
| imported, they're cached, and the second import just gets you a
| reference to the
In article mailman.3071.1344380066.4697.python-l...@python.org,
Cameron Simpson c...@zip.com.au wrote:
This, I think, is a core issue in this misunderstanding. (I got bitten
by this too, maybe a year ago. My error, and I'm glad to have improved
my understanding.)
All of you are saying two
On Aug 8, 5:02 am, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
I haven't read the Gang of Four book itself, but I've spent plenty of
time being perplexed by over-engineered, jargon-filled code, articles,
posts and discussions by people who use Design Patterns as an end to
On Aug 2, 2012, at 10:55 AM, Ethan Furman wrote:
SQLite has a neat feature where if you give it a the file-name of ':memory:'
the resulting table is in memory and not on disk. I thought it was a cool
feature, but expanded it slightly: any name surrounded by colons results in
an in-memory
Nobody於 2012年8月7日星期二UTC+8下午11時32分55秒寫道:
On Mon, 06 Aug 2012 21:02:33 -0700, Larry Hudson wrote:
for i in range(N,N+100):
for j in range(M,M+100):
do_something(i % 100 ,j % 100)
Emile
How about...
for i in range(100):
On Tue, 07 Aug 2012 17:07:59 -0700, alex23 wrote:
I'm pretty sure that people could talk about good coding design before
the Gof4. As you say, they didn't invent the patterns. So people
obviously wrote code, and talked about algorithms, without the Gof4
terminology.
So what did people call
On Wed, Aug 8, 2012 at 12:14 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
NoneType raises an error if you try to create a second instance. bool
just returns one of the two singletons (doubletons?) again.
py type(None)()
Traceback (most recent call last):
File stdin, line
On Aug 8, 12:14 pm, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
You claim that named Patterns simplify and clarify communication. If you
have to look the terms up, they aren't simplifying and clarifying
communication, they are obfuscating it.
By that argument, an encyclopaedia
Cameron Simpson c...@zip.com.au writes:
All of you are saying two names for the same module, and variations
thereof. And that is why the doco confuses.
I would expect less confusion if the above example were described as
_two_ modules, with the same source code.
That's not true though, is
Mark Dickinson added the comment:
Raymond, Stephen's analysis seems correct. Are we missing something or
can this issue be closed?
Well, depending on how you think about Counters, the current behaviour of
equality definitely leads to some surprises. For example:
Counter(a = 3) +
Chris Jerdonek added the comment:
The fact that the Python implementation doesn't look at write_through doesn't
necessarily mean that it's not respected. It could always write through.
Indeed, it looks like this is the case and was discussed at one point:
Nick Coghlan added the comment:
Ah, thanks. Yes, that could definitely use a comment :)
--
priority: release blocker - normal
stage: test needed - needs patch
type: behavior - enhancement
___
Python tracker rep...@bugs.python.org
Chris Jerdonek added the comment:
Attaching patch.
--
keywords: +patch
Added file: http://bugs.python.org/file26716/issue-15571-1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15571
Francois VISCONTE added the comment:
Hi,
Following Manu's information I complete with what you asked.
I repeated the bug described by Manu, with the same software in exactly the
same conditions.
The corrupted object is one of our SQLAlchemy mapped object. Chances are that
the bug came from
Ludwig Hähne added the comment:
Meador, thanks for reviewing. The updated patch is now attached to the bug.
--
Added file: http://bugs.python.org/file26718/array_sizeof_v5.patch
___
Python tracker rep...@bugs.python.org
Matthias Klose added the comment:
about searching /lib/multiarch: adding this directory won't help. all .a and
.so files are installed in /usr/lib or /usr/lib/multiarch.
about the missing dpkg-architecture: see the attached ma.diff patch. the
Debian/Ubuntu system compilers add an option
Matthias Klose added the comment:
these are all extensions, which use headers and libraries installed in
multiarch paths, which I think are not found in this case. If the dpkg-dev
package isn't installed, please install it and recheck. So this issue should be
closed, maybe with the ma.diff
Matthias Klose added the comment:
and please make sure that other build dependencies are installed as well:
sudo apt-get build-dep python3.2 (on 12.04/precise)
sudo apt-get build-dep python3.3 (on 12.10/quantal)
--
___
Python tracker
Roundup Robot added the comment:
New changeset 59223da36dec by Ned Deily in branch 'default':
Issue #15560: Ensure consistent sqlite3 behavior and feature availability
http://hg.python.org/cpython/rev/59223da36dec
--
___
Python tracker
Matthias Klose added the comment:
afaics, msg166444 doesn't have to do anything with the cross build issue, but a
missing build dependency (here: dpkg-dev).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14330
Serhiy Storchaka added the comment:
Patch looks good to me, however tests for 3.2 and 2.7 should be modified
(change n struct format specifier to P, remove last i and use
test_support instead test.support (or import test_support as support) in 2.7).
--
New submission from Cherniavsky Beni:
[followup for issue 12642 which only fixed it for open()]
http://docs.python.org/library/functions.html#file
says the arg names are:
file(filename[, mode[, bufsize]])
but in practice they are:
file(name[, mode[, buffering]])
--
assignee:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14870
___
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: +eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15572
___
___
Python-bugs-list
New submission from Stefan Krah:
Continuing the discussion from #13072. I hit a snag here:
Determining in full generality whether two format strings describe
identical items is pretty complicated, see also #3132.
I'm attaching a best effort fmtcmp() function that should do the
following:
-
R. David Murray added the comment:
This is an intentional change (see issue 1079). It is entirely possible that
this bug fix should be reverted, however, because of backward compatibility
concerns. I'm open to that argument, but I'd prefer to keep the fixed
behavior, since the unfixed
Ruben Van Boxem added the comment:
Checking for a compiler's file name is stupid. Native Windows gcc is just
gcc.exe, Cygwin native GCC is also gcc. Some have a lot of toolchains in
PATH at the same time. That's not the right way to handle this kind of thing.
--
Nick Coghlan added the comment:
I confess I was thinking of an even simpler format strings must be identical
fallback, but agree your way is better, since it reproduces the 3.2 behaviour
in many more cases where ignoring the format string actually did the right
thing.
The struct docs for the
Daniel Ellis added the comment:
I've updated the documentation. This is my first patch, so please let me know
if I've done something wrong.
--
keywords: +patch
nosy: +Daniel.Ellis
Added file: http://bugs.python.org/file26721/file_update.patch
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15500
___
___
Changes by Matthew Lauber m...@mklauber.com:
--
nosy: +mklauber
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8800
___
___
Python-bugs-list
Dave Malcolm added the comment:
On Tue, 2010-11-02 at 17:25 +, Antoine Pitrou wrote:
Antoine Pitrou pit...@free.fr added the comment:
I would rename Py_BREAKPOINT to _Py_BREAKPOINT since we don't really want to
support this. Also, why do you allow any arguments to sys._breakpoint()?
New submission from Leon Maurer:
I'm getting crashes with IDLE like those that have been reported before (e.g.
by trying to copy using Command-C), but I followed (or at least tried to
follow) the directions at
http://www.python.org/getit/mac/tcltk/
and have installed Python 2.7.3
Georg Brandl added the comment:
Ezio?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14330
___
___
Python-bugs-list mailing list
Unsubscribe:
Stefan Krah added the comment:
Installing dpkg-dev indeed resolved the issue for me on Debian Wheezy,
but msg166444 said that the problem appeared in 7955d769fdf5.
So was dpkg-dev already an official dependency before 7955d769fdf5
or not?
--
nosy: +skrah
Stefan Krah added the comment:
With ma.diff from #11715 dpkg-dev is indeed not required (checked
on Wheezy).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14330
___
New submission from Roy Smith:
Opening this bug at Ben Finney's request. See
https://groups.google.com/forum/?fromgroups#!topic/comp.lang.python/wmDUrpW2ZCU
for the full thread discussing the problem. Here's a significant excerpt:
-
The
R. David Murray added the comment:
Well, I don't think a full discussion of the subtlety about a module appearing
under multiple names belongs in the tutorial, but I think the sentence could be
amended to say Statements in a module are executed only the *first* time the
module name is
New submission from Stefan Behnel:
The new importlib shows a regression w.r.t. previous CPython versions. It no
longer recognises an __init__.so file as a package. All previous CPython
versions have always tested first for an extension file before testing for a
.py/.pyc file. The new
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15501
___
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15576
___
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15576
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset db1b4aab53eb by Benjamin Peterson in branch '2.7':
make documented file() kw names and actual ones agree (closes #15572)
http://hg.python.org/cpython/rev/db1b4aab53eb
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
1 - 100 of 142 matches
Mail list logo