Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.15
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for
that purpose. Additionally it contains modules for other LDAP-related
On Tue, Mar 25, 2014 at 7:36 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Yes, Python could have changed the meaning of {} to mean the empty set.
But you know what? The empty set is not that important. Sets are not
fundamental to Python. Python didn't even have sets until
On Thu, Mar 27, 2014 at 1:32 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Tue, Mar 25, 2014 at 7:36 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Yes, Python could have changed the meaning of {} to mean the empty set.
But you know what? The empty set is not that important.
On 27/03/2014 01:38, Roy Smith wrote:
In article mailman.8597.1395883727.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
On Thu, Mar 27, 2014 at 11:16 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
If an event happened 30 hours ago, it is correct to say
On 26-03-14 17:37, Ian Kelly wrote:
On Wed, Mar 26, 2014 at 2:52 AM, Antoon Pardon
antoon.par...@rece.vub.ac.be wrote:
Of course we don't have to follow mathematical convention with python.
However allowing any
unicode symbol as an identifier doesn't prohibit from using √ as an
operator.
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.15
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for
that purpose. Additionally it contains modules for other LDAP-related
On 26.03.2014 10:53, Jean-Michel Pichavant wrote:
Note : I don't see what's wrong in your example, however I have the feeling
the term stupiditie is a little bit strong ;)
The problem is that for a given timedelta t with t 0 it is intuitive
to think that its string representation str(t)
On 27.03.2014 01:16, Steven D'Aprano wrote:
py divmod(30, 24)
(1, 6)
That makes perfect intuitive sense: 30 hours is 1 day with 6 hours
remaining. In human-speak, we'll say that regardless of whether the
timedelta is positive or negative: we'll say 1 day and 6 hours from now
or 1 day
On Thu, Mar 27, 2014 at 9:22 PM, Johannes Bauer dfnsonfsdu...@gmx.de wrote:
Besides, there's an infinite amount of (braindead) timedelta string
representations. For your -30 hours, it is perfectly legal to say
123 days, -2982 hours
Yet Python doesn't (but chooses an equally braindead
On 27.03.2014 11:44, Chris Angelico wrote:
On Thu, Mar 27, 2014 at 9:22 PM, Johannes Bauer dfnsonfsdu...@gmx.de wrote:
Besides, there's an infinite amount of (braindead) timedelta string
representations. For your -30 hours, it is perfectly legal to say
123 days, -2982 hours
Yet Python
On 27.03.2014 11:44, Chris Angelico wrote:
It's not equally braindead, it follows a simple and logical rule:
Only the day portion is negative.
The more I think about it, the sillier this rule seems to me.
A timedelta is a *whole* object. Either the whole delta is negative or
it is not. It
On Thu, Mar 27, 2014 at 10:05 PM, Johannes Bauer dfnsonfsdu...@gmx.de wrote:
On 27.03.2014 11:44, Chris Angelico wrote:
On Thu, Mar 27, 2014 at 9:22 PM, Johannes Bauer dfnsonfsdu...@gmx.de wrote:
Besides, there's an infinite amount of (braindead) timedelta string
representations. For your -30
On Thu, Mar 27, 2014 at 10:25 PM, Johannes Bauer dfnsonfsdu...@gmx.de wrote:
And it makes it extremely error-prone to the reader:
str(datetime.timedelta(0, -1))
'-1 day, 23:59:59'
This looks MUCH more like almost two days ago than
'-00:00:01'
does.
It's easy when the timedelta is -1
I took a moment to scan the datetime documentation. The behavior of
str() on timedelta objects is very consistent, and matches the
internal representation. From the docs:
str(t) Returns a string in the form [D day[s], ][H]H:MM:SS[.UU],
where D is negative for negative t. (5)
Note (5) reads:
On Thu, Mar 27, 2014 at 10:56 PM, Skip Montanaro s...@pobox.com wrote:
There are,
as I see it, two common cases where t is negative:
-1 day t 0
and
t = -1 day
There are two types of negative numbers: Those closer to zero than -1,
and those not closer to zero than -1. Yeah, I think
On Thu, Mar 27, 2014 at 9:22 PM, Johannes Bauer dfnsonfsdu...@gmx.de wrote:
Besides, there's an infinite amount of (braindead) timedelta string
representations. For your -30 hours, it is perfectly legal to say
123 days, -2982 hours
Yet Python doesn't (but chooses an equally braindead
There are,
as I see it, two common cases where t is negative:
-1 day t 0
and
t = -1 day
There are two types of negative numbers: Those closer to zero than -1,
and those not closer to zero than -1. Yeah, I think those are the most
common cases. :)
Sorry I wasn't clear. I see two
On Thursday, March 27, 2014 1:32:03 AM UTC-4, Steven D'Aprano wrote:
- are you mistaken about the content of the file?
I can't help you with the first. But the second: try running this:
# line2 and pat as defined above
filename = sys.argv[1]
with open(filename) as f:
for line in f:
On Fri, Mar 28, 2014 at 1:12 AM, Antoon Pardon
antoon.par...@rece.vub.ac.be wrote:
I don't recall specifics, but I do remember multiple times
where I was working with a structure that consisted of
a whole part and a fracture part where I found it useful
to have the fracture part always
Skip Montanaro s...@pobox.com:
Feel free to submit a patch to improve str(t), where t is negative,
The cat's out of the bag already, isn't it?
Marko
--
https://mail.python.org/mailman/listinfo/python-list
On 27-03-14 13:52, Roy Smith wrote:
On Thu, Mar 27, 2014 at 9:22 PM, Johannes Bauer dfnsonfsdu...@gmx.de wrote:
Besides, there's an infinite amount of (braindead) timedelta string
representations. For your -30 hours, it is perfectly legal to say
123 days, -2982 hours
Yet Python doesn't (but
On Thursday, March 27, 2014 3:06:02 PM UTC+5:30, Antoon Pardon wrote:
On 26-03-14 17:37, Ian Kelly wrote:
On Wed, Mar 26, 2014 at 2:52 AM, Antoon Pardon
Of course we don't have to follow mathematical convention with python.
However allowing any
unicode symbol as an identifier doesn't
On 2014-03-27 08:10, Rustom Mody wrote:
I know, for such a reason I would love it if keywords would have
been written like this: 헱헲헳 (using mathematical bold) instead of
just like this: def (using plain latin letters). It would mean
among other things we could just write operator.not
On 3/25/14 6:58 PM, Steven D'Aprano wrote:
To quote a great Spaniard:
“You keep using that word, I do not think it means what you
think it means.”
In~con~theveable ! My name is Inigo Montoya, you killed my
father, prepare to die...
Do you think that the ability to
On Thursday, March 27, 2014 9:41:55 AM UTC-4, James Smith wrote:
(134, False, '\'
SHELF-17:LOG_COLN_IP,SC,03-25,01-18-58,NEND,NA,,,:Log Collection In
Progress,NONE:170035-6364-1048,:YEAR=2014,MODE=NONE\\r\\n\'')
Is the \r\n on the end of the line screwing it up?
Got it.
On 3/26/14 1:35 AM, alex23 wrote:
On 25/03/2014 12:39 PM, Mark H Harris wrote:
my version semantically is how it is perceived by the user
Could you please stop claiming to have insight into the comprehension of
anyone other than yourself? Hasty generalisations don't help your argument.
hi
On Thu, 27 Mar 2014 06:41:55 -0700 (PDT), James Smith wrote:
On Thursday, March 27, 2014 1:32:03 AM UTC-4, Steven D'Aprano wrote:
- are you mistaken about the content of the file?
I can't help you with the first. But the second: try running this:
# line2 and pat as defined above
filename
On Thursday, March 27, 2014 8:58:51 PM UTC+5:30, Mark H. Harris wrote:
On 3/25/14 6:58 PM, Steven D'Aprano wrote:
To quote a great Spaniard:
“You keep using that word, I do not think it means what you
think it means.”
In~con~theveable ! My name is Inigo Montoya, you
On 3/27/14 10:51 AM, Rustom Mody wrote:
Observe:
Good ol infix -- x+y..
prefix (with paren) -- foo(x)
prefix without -- ¬ x
In case you thought alphanumerics had parens -- sin x
Then theres postfix -- n!
Inside fix -- nCr (Or if you prefer ⁿCᵣ ??)
And outside fix -- mod -- |x|
And Ive
Multiple times, I've seen someone want something like what C-style
languages offer where assignment is done in a test, something like
if (m = re.match(some_string)):
do_something(m)
So when I stumbled upon this horrific atrocity of language abuse and
scope leakage, I thought I'd share it.
On Fri, Mar 28, 2014 at 2:44 AM, Mark H Harris harrismh...@gmail.com wrote:
My comments here are not in the least hasty, nor are they generalizations.
They are based on long years of experience with normal users, personal
programming experience for almost 40 years, and insight into student
On Fri, Mar 28, 2014 at 3:08 AM, Tim Chase
python.l...@tim.thechases.com wrote:
So when I stumbled upon this horrific atrocity of language abuse and
scope leakage, I thought I'd share it.
if [m for m in [regex.match(some_string)] if m]:
do_something(m)
And presto, assignment in an
On Fri, Mar 28, 2014 at 3:08 AM, Tim Chase
python.l...@tim.thechases.com wrote:
Multiple times, I've seen someone want something like what C-style
languages offer where assignment is done in a test, something like
if (m = re.match(some_string)):
do_something(m)
If you want a language
On Thu, Mar 27, 2014 at 9:28 AM, Mark H Harris harrismh...@gmail.com wrote:
Do you think that the ability to write this would be an improvement?
import ⌺
⌚ = ⌺.╩░
⑥ = 5*⌺.⋨⋩
❹ = ⑥ - 1
♅⚕⚛ = [⌺.✱✳**⌺.❇*❹{⠪|⌚.∣} for ⠪ in ⌺.⣚]
⌺.˘˜¨´՛՜(♅⚕⚛)
Steven, you're killing me here; argument by
On Fri, Mar 28, 2014 at 2:28 AM, Mark H Harris harrismh...@gmail.com wrote:
No, any unicode character (except numerals) should be able to begin a name
identifier. alt-l λ and alt-v √ should be valid first character
name identifier symbols.
What, even whitespace??
ChrisA
--
On 3/25/14 6:38 PM, Dennis Lee Bieber wrote:
A couple of us managed to steal the school login/password (don't
think we ever used it, but...)... The teaching assistant didn't notice the
paper tape punch was active when persuaded to login to let us run a short
program (high school BASIC
On 3/27/14 11:10 AM, Chris Angelico wrote:
On Fri, Mar 28, 2014 at 2:44 AM, Mark H Harris harrismh...@gmail.com wrote:
My comments here are not in the least hasty, nor are they generalizations.
They are based on long years of experience with normal users, {snip}
Who is a normal user?
For
hei ,
I am a newcome to Python.
I am trying to create a python script which will connect to an SSL URL and
using the HEAD request will get the status of URL.
For one the link I am getting following error
[SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac
On Fri, Mar 28, 2014 at 3:37 AM, Mark H Harris harrismh...@gmail.com wrote:
For the purposes of this list, a normal user is a reasonably intelligent
college educated non computer professional non computer scientist non
expert who for the moment has an interest in leveraging computer science
On 2014-03-27 15:51, Rustom Mody wrote:
On Thursday, March 27, 2014 8:58:51 PM UTC+5:30, Mark H. Harris wrote:
On 3/25/14 6:58 PM, Steven D'Aprano wrote:
To quote a great Spaniard:
“You keep using that word, I do not think it means what you
think it means.”
On Thursday, March 27, 2014 9:52:40 PM UTC+5:30, Ian wrote:
On Thu, Mar 27, 2014 at 9:28 AM, Mark H Harris wrote:
Do you think that the ability to write this would be an improvement?
import ⌺
⌚ = ⌺.╩░
⑥ = 5*⌺.⋨⋩
❹ = ⑥ - 1
♅⚕⚛ = [⌺.✱✳**⌺.❇*❹{⠪|⌚.∣} for ⠪ in ⌺.⣚]
⌺.˘˜¨´՛՜(♅⚕⚛)
On Thursday, March 27, 2014 10:47:04 PM UTC+5:30, MRAB wrote:
On 2014-03-27 15:51, Rustom Mody wrote:
On Thursday, March 27, 2014 8:58:51 PM UTC+5:30, Mark H. Harris wrote:
On 3/25/14 6:58 PM, Steven D'Aprano wrote:
To quote a great Spaniard:
“You keep using that word, I do not
I have been trying to compile an RPM manually using the SPEC file that is
contained in the source tarball from Python.org's website. I have tried
multiple versions and they all seem to fail. I have tried the latest 3.4.0
release, 3.3.5 release, and 3.2.5 release. It appears the SPEC file
contained
On 3/27/14 11:48 AM, Chris Angelico wrote:
On Fri, Mar 28, 2014 at 3:37 AM, Mark H Harris harrismh...@gmail.com wrote:
For the purposes of this list, a normal user is a reasonably intelligent
college educated non computer professional non computer scientist non
expert who for the moment has an
I'm trying to use python classes and members to define complex data entry forms
as a meta language
The idea is to use a nice clean syntax like Python to define form content, then
render it as HTML but only as a review tool for users, The actual rendering
would go into a database to let a
On 3/27/2014 7:42 AM, Chris Angelico wrote:
In any case... what I'd suggest would be opening a tracker issue, or
discussing this on python-ideas, and seeing what core devs think of
the matter. I think that, on balance, it's probably better to show the
whole thing with the same sign; but should
On 03/27/2014 02:02 PM, Devin wrote:
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.yqWO6C (%install)
line 71: buildprereq is deprecated: BuildPrereq: expat-devel
line 72: buildprereq is deprecated: BuildPrereq: db4-devel
line 73: buildprereq is deprecated:
On Fri, Mar 28, 2014 at 7:54 AM, Mark H Harris harrismh...@gmail.com wrote:
Some people equate developer with programmer with software engineer. This
ought not be done, in my view. There are *many* programmers out there who
suck at software engineering (and they are not computer scientists).
On 03/27/2014 03:26 PM, Michael Torrie wrote:
On 03/27/2014 02:02 PM, Devin wrote:
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.yqWO6C (%install)
line 71: buildprereq is deprecated: BuildPrereq: expat-devel
line 72: buildprereq is deprecated: BuildPrereq: db4-devel
On 3/27/14 4:42 PM, Chris Angelico wrote:
And this is the bit where, I think, we disagree. I think that
programming is for programmers, in the same way that music is for
musicians and the giving of legal advice is for lawyers. Yes, there
are armchair lawyers, and plenty of people can pick up a
On Thu, 27 Mar 2014 08:52:24 -0400, Roy Smith wrote:
In article mailman.8613.1395917059.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
It's not equally braindead, it follows a simple and logical rule:
Only the day portion is negative.
Simple and logical, yes. But
On Fri, Mar 21, 2014 at 1:42 PM, vasudevram vasudev...@gmail.com wrote:
Can anyone - maybe one of the Python language core team, or someone with
knowledge of the internals of Python - can explain why this code works, and
whether the different occurrences of the name x in the expression, are
Mark H Harris wrote:
Good ol infix -- x+y..
prefix (with paren) -- foo(x)
prefix without -- ¬ x
In case you thought alphanumerics had parens -- sin x
Then theres postfix -- n!
Inside fix -- nCr (Or if you prefer ⁿCᵣ ??)
And outside fix -- mod -- |x|
And mismatched delimiters:
[5, 7)
On 03/27/2014 02:10 PM, Terry Reedy wrote:
On 3/27/2014 7:42 AM, Chris Angelico wrote:
In any case... what I'd suggest would be opening a tracker issue, or
discussing this on python-ideas, and seeing what core devs think of
the matter. I think that, on balance, it's probably better to show the
In article 5334b747$0$29994$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Thu, 27 Mar 2014 08:52:24 -0400, Roy Smith wrote:
In article mailman.8613.1395917059.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
It's
On Thu, 27 Mar 2014 10:44:49 -0500, Mark H Harris wrote:
On 3/26/14 1:35 AM, alex23 wrote:
On 25/03/2014 12:39 PM, Mark H Harris wrote:
my version semantically is how it is perceived by the user
Could you please stop claiming to have insight into the comprehension
of anyone other than
Roy Smith r...@panix.com writes:
In article 5334b747$0$29994$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Thu, 27 Mar 2014 08:52:24 -0400, Roy Smith wrote:
Give ma a real-life situation where you would want such behavior
[the
On 3/27/2014 4:56 PM, Sells, Fred wrote:
I'm trying to use python classes and members to define complex data
entry forms as a meta language
The idea is to use a nice clean syntax like Python to define form
content, then render it as HTML but only as a review tool for users,
The actual rendering
Hey Guys,
here is what I am trying to solve.
I have a URL - somesite.com/server/pattern.x?some_more_stuff
This URl is out there as an href tag on users website. Is there a way in which
I can serve a file(not from my server) while ensuring that the users remain on
the third party website. I
Chris Angelico ros...@gmail.com Wrote in message:
On Fri, Mar 28, 2014 at 3:08 AM, Tim Chase
python.l...@tim.thechases.com wrote:
Multiple times, I've seen someone want something like what C-style
languages offer where assignment is done in a test, something like
if (m =
tade.an...@gmail.com Wrote in message:
hei ,
I am a newcome to Python.
I am trying to create a python script which will connect to an SSL URL and
using the HEAD request will get the status of URL.
For one the link I am getting following error
[SSL:
On 3/27/2014 5:10 PM, Terry Reedy wrote:
On 3/27/2014 7:42 AM, Chris Angelico wrote:
In any case... what I'd suggest would be opening a tracker issue, or
discussing this on python-ideas, and seeing what core devs think of
the matter. I think that, on balance, it's probably better to show the
On Fri, Mar 28, 2014 at 12:44 PM, Dave Angel da...@davea.name wrote:
if (array m = Regexp.split2(some_pattern, some_string))
do_something(m);
I don't know for certain about if, but you can declare (in C++) a
new variable in for, which is a superset of if. Scope ends when
the for does.
In article mailman.8647.1395971209.18130.python-l...@python.org,
Terry Reedy tjre...@udel.edu wrote:
On 3/27/2014 5:10 PM, Terry Reedy wrote:
On 3/27/2014 7:42 AM, Chris Angelico wrote:
In any case... what I'd suggest would be opening a tracker issue, or
discussing this on python-ideas,
On Fri, Mar 28, 2014 at 9:14 AM, Mark H Harris harrismh...@gmail.com wrote:
Your question has a somewhat false premise. They *really do* want to learn
them, and they are frustrated with the time and attention it takes. The
argument is also from analogy, which in this case is almost similar but
On 3/27/2014 9:59 PM, Roy Smith wrote:
In article mailman.8647.1395971209.18130.python-l...@python.org,
Terry Reedy tjre...@udel.edu wrote:
On 3/27/2014 5:10 PM, Terry Reedy wrote:
On 3/27/2014 7:42 AM, Chris Angelico wrote:
In any case... what I'd suggest would be opening a tracker
On Fri, Mar 28, 2014 at 12:34 PM, tanmay.kans...@gmail.com wrote:
Hey Guys,
here is what I am trying to solve.
I have a URL - somesite.com/server/pattern.x?some_more_stuff
This URl is out there as an href tag on users website. Is there a way in
which I can serve a file(not from my
On Friday, March 28, 2014 3:44:09 AM UTC+5:30, Mark H. Harris wrote:
On 3/27/14 4:42 PM, Chris Angelico wrote:
And this is the bit where, I think, we disagree. I think that
programming is for programmers, in the same way that music is for
musicians and the giving of legal advice is for
On Fri, Mar 28, 2014 at 7:56 AM, Sells, Fred
fred.se...@adventistcare.org wrote:
I don't have a lot of time or management support to do something elegant like
XML and then parse it, I'm thinking more like
Class FyFormNumber001(GeneralForm):
Section1 = Section(title=Enter Patient
On Fri, Mar 28, 2014 at 1:24 PM, Terry Reedy tjre...@udel.edu wrote:
I do know that the people responsible are not normally braindead ;-).
Yeah, anyone who develops Python is clearly abnormally braindead...
*dives for cover*
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Mar 28, 2014 at 1:46 PM, Rustom Mody rustompm...@gmail.com wrote:
Moore’s Law isn’t a mythical beast that magically materialized in 1965
and threatens to unpredictably vanish at any moment. In fact, it’s
part of a broader ancient mechanism that has no intention of
stopping. This
In article mailman.8653.1395975737.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
On Fri, Mar 28, 2014 at 7:56 AM, Sells, Fred
fred.se...@adventistcare.org wrote:
I don't have a lot of time or management support to do something elegant
like XML and then parse it, I'm
On Friday, March 28, 2014 8:36:26 AM UTC+5:30, Chris Angelico wrote:
On Fri, Mar 28, 2014 at 1:46 PM, Rustom Mody wrote:
Moore’s Law isn’t a mythical beast that magically materialized in 1965
and threatens to unpredictably vanish at any moment. In fact, it’s
part of a broader ancient
On Fri, Mar 28, 2014 at 2:13 PM, Roy Smith r...@panix.com wrote:
In article mailman.8653.1395975737.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
Rule of Python: XML is not the answer. XML is the question, and NO!
is the answer :)
The nice thing about that rule is
On Friday, March 28, 2014 8:43:21 AM UTC+5:30, Roy Smith wrote:
Chris Angelico wrote:
Your syntax there looks reasonable already. I'd recommend you make it
a flat data file, though, don't try to make it a programming language
- unless you actively need it to be one. Here are a couple of
On Fri, Mar 28, 2014 at 2:44 PM, Rustom Mody rustompm...@gmail.com wrote:
[BTW I consider the windows registry cleaner than the linux /etc for
the same reason]
And if I felt like trolling, I'd point out that there are a lot more
search engine hits for windows registry cleaner than linux etc
On Friday, March 28, 2014 9:27:11 AM UTC+5:30, Chris Angelico wrote:
On Fri, Mar 28, 2014 at 2:44 PM, Rustom Mody wrote:
[BTW I consider the windows registry cleaner than the linux /etc for
the same reason]
And if I felt like trolling, I'd point out that there are a lot more
search engine
On Thu, 27 Mar 2014 17:14:09 -0500, Mark H Harris wrote:
People want to use their computer. They want to solve problems with
it... and frankly, they would like to know how to program it, if there
where some royal road, or fast track, or short and easy tutorial.
Most people want to program
Roundup Robot added the comment:
New changeset 426a7046cdb0 by Ned Deily in branch '2.7':
Issue #20939: Use www.example.com instead of www.python.org to avoid test
http://hg.python.org/cpython/rev/426a7046cdb0
New changeset 31e42208eb99 by Ned Deily in branch '3.4':
Issue #20939: Backout
Roundup Robot added the comment:
New changeset b533cc11d114 by Ned Deily in branch '3.4':
Issue #20939: remove stray character from comment
http://hg.python.org/cpython/rev/b533cc11d114
New changeset ff27cb871b16 by Ned Deily in branch 'default':
Issue #20939: merge from 3.4
Changes by Ned Deily n...@acm.org:
--
assignee: - ned.deily
nosy: +ned.deily
stage: - needs patch
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21069
___
Christian Bachmaier added the comment:
Sorry guys, library loading of a freezed binary is different to interpreter
mode. This is a bug in freeze, or at least an undocumented missing feature of
freeze. This is no side discussion.
And, in Python 3.2 this was working! As described above, just
Martin v. Löwis added the comment:
Christian: Please understand that it was not helpful to post into this issue.
The issue discussed here is separate from the issue you are having. We prefer a
strict one issue at a time policy in this tracker.
So when this issue gets closed because
STINNER Victor added the comment:
Hi, I have a project called astoptimizer which does the same job than the
CPython peephole optimizer, but it is implemented in Python.
To avoid this issue (create an huge object and then discard it because it is
too large), I have a check_binop_cst function
Roundup Robot added the comment:
New changeset adf1e04478b4 by Ned Deily in branch '3.4':
Issue #21069: Temporarily use www.google.com while investigating
http://hg.python.org/cpython/rev/adf1e04478b4
New changeset 8d4cace71113 by Ned Deily in branch 'default':
Issue 21069: merge from 3.4
Tobias Klausmann added the comment:
Hi!
On Tue, 25 Mar 2014, Tuomas Savolainen wrote:
Created a patch that adds notice of using shell=True and iterable to the
documentation. Please do comment if the formatting is wrong (this my first
documentation patch).
I'd use articles, i.e. and a
Marc-Andre Lemburg added the comment:
Christian, please open a separate ticket for your problem.
This ticket is about getting freeze, the tool itself, working,
not any other issue you may find with the resulting frozen binary.
Thanks,
--
Marc-Andre Lemburg
eGenix.com
--
Ned Deily added the comment:
After pushing the changes for Issue20939, many of the buildbots started
experiencing the test_fileno failure using www.example.com. The interesting
thing is that not all of them do, including my primary development system (OS X
10.9) which is why I didn't see a
Ned Deily added the comment:
I've pushed the changes to 2.7, 3.4, and default. That has exposed a new
intermittent failure of test_fileno in test.test_urllibnet (see Issue21069).
I'll leave this issue open until that is resolved. And I'll leave it up to the
respective release managers to
Ned Deily added the comment:
After looking at why the 2.7 version of the test does not fail, the problem
became apparent. In 2.7, test_errno tests urlopen() of the original deprecated
urllib module. In 3.x, the test was ported over but now uses urlopen() of
urllib.request which is based on
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21069
___
Wichert Akkerman added the comment:
I can reproduce this on Both OSX 10.9 and Ubuntu 12.04:
import mimetypes
mimetypes.guess_extension('image/jpeg')
'.jpe'
mimetypes.init()
mimetypes.guess_extension('image/jpeg')
'.jpeg'
The same thing happens for Python 3.4:
Python 3.4.0rc3 (default, Mar
R. David Murray added the comment:
Also, the see below sentence is missing.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20344
___
___
Wichert Akkerman added the comment:
Here is a related question on SO:
http://stackoverflow.com/questions/352837/how-to-add-file-extensions-based-on-file-type-on-linux-unix
--
nosy: +wichert
___
Python tracker rep...@bugs.python.org
Tuomas Savolainen added the comment:
Corrected the spelling of the patch.
--
Added file: http://bugs.python.org/file34635/20344_3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20344
New submission from Brandon Rhodes:
In Python 3, fileinput.input() returns str lines whether the data is
coming from stdin or from a list of files on the command line. But if
input(mode='rb') is specified, then its behavior becomes inconsistent:
lines from stdin are delivered as already-decoded
Antoine Pitrou added the comment:
Not only is a lot of memory allocated but it also eats quite a bit of CPU time.
--
nosy: +pitrou
stage: - needs patch
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21074
Brett Cannon added the comment:
So as-is, this won't help with startup as we already make sure that no
unnecessary modules are loaded during startup. But one way we do that is
through local imports in key modules, e.g. os.get_exec_path(). So what we could
consider is instead of doing a local
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: -yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20739
___
___
Roundup Robot added the comment:
New changeset 0a8e3c910c0a by Yury Selivanov in branch 'default':
inspect.signature: Make Signature and Parameter picklable. Closes #20726
http://hg.python.org/cpython/rev/0a8e3c910c0a
--
nosy: +python-dev
resolution: - fixed
stage: -
1 - 100 of 182 matches
Mail list logo