-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On behalf of Twisted Matrix Laboratories, I am honoured to announce
the release of Twisted 13.2!
The highlights of this release are:
* Twisted now includes a HostnameEndpoint implementation which uses
IPv4 and IPv6 in parallel, speeding up the
A new RedNotebook version has been released.
You can get the tarball, Windows installer and links to distribution
packages at http://rednotebook.sourceforge.net/downloads.html
What is RedNotebook?
RedNotebook is a **graphical journal** and diary helping you keep track
of
Ever wished the compactness of shell scripts be put into a real programming
language? Say hello to Plumbum Shell Combinators. Plumbum (Latin for lead,
which was used to create pipes back in the day) is a small yet feature-rich
library for shell script-like programs in Python. The motto of the
On Saturday 09 November 2013 19:52:52 Chris Angelico did opine:
On Sun, Nov 10, 2013 at 2:39 AM, Gene Heskett ghesk...@wdtv.com wrote:
Ya know, folks like Nick would have me signing off. Fortunately there
are kill files. But the backscatter he creates I am still forced to
read, or more
Am 09.11.2013 15:07, schrieb Steven D'Aprano:
...
Nikos, you have annoyed and alienated enough people here...
Sorry, I DO NOT AGREE! These threads keep my entire office entertained.
I would even go so far to suggest, that we should set up an entirely new
mailing list for Nikos only, maybe
On Sun, Nov 10, 2013 at 5:39 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Sun, 10 Nov 2013 09:14:28 +1100, Chris Angelico wrote:
And
as is typical of python-list, it's this extremely minor point that
became the new course of the thread -
You say that as if it were a
On Sun, Nov 10, 2013 at 11:55 AM, Gene Heskett ghesk...@wdtv.com wrote:
On Saturday 09 November 2013 19:52:52 Chris Angelico did opine:
:) Don't just thank me, Grant and Roy were key to it too - and the
whole there's no shortage of newlines thing started with Steven
D'Aprano (I think), and
On Sat, 2013-11-09, Chris Angelico wrote:
On Sun, Nov 10, 2013 at 12:08 AM, John von Horn j@btinternet.com wrote:
...
* Why not allow floater=float(int1/int2) - rather than floater=float
(int1)/float(int2)?
Give me a float (or an error message) from evaluating everything in the
brackets.
On Sun, 2013-11-10, Chris Angelico wrote:
On Sun, Nov 10, 2013 at 11:41 AM, Roy Smith r...@panix.com wrote:
On 09/11/2013 22:58, Chris Angelico wrote:
* Some languages are just fundamentally bad. I do not recommend ever
writing production code in Whitespace, Ook, or Piet.
One of the
Chris said :
I think map is fine if you can use a named function, but if you can't
come up with a descriptive name for what you're doing, a comprehension
is probably better (as it'll have the code right there). Mapping _
across everything tells you nothing about what it's actually doing
OK, this
Sorry, typo, meant to say
To be clear, I was never really intending to keep the
_ = lambda c : lambda x : c(*x)
map(_(P), zip([1,2,3], [6, 5, 4]))
code snippets in my final work product. The purpose of this thread was too fish
around for ideas on what to replace it with...
--
On Sun, Nov 10, 2013 at 7:47 PM, Jorgen Grahn grahn+n...@snipabacken.se wrote:
On Sat, 2013-11-09, Chris Angelico wrote:
On Sun, Nov 10, 2013 at 12:08 AM, John von Horn j@btinternet.com wrote:
...
* Why not allow floater=float(int1/int2) - rather than floater=float
(int1)/float(int2)?
On Sunday 10 November 2013 04:06:06 Chris Angelico did opine:
On Sun, Nov 10, 2013 at 11:55 AM, Gene Heskett ghesk...@wdtv.com wrote:
On Saturday 09 November 2013 19:52:52 Chris Angelico did opine:
:) Don't just thank me, Grant and Roy were key to it too - and the
whole there's no
On Sun, Nov 10, 2013 at 7:57 PM, Peter Cacioppi
peter.cacio...@gmail.com wrote:
Chris said :
I think map is fine if you can use a named function, but if you can't
come up with a descriptive name for what you're doing, a comprehension
is probably better (as it'll have the code right there).
Στις 10/11/2013 12:20 πμ, ο/η Chris Angelico έγραψε:
On Sun, Nov 10, 2013 at 2:32 AM, Antoon Pardon
antoon.par...@rece.vub.ac.be wrote:
And i had until i made some new changes last night, which i think i have
corrected now as we speak.
Continuing the arrogance.
Just to put that in
On 11/9/2013 1:35 PM, Paul Rubin wrote:
This looks kind of interesting.
http://cs.brown.edu/~sk/Publications/Papers/Published/pmmwplck-python-full-monty/
Abstract
We present a small-step operational semantics for the Python programming
language. We present both a core language for Python,
On Sun, Nov 10, 2013 at 2:22 AM, Chris Angelico ros...@gmail.com wrote:
JavaScript has magic around the dot and function-call operators, as I
mentioned earlier. Lots of other languages have some little quirk
somewhere that breaks this rule; some have a LOT of quirks that break
this rule. Does
On Sun, Nov 10, 2013 at 10:39 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Sun, Nov 10, 2013 at 2:22 AM, Chris Angelico ros...@gmail.com wrote:
JavaScript has magic around the dot and function-call operators, as I
mentioned earlier. Lots of other languages have some little quirk
somewhere
Am 09.11.2013 14:27 schrieb Joshua Landau:
`select` is quite an odd statement, in that in most cases it's just a
weaker variant of `if`. By the time you're at the point where a
`select` is actually more readable you're also at the point where a
different control flow is probably a better idea.
I solved it like the following
from win32com.shell import shell, shellcon
import os
def launch_file_explorer(path, files):
'''
Given a absolute base path and names of its children (no path), open
up one File Explorer window with all the child files selected
'''
folder_pidl =
I solved it like the following
from win32com.shell import shell, shellcon
import os
def launch_file_explorer(path, files):
'''
Given a absolute base path and names of its children (no path), open
up one File Explorer window with all the child files selected
'''
folder_pidl =
On Sun, 10 Nov 2013 01:44:17 +, ishish wrote:
Am 09.11.2013 15:07, schrieb Steven D'Aprano:
...
Nikos, you have annoyed and alienated enough people here...
Sorry, I DO NOT AGREE! These threads keep my entire office entertained.
I would even go so far to suggest, that we should set up
On Sat, 09 Nov 2013 15:43:53 +0200, Νίκος Αλεξόπουλος wrote:
Στις 9/11/2013 2:45 μμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 23:02, Νίκος Αλεξόπουλος wrote:
Στις 9/11/2013 12:49 πμ, ο/η Denis McMahon έγραψε:
On Sat, 09 Nov 2013 00:01:37 +0200, Νίκος Αλεξόπουλος wrote:
I saw the link and i'm
Op 10-11-13 11:32, Νίκος Αλεξόπουλος schreef:
Στις 10/11/2013 12:20 πμ, ο/η Chris Angelico έγραψε:
There are two major problems with
what you did here, Nikos, and they are:
1) Starting with a hopelessly insecure system and then trying to
band-aid patch it one vulnerability at a time, which
On Q4, you could try Waterloo Graphics http://waterloo.sourceforge.net. Its
LGPLv3 and, although Java-based, runs in Python via Py4J. It has built-in mouse
interactivity/GUI editors etc that will all be active when used from Python.
It is Java Swing-based, so e.g. data points can be drawn as
On 10/11/2013 10:32, Νίκος Αλεξόπουλος wrote:
Ha, ha ha!
I'm safe now!!
No breaks in this time!
She's just biding her time again. Or was it the little fingers of my
team? Clearly you haven't the faintest idea.
I've now come to the conclusion that someone is going to make a fortune
Στις 10/11/2013 3:49 μμ, ο/η Antoon Pardon έγραψε:
Op 10-11-13 11:32, Νίκος Αλεξόπουλος schreef:
Στις 10/11/2013 12:20 πμ, ο/η Chris Angelico έγραψε:
There are two major problems with
what you did here, Nikos, and they are:
1) Starting with a hopelessly insecure system and then trying to
On 10/11/2013 15:01, Νίκος Αλεξόπουλος wrote:
Στις 10/11/2013 3:49 μμ, ο/η Antoon Pardon έγραψε:
Op 10-11-13 11:32, Νίκος Αλεξόπουλος schreef:
Στις 10/11/2013 12:20 πμ, ο/η Chris Angelico έγραψε:
There are two major problems with
what you did here, Nikos, and they are:
1) Starting with a
Στις 10/11/2013 4:45 μμ, ο/η Mark Lawrence έγραψε:
On 10/11/2013 10:32, Νίκος Αλεξόπουλος wrote:
Ha, ha ha!
I'm safe now!!
No breaks in this time!
She's just biding her time again. Or was it the little fingers of my
team?
Tell your female friend to polish her nails or do her hair
On 10/11/2013 15:12, Νίκος Αλεξόπουλος wrote:
Στις 10/11/2013 4:45 μμ, ο/η Mark Lawrence έγραψε:
On 10/11/2013 10:32, Νίκος Αλεξόπουλος wrote:
Ha, ha ha!
I'm safe now!!
No breaks in this time!
She's just biding her time again. Or was it the little fingers of my
team?
Tell your female
Op 10-11-13 16:01, Νίκος Αλεξόπουλος schreef:
Στις 10/11/2013 3:49 μμ, ο/η Antoon Pardon έγραψε:
Op 10-11-13 11:32, Νίκος Αλεξόπουλος schreef:
Ha, ha ha!
I'm safe now!!
No breaks in this time!
You just can't help yourself, can you? I predict your database will
be broken in, within a week,
On Sunday, November 10, 2013 10:28:46 AM UTC-5, Antoon Pardon wrote:
Op 10-11-13 16:01, Νίκος Αλεξόπουλος schreef:
Στις 10/11/2013 3:49 μμ, ο/η Antoon Pardon έγραψε:
Op 10-11-13 11:32, Νίκος Αλεξόπουλος schreef:
Ha, ha ha!
I'm safe now!!
No breaks in this time!
You just can't help
John Ladasky wrote:
I am trying to help a student of mine install Python 3 on his MacBook Pro.
zip
Follow-up questions: if I need a more current GCC for my student's Mac,
how do I obtain it? And are there any backwards-compatibility issues I
might need to worry about if I do upgrade? From
Στις 10/11/2013 5:28 μμ, ο/η Antoon Pardon έγραψε:
Op 10-11-13 16:01, Νίκος Αλεξόπουλος schreef:
Στις 10/11/2013 3:49 μμ, ο/η Antoon Pardon έγραψε:
Op 10-11-13 11:32, Νίκος Αλεξόπουλος schreef:
Ha, ha ha!
I'm safe now!!
No breaks in this time!
You just can't help yourself, can you? I
On Nov 10, 2013, at 4:28 PM, Antoon Pardon antoon.par...@rece.vub.ac.be wrote:
You are a perfect example of the arrogance of the ignorant.
Finally! The Dunning–Kruger effect proven beyond a doubt.
--
https://mail.python.org/mailman/listinfo/python-list
Στις 10/11/2013 7:57 μμ, ο/η Petite Abeille έγραψε:
On Nov 10, 2013, at 4:28 PM, Antoon Pardon antoon.par...@rece.vub.ac.be wrote:
You are a perfect example of the arrogance of the ignorant.
Finally! The Dunning–Kruger effect proven beyond a doubt.
You are a moron, no doubt! Freddy
On Nov 10, 2013, at 7:46 PM, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote:
You are a moron
Rumor has it you are the head of ELSTAT, the Hellenic Statistical Authority.
Any truth to that?
--
https://mail.python.org/mailman/listinfo/python-list
Στις 10/11/2013 9:16 μμ, ο/η Petite Abeille έγραψε:
On Nov 10, 2013, at 7:46 PM, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote:
You are a moron
Rumor has it you are the head of ELSTAT, the Hellenic Statistical Authority.
Any truth to that?
Perhaps i'm working for NSA too and i was
Python 2.7.6 is now available.
This release resolves crashes of the interactive interpreter on OS X 10.9. The
final release also fixes several issues identified in the release
candidate. Importantly, a security bug in CGIHTTPServer was fixed [1]. Thank you
to those who tested the 2.7.6 release
On Nov 10, 2013, at 8:21 PM, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote:
Perhaps
You're in a desert, walking along in the sand, when all of a sudden you look
down and see a tortoise. It's crawling toward you. You reach down and you flip
the tortoise over on its back. The tortoise lays on
On Sun, 10 Nov 2013 20:32:11 +0100
Petite Abeille petite.abei...@gmail.com wrote:
On Nov 10, 2013, at 8:21 PM, Νίκος Αλεξόπουλος
nikos.gr...@gmail.com wrote:
Perhaps
You're in a desert, walking along in the sand, when all of a sudden
you look down and see a tortoise. It's crawling
Op 10-11-13 17:15, Ned Batchelder schreef:
On Sunday, November 10, 2013 10:28:46 AM UTC-5, Antoon Pardon wrote:
Op 10-11-13 16:01, Νίκος Αλεξόπουλος schreef:
Στις 10/11/2013 3:49 μμ, ο/η Antoon Pardon έγραψε:
Op 10-11-13 11:32, Νίκος Αλεξόπουλος schreef:
Ha, ha ha!
I'm safe now!!
No breaks
On Nov 10, 2013 9:01 PM, Rod Person rodper...@rodperson.com wrote:
Tortoise? What's a tortoise?
Is that a real question? If yes, then it's an animal, similar to a turtle.
Ask Google or Wikipedia for more details.
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, 10 Nov 2013 21:41:54 +0100
Chris “Kwpolska” Warrick kwpol...@gmail.com wrote:
On Nov 10, 2013 9:01 PM, Rod Person rodper...@rodperson.com wrote:
Tortoise? What's a tortoise?
Is that a real question? If yes, then it's an animal, similar to a
turtle. Ask Google or Wikipedia for more
On Sun, 10 Nov 2013 21:41:54 +0100
Chris “Kwpolska” Warrick kwpol...@gmail.com wrote:
On Nov 10, 2013 9:01 PM, Rod Person rodper...@rodperson.com wrote:
Tortoise? What's a tortoise?
Is that a real question? If yes, then it's an animal, similar to a
turtle. Ask Google or Wikipedia for more
I'm trying to make a ranking of 3 numbers and say which the greatest and
consider whether there is a tie between them, I am not able to make the
conditions of draws.
Code in PT-BR: http://pastebin.com/18pYJjPC
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, Nov 11, 2013 at 4:12 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
-123 .bit_length()
-7
No parens needed if a space precedes the .
Heh! I would call that an inferior alternative to the parentheses
though; it's so unusual to put a space before the dot that I wouldn't
On Mon, Nov 11, 2013 at 7:41 AM, Chris “Kwpolska” Warrick
kwpol...@gmail.com wrote:
On Nov 10, 2013 9:01 PM, Rod Person rodper...@rodperson.com wrote:
Tortoise? What's a tortoise?
Is that a real question? If yes, then it's an animal, similar to a turtle.
Ask Google or Wikipedia for more
Chris said :
Absolutely! The unfortunate truth, though, is that idioms that
resonate with you _and nobody else_ are just as big a problem as bugs,
because they're unmaintainable. So hopefully what you're doing will
make sense to other people too!
There is some truth in what you say ... but in
On 11/10/2013 6:29 PM, Chris Angelico wrote:
On Mon, Nov 11, 2013 at 4:12 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
-123 .bit_length()
-7
No parens needed if a space precedes the .
Heh! I would call that an inferior alternative to the parentheses
though; it's so unusual to
Paul Rubin wrote:
http://cs.brown.edu/~sk/Publications/Papers/Published/pmmwplck-python-full-monty/
Abstract
We present a small-step operational semantics for the Python programming
language.
I noticed one thing they seem to have missed. They
assume that
a + b
is equivalent to
On 11/10/2013 02:56 PM, kennedysalvino...@gmail.com wrote:
I'm trying to make a ranking of 3 numbers and say which the greatest and
consider whether there is a tie between them, I am not able to make the
conditions of draws.
Code in PT-BR: http://pastebin.com/18pYJjPC
Please post the code
Em domingo, 10 de novembro de 2013 21h34min39s UTC-3, Gary Herron escreveu:
On 11/10/2013 02:56 PM, kennedysalvino...@gmail.com wrote:
I'm trying to make a ranking of 3 numbers and say which the greatest and
consider whether there is a tie between them, I am not able to make the
On 9/11/2013 3:48 AM, Pascal Bit wrote:
from random import random
[...]
Running on win7 python 2.7 32 bit it uses around 30 seconds avg.
Running on xubuntu, 32 bit, on vmware on windows 7: 20 seconds!
The code runs faster on vm, than the computer itself...
The python version in this case is
On 2013-11-11 00:49, alex23 wrote:
On 9/11/2013 3:48 AM, Pascal Bit wrote:
from random import random
[...]
Running on win7 python 2.7 32 bit it uses around 30 seconds avg.
Running on xubuntu, 32 bit, on vmware on windows 7: 20 seconds!
The code runs faster on vm, than the computer
On Friday, November 8, 2013 12:48:04 PM UTC-5, Pascal Bit wrote:
Here's the code:
from random import random
from time import clock
s = clock()
for i in (1, 2, 3, 6, 8):
M = 0
N = 10**i
for n in xrange(N):
r = random()
if 0.5 r 0.6:
On 11/11/2013 01:15, Ned Batchelder wrote:
On Friday, November 8, 2013 12:48:04 PM UTC-5, Pascal Bit wrote:
Here's the code:
from random import random
from time import clock
s = clock()
for i in (1, 2, 3, 6, 8):
M = 0
N = 10**i
for n in xrange(N):
r = random()
2013/11/10 Benjamin Peterson benja...@python.org:
All the changes in Python 2.7.6 are described in full detail in the Misc/NEWS
file of the source tarball. You can also view online at
http://hg.python.org/cpython/raw-file/99d03261c1ba/Misc/NEWS
- Issue #18747: Re-seed OpenSSL's
2013/11/10 Victor Stinner victor.stin...@gmail.com:
2013/11/10 Benjamin Peterson benja...@python.org:
All the changes in Python 2.7.6 are described in full detail in the Misc/NEWS
file of the source tarball. You can also view online at
On 11/11/2013 11:19 AM, Robert Kern wrote:
On 2013-11-11 00:49, alex23 wrote:
The random module uses os.urandom,
No, it doesn't. random.random() is an alias to the random() method on
the random.Random class, which uses the Mersenne Twister to generate
values. os.urandom() gets called in the
On 11/10/2013 04:48 PM, Kennedy Salvino wrote:
Em domingo, 10 de novembro de 2013 21h34min39s UTC-3, Gary Herron escreveu:
On 11/10/2013 02:56 PM, kennedysalvino...@gmail.com wrote:
I'm trying to make a ranking of 3 numbers and say which the greatest and
consider whether there is a tie
On 11/11/2013 02:26, Gary Herron wrote:
On 11/10/2013 04:48 PM, Kennedy Salvino wrote:
Em domingo, 10 de novembro de 2013 21h34min39s UTC-3, Gary Herron
escreveu:
On 11/10/2013 02:56 PM, kennedysalvino...@gmail.com wrote:
I'm trying to make a ranking of 3 numbers and say which the greatest
The Pros of Python Packages:
Python packages require no special syntax to declare which
modules are members of the package. Instead, Python simply
allows the
The Pros of Python Modules:
Python modules require no special syntax to create, nor do
they induce extra indentation in your source code to
maintain readability.
On Saturday, November 9, 2013 10:30:26 AM UTC-6, rusi wrote:
[...]
Well
print ( {mon:mondays suck,
tue:at least it's not monday,
wed:humpday
}.get(day_of_week,its some other day)
)
may be dense
Separate into named dictionary and its ok (I think!)
Proper
On Saturday, November 9, 2013 6:42:04 AM UTC-6, Steven
D'Aprano wrote:
Uses an example written in Ruby, but don't
let that put you off:
Why would it? I write Ruby code all the time. Ruby code in
and of itself does not bother me, what bothers me about Ruby
is the ease at which a programmer can
On Sun, 10 Nov 2013 20:13:45 -0800, Rick Johnson wrote:
What good is ANY namespace when you cannot override it's fundamental
interface? And interfaces are the key to OOP!
Is __setattr__/__getattr__ ringing a bell people?
import sys
sys.modules[mymodule] = any_object_you_like()
Want
Nick Coghlan added the comment:
Since the default eq implementation handles ducktyping correctly, dropping the
Enum specific __eq__ implementation should be fine.
Just make sure this still works:
class AlwaysEqual:
... def __eq__(self, other):
... return True
...
from enum
Charles-François Natali added the comment:
After some research...
Which is normal, since UDP sockets aren't connected.
But UDP sockets can be connected!
No, they can't.
Connecting a UDP socket doesn't established a duplex connection like
in TCP: it's just a shortand for not having to
New submission from Armin Rigo:
WeakValueDictionary.setdefault() contains a bug that shows up in multithreaded
situations using reference cycles. Attached a test case: it is possible for
'setdefault(key, default)' to return None, although None is never put as a
value in the dictionary.
Changes by Armin Rigo ar...@users.sourceforge.net:
Added file: http://bugs.python.org/file32557/x.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19542
___
Changes by Armin Rigo ar...@users.sourceforge.net:
Added file: http://bugs.python.org/file32558/weakref.slice
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19542
___
Terry J. Reedy added the comment:
Having import this behave differently from any other import is
counter-intuitive
I agree. My proposal (by design) does not change the property of executing only
when first imported. I merely proposed that the text either start as cleartext
or that the
New submission from Nick Coghlan:
The long discussion in issue 7475 and some subsequent discussions I had with
Armin Ronacher have made it clear to me that the key distinction between the
codec systems in Python 2 and Python 3 is the following differences in type
signatures of various
Nick Coghlan added the comment:
Due to the data driven nature of this particular incompatibility, I'm rejecting
this in favour of the Py3k warning based approach in issue 19543.
--
dependencies: -codecs missing: base64 bz2 hex zlib hex_codec ...
resolution: - rejected
stage: -
Nick Coghlan added the comment:
Issue 17823 is now closed, but not because it has been implemented. It turns
out that the data driven nature of the incompatibility means it isn't really
amenable to being detected and fixed automatically via 2to3.
Issue 19543 is a replacement proposal for the
Terry J. Reedy added the comment:
I read your explanation in relation to the code and got part of it but not all.
I need to try another run through. I may try to locally (and temporarily),
print to the console to see what is happening.
I am also not clear on the relation between the
Vajrasky Kok added the comment:
Ah, I missed that. I made this assumption because when I executed other modules
manually, they were there just for testing functionality (such as shlex and
aifc).
Added test.
--
Added file: http://bugs.python.org/file32559/compileall_force_v2.patch
Vajrasky Kok added the comment:
Tidied up the test.
--
Added file: http://bugs.python.org/file32560/compileall_force_v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19532
___
Martin Panter added the comment:
Just thinking the first case might get quite a few false positives. Maybe that
would still be acceptable, I dunno.
- the str.encode method is called (redirect to codecs.encode to handle
arbitrary input types in a forward compatible way)
I guess you are
Marc-Andre Lemburg added the comment:
On 10.11.2013 10:20, Nick Coghlan wrote:
The long discussion in issue 7475 and some subsequent discussions I had with
Armin Ronacher have made it clear to me that the key distinction between the
codec systems in Python 2 and Python 3 is the following
Ned Deily added the comment:
Update: ActiveTcl 8.5.15.1 is now available and includes the fix for the 10.9
refresh problem documented here.
Unfortunately, the built-in versions of Tcl/Tk 8.5 included with the
pre-release python.org OS X 64-bit/32-bit x86-64/i386 installers for 3.3.3rc1
and
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19537
___
___
Python-bugs-list
Nick Coghlan added the comment:
Updated patch (v5) with a more robust chaining mechanism provided as a private
_PyErr_TrySetFromCause API. This version eliminates the previous whitelist in
favour of checking directly for the ability to replace the exception with
another instance of the same
Nick Coghlan added the comment:
It may not immediately look like it, but I think issue 17828 offers an example
of a related problem. In that issue, I didn't want to *change* the exception
raised, I wanted to annotate it to say Hey, something I called raised an
exception, here's some relevant
Marc-Andre Lemburg added the comment:
On 10.11.2013 14:03, Nick Coghlan wrote:
Updated patch (v5) with a more robust chaining mechanism provided as a
private _PyErr_TrySetFromCause API. This version eliminates the previous
whitelist in favour of checking directly for the ability to
Nick Coghlan added the comment:
Unrelated to my previous comment, I'm also wondering if this may actually
represent a behavioural difference between contextlib.ExitStack and the
interpreter's own exception handling machinery.
ExitStack uses a recursive-iterative transformation for its stack
Stefan Krah added the comment:
It looks like the memory management is based directly on Py_Arenas:
def f():
squeamish ossifrage
pass
Breakpoint 1, PyArena_Free (arena=0x9a5120) at Python/pyarena.c:159
159 assert(arena);
(gdb) p arena-a_objects
$1 = ['f', 'squeamish ossifrage']
Nick Coghlan added the comment:
Martin: you're right, it wouldn't be feasible to check for the 8-bit str
encoding case, since the types of string literals will implicitly change
between the two versions. However, the latter three cases would be feasible to
check (the unicode.decode one is
Nick Coghlan added the comment:
On 10 November 2013 23:21, Marc-Andre Lemburg rep...@bugs.python.org wrote:
Marc-Andre Lemburg added the comment:
On 10.11.2013 14:03, Nick Coghlan wrote:
Updated patch (v5) with a more robust chaining mechanism provided as a
private _PyErr_TrySetFromCause
Nick Coghlan added the comment:
On 10 November 2013 23:21, Marc-Andre Lemburg rep...@bugs.python.org wrote:
This doesn't look right:
diff -r 1ee45eb6aab9 Include/pyerrors.h
--- a/Include/pyerrors.hSat Nov 09 23:15:52 2013 +0200
+++ b/Include/pyerrors.hSun Nov 10 22:54:04
Changes by Nick Coghlan ncogh...@gmail.com:
Added file:
http://bugs.python.org/file32562/issue17828_improved_codec_errors_v6.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17828
___
Nick Coghlan added the comment:
Donald, I know you've been busy with PyPI v2.0 the last few days, but I see the
pull request to resolve https://github.com/pypa/pip/issues/1294 has been merged.
If we can get an updated patch that sets ENSUREPIP_OPTIONS appropriately in the
process environment,
Nick Coghlan added the comment:
Larry, just a heads up that as a docs patch that isn't directly affected by the
feature freeze, I likely won't get to this one until after beta 1.
We'll make sure issue 19406 and the other functional changes are resolved,
though.
--
Marc-Andre Lemburg added the comment:
On 10.11.2013 15:39, Nick Coghlan wrote:
On 10 November 2013 23:21, Marc-Andre Lemburg rep...@bugs.python.org wrote:
This doesn't look right:
diff -r 1ee45eb6aab9 Include/pyerrors.h
--- a/Include/pyerrors.hSat Nov 09 23:15:52 2013 +0200
+++
Jason R. Coombs added the comment:
Indeed, the issue as reported is invalid.
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11473
___
New submission from Jason R. Coombs:
Following from issue7457, in which a single feature was identified to have gone
missing in 29a3eda89995, this ticket captures the need to bring the Python 3
codebase up to match Python 2.7.
--
assignee: eric.araujo
components: Distutils
messages:
Jason R. Coombs added the comment:
As suggested, I created issue19544 to track the larger effort.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7457
___
New submission from Claudiu.Popa:
time.strptime leaks an IndexError, as seen in the following traceback.
[root@clnstor /tank/libs/cpython]# ./python
Python 3.4.0a4+ (default:0aa2aedc6a21+, Nov 5 2013, 17:10:42)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd8
Type help, copyright, credits
Serhiy Storchaka added the comment:
Current code assumes that PyUnicode_DATA() is aligned to PyUnicode_KIND()
bytes. If this is not true on some platform it will be easer to add a padding
than rewrite a code. A lot of code depends on this assumption. See also
issue14422.
I afraid that
1 - 100 of 191 matches
Mail list logo