post to yourself
funny how you have a new email address
On Thu, Mar 26, 2015 at 4:58 PM, marcuslom...@gmail.com wrote:
On Thursday, March 26, 2015 at 4:01:08 PM UTC-4, BartC wrote:
On 26/03/2015 15:38, Tiglath Suriol wrote:
I did not spam anyone. I posted to an open public newsgroup. Just
On Thursday, March 26, 2015 at 4:03:57 PM UTC-4, Denis McMahon wrote:
On Thu, 26 Mar 2015 10:00:56 -0700, Tiglath Suriol wrote:
I posted two test messages containing code.
No, you excreted a pile of steaming excrement and have continued to do
so. Your original post in this thread had no
On Thu, 26 Mar 2015 13:58:36 -0700 (PDT), marcuslom...@gmail.com
wrote:
I just needed to save some code and there was no email at hand
LOL. What an imbecile.
You gotta love trolls sometimes. They exist with the sole purpose to
make you feel good about yourself.
--
On Tuesday, March 24, 2015 at 7:48:05 PM UTC-7, Tiglath Suriol wrote:
head
style type=text/css
body {color:black;}
h1 {text-align:center;color:maroon;font-size:30px;font-style:normal;}
td {font-size:12;font-style:monospace;}
snip
WHY DO PEOPLE KEEP REPLYING TO THIS GUY?
STOP FEEDING THE
On 26Mar2015 11:37, Peter Otten __pete...@web.de wrote:
You are right. [...]
By the way, in this case you don't need the list at all:
def vartuple(vars):
return namedtuple(locals, vars)._make(vars.values())
Hmm. Neat. I had not realised that was available.
You'd need vars.keys(), not
On Thu, Mar 26, 2015 at 12:54 PM, Thomas 'PointedEars' Lahn
pointede...@web.de wrote:
Ian Kelly wrote:
What I mean is that if you construct a parse tree of foo bar using
that grammar, it looks like this:
expr
|
STRING+
/ \
STRING STRING
[…]
There is only one
Josiah Carlson added the comment:
Non-blocking IO returning a None on no data currently available is new to me.
It is new to me simply because I don't recall it ever happening in Python 2.x
with any socket IO that I ever dealt with, and socket IO is my primary source
for non-blocking IO
I have 3.4.1 (8/14) and replaced it with 3.4.2 (12/14)
Neither of these uninstalled or I do not believe even had the option.
I now wanted to update to 3.4.3 and the uninstall fails, provided the
message that the installer is missing a program then backs off the changes.
I loaded 3.5.0a2 and then
On 2015-03-27 10:15, Steven D'Aprano wrote:
If that's all it is, why don't you just run the tokenizer over it
and see what it says?
py from cStringIO import StringIO
py code = StringIO('spam = abcd efgh\n')
py import tokenize
py for item in tokenize.generate_tokens(code.readline):
...
Hammerite added the comment:
Here is a new patch. This version addresses several issues raised in review by
Ezio Melotti and Berker Peksag. Where I have not (yet) addressed an issue, I
have explained why not in my previous post.
I attempted to preview my changes to the documentation that are
Here's my Python sudoku solver which I wrote about 10 years ago.
http://petef.22web.org/sudoku/
It works by applying the solving techniques I came up with. No trial and
error or backtracking is used, so it is not up to cracking the very
hardest puzzles. Run time is 15 ms to 45 ms on a 2009
STINNER Victor added the comment:
Serhiy Storchaka added the comment:
str.encode, bytes.decode and str.translate are unrelated to
UnicodeTranslateError. But str.transform could be.
Can you please give an example of Python code to show your change?
--
On Fri, 27 Mar 2015 03:26 am, Tim Chase wrote:
[...]
Don't give the troll the attention he craves. He has as much told us that he
is beyond reason -- he's been trolling for years, you don't need to justify
your actions.
--
Steven
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 27 Mar 2015 02:33 am, Joel Goldstick wrote:
[...]
Don't give the troll the attention he craves. He has as much told us that he
is beyond reason -- he's been trolling for years, you don't need to justify
your actions.
--
Steven
--
https://mail.python.org/mailman/listinfo/python-list
Roundup Robot added the comment:
New changeset b7c0137cccbe by Victor Stinner in branch 'default':
Issue #23648: Document the PEP 475 in the Porting to Python 3.5 section and
https://hg.python.org/cpython/rev/b7c0137cccbe
--
nosy: +python-dev
___
Christian Heimes added the comment:
I'm puzzled about the segfault. I'm pretty sure that I've compiled and tested
the code on big endian machines as well as a SPARC machines that doesn't allow
unaligned memory access. The FNV code copies the blocks to an aligned buffer to
prevent exactly this
Serhiy Storchaka added the comment:
Pickle is backward compatible and Python 2 usually is able to unpickle data
pickled by Python 3 with protocol 3. The patch doesn't break compatibility.
Current default protocol is 3 for compatibility with older Python 3 versions.
It is used in
Serhiy Storchaka added the comment:
str.encode, bytes.decode and str.translate are unrelated to
UnicodeTranslateError. But str.transform could be.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23676
On Fri, 27 Mar 2015 07:00 am, BartC wrote:
[...]
Don't give the troll the attention he craves. He reacted with hostility and
scorn when we gave him some friendly good advice, don't imagine for a
second you're going to reason with him. He's admitted that he's been
trolling for years, so don't
Ian Kelly wrote:
What I mean is that if you construct a parse tree of foo bar using
that grammar, it looks like this:
expr
|
STRING+
/ \
STRING STRING
Not quite -- STRING+ is not a symbol in the grammar, it's
a shorthand for a combination of symbols. The parse tree
is
Serhiy Storchaka added the comment:
issue18814
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23676
___
___
Python-bugs-list mailing list
STINNER Victor added the comment:
Only thing required to make this work is add u in front of the message so
it is unicode.
The warnings module works with non-ASCII characters if you only use bytes
strings. I'm not sure that we should enhance it to support the unicode type in
some fields,
On Fri, 27 Mar 2015 04:11 am, Gregg Dotoli wrote:
Thanks for your help and patience. I'm new with Python.
No problems! If you hang around here, pay attention to the constructive
criticism you are given, and ignore the troll over on the test1 thread,
you'll learn a lot.
Let's look at your code:
Martin Panter added the comment:
If necessary, we can add a new non_relative list, rather than changing
non_hierarchical. The repository history shows that “non_hierarchical” was
updated with new schemes once or twice, but has never been used since it was
added to Python as “urlparse.py”.
STINNER Victor added the comment:
Hum, I don't know well the pickle module. Is it backward compatible? Should
Python 2 be able to unserialize data serialized by Python 3? If yes, can you
patch break this compatibility?
It is unclear to me if it makes sense to even modify protocols different
On Fri, 27 Mar 2015 05:56 am, Thomas 'PointedEars' Lahn wrote:
[snip argument]
Hey guys, I'm trying to follow the argument but I must admit you've
completely lost me with the angels-on-the-head-of-a-pin nitpicking about
EBNF. I love a good pedant-brawl as much as you, so let me see if I've got
Serhiy Storchaka added the comment:
The problem is that the warnings module works with unicode message almost all
time except rare circumstances. So for sure this feature is used in many
programs and it works for authors and most of users. An exception can be
considered as a bug.
--
Martin Panter added the comment:
See also Issue 1191964, discussing inconsistencies and how to differentiate the
four non-blocking special results in a new API:
* read signals permanent EOF
* read signals no data temporarily available
* write signals a permanently broken pipe or connection
*
Martin Panter added the comment:
Yes, I think the special return value of None is only standard to the “io”
module, which was added in Python 2.6 and 3. And even there it is inconsistent.
For what it’s worth, don’t have strong opinions on the special non-blocking and
broken pipe cases, as
On Thu, Mar 26, 2015 at 5:15 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Looks to me that the two string literals each get their own token, and are
concatenated at a later stage of compilation, not during parsing.
Thanks. The dispute was about expressions, though. I think
On Thursday, March 26, 2015 at 4:56:41 PM UTC-4, Tim Chase wrote:
On 2015-03-26 08:33, Tiglath Suriol wrote:
Mark Lawrence
I don't remember addressing his guy, HE addressed me FIRST, as all
of you did,
Hmmm...To what then has he been replying? *You* posted/broadcast the
FIRST
On Thursday, March 26, 2015 at 5:04:21 PM UTC-4, Joel Goldstick wrote:
post to yourself
funny how you have a new email address
The strange fascination you have with the email address of someone you don't
know that d makes you write more and more, informs readers of how exciting your
life
On Thursday, March 26, 2015 at 11:30:57 AM UTC+5:30, Chris Angelico wrote:
On Thu, Mar 26, 2015 at 3:02 PM, Rustom Mody wrote:
[And BTW
help(filter) in python2 is much better documention than in python3
]
Python 2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2] on linux2
On Thursday, March 26, 2015 at 5:12:00 PM UTC-4, Mario Figueiredo wrote:
On Thu, 26 Mar 2015 13:58:36 -0700 (PDT),
wrote:
I just needed to save some code and there was no email at hand
LOL. What an imbecile.
You gotta love trolls sometimes. They exist with the sole purpose to
make
On Thu, 26 Mar 2015 14:06:28 -0700, marcuslom101 wrote:
I posted two test messages containing code. They are still there, are
you blind as well as dumb?
The message that you posted at the start of this thread may have
contained code, but it wasn't python code, so it's off topic here. Hence
On Fri, Mar 27, 2015 at 12:41 PM, Rustom Mody rustompm...@gmail.com wrote:
On Thursday, March 26, 2015 at 11:30:57 AM UTC+5:30, Chris Angelico wrote:
On Thu, Mar 26, 2015 at 3:02 PM, Rustom Mody wrote:
[And BTW
help(filter) in python2 is much better documention than in python3
]
Python
On Thursday, March 26, 2015 at 5:20:08 PM UTC-4, Mario Figueiredo wrote:
Hush now, little baby troll. Don't get all teary on us. Calm down.
Just a little while ago you were saying you didn't care about what
people said.
So don't care about what people say.
BTW, you are as stupid as you
On Thursday, March 26, 2015 at 5:24:10 PM UTC-4, sohca...@gmail.com wrote:
On Tuesday, March 24, 2015 at 7:48:05 PM UTC-7, Tiglath Suriol wrote:
head
style type=text/css
body {color:black;}
h1 {text-align:center;color:maroon;font-size:30px;font-style:normal;}
td
Gary Herron gher...@digipen.edu writes:
On 03/25/2015 10:29 AM, Manuel Graune wrote:
def test1(a, b, condition=True):
for i,j in zip(a,b):
c=i+j
if eval(condition):
print(Foo)
test1([0,1,2,3],[1,2,3,4],i+j 4)
print(Bar)
test1([0,1,2,3],[1,2,3,4],c 4)
Emil Styrke added the comment:
I have experienced this issue with Python 2.7.8 and 2.7.9. It is almost the
same issue as the OP experiences as far as I can tell: spawn some Python
threads that each create a file, flush, fsync, close, then start a subprocess
which uses the file through the
Roundup Robot added the comment:
New changeset bf570ff87c60 by Serhiy Storchaka in branch 'default':
Issue #23776: Removed asserts from pprint.PrettyPrinter constructor.
https://hg.python.org/cpython/rev/bf570ff87c60
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset afc21da5935f by Serhiy Storchaka in branch 'default':
Issue #23775: pprint() of OrderedDict now outputs the same representation
https://hg.python.org/cpython/rev/afc21da5935f
--
nosy: +python-dev
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23776
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: -Python 2.7, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23776
___
___
Serhiy Storchaka added the comment:
Thank you for your review Berker.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23775
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15133
___
___
Serhiy Storchaka added the comment:
What are your thoughts about the patch Terry?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15133
___
___
On 26Mar2015 07:27, Manuel Graune manuel.gra...@koeln.de wrote:
Gary Herron gher...@digipen.edu writes:
On 03/25/2015 10:29 AM, Manuel Graune wrote:
def test1(a, b, condition=True):
for i,j in zip(a,b):
c=i+j
if eval(condition):
print(Foo)
On Thu, Mar 26, 2015 at 3:02 PM, Rustom Mody rustompm...@gmail.com wrote:
[And BTW
help(filter) in python2 is much better documention than in python3
]
Python 2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2] on linux2
filter(...)
filter(function or None, sequence) - list, tuple, or
Serhiy Storchaka added the comment:
Updated to the tip, added whatsnew entry and fixed the documentation.
What parts of this patch besides tests are worth to be applied to maintained
releases?
--
Added file: http://bugs.python.org/file38696/sax_character_stream_3.patch
Serhiy Storchaka added the comment:
Issue2175 has a patch that covers all three issues: issue1483, issue2174 and
issue2175. I hesitate what parts of the patch are worth to be applied to
maintained releases.
--
nosy: +serhiy.storchaka
___
Python
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22721
___
___
Python-bugs-list mailing list
New submission from Florian Bruhin:
I just accidentally passed a list (instead of unpacking it) to os.path.join. I
was surprised when it just returned the list unmodified:
os.path.join([1, 2, 3])
[1, 2, 3]
Looking at the source, it simply returns the first argument (path = a; ...;
return
On Fri, Mar 27, 2015 at 1:14 AM, Dave Angel da...@davea.name wrote:
On 03/26/2015 08:37 AM, Chris Angelico wrote:
Nothing. And solving a Sudoku puzzle - or any other puzzle - should
require no guessing. It should be possible to solve purely by logic.
Same goes for every other kind of puzzle
Davin Potts added the comment:
Attaching patches for 3.5/default, 3.4, and 2.7 which update the documentation
on multiprocessing.Lock, RLock, Semaphore, and BoundedSemaphore to describe
their actual implemented behavior, replacing the existing, misleading claim
that they are clones of
Serhiy Storchaka added the comment:
Error message for ntpath is improved in 3.5.
import ntpath
ntpath.join([1, 2, 3])
Traceback (most recent call last):
File stdin, line 1, in module
File /home/serhiy/py/cpython/Lib/ntpath.py, line 111, in join
genericpath._check_arg_types('join',
Dave Angel da...@davea.name:
When in a playful mood, I wonder if all the Sudoku puzzles out there
are just permutations of a few hundred written by Will Shortz.
A sudoku solver can be trivially turned into a puzzle generator:
R. David Murray added the comment:
No, I'm not going to write tests...my goal is to commit other people's patches,
and I haven't even found time for that lately. And like you, I'm not convinced
the fix is needed. There is one argument I can think of in favor, though:
currently code that
On 03/26/2015 10:41 AM, Chris Angelico wrote:
that's already been proven. So, that's why I would avoid guessing.
I've written a lot of solvers for various puzzles. Minesweeper,
Sudoku, a binary Sudoku-like puzzle that I don't really have a good
name for, several others. Every time, I've tried
Changes by SpaceOne pyt...@florianbest.de:
--
nosy: +spaceone
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9698
___
___
Python-bugs-list mailing
Wolfgang Maier added the comment:
Decimal formatting intentionally differs from float formatting, see #23460.
I see. Thanks for the pointer. What about the missing zero in the exponent ?
--
___
Python tracker rep...@bugs.python.org
Changes by Davin Potts pyt...@discontinuity.net:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18620
___
___
Python-bugs-list
Masayuki Yamamoto added the comment:
I wrote improved patch to remove the 'si_band'. This patch modifies the
'n_in_sequence' to conform to the number of structure members.
And I tested manually for struct_siginfo. struct_siginfo objects builds well.
That's all for now.
$ python3.4.exe
Python
Marko Rauhamaa ma...@pacujo.net:
I have optimized my solution slightly:
1. precalculated integer division operations (big savings)
2. interned integers (little savings)
The example above now finishes in 41 minutes on my computer. (The C
version finishes in 13 seconds).
Any considered
Demian Brecht added the comment:
The current behaviour when no scheme is present is fairly sensible to me and
should not be changed to do string concatenation nor raise an exception
Agreed. Defaulting to relative behaviour makes sense as I imagine that'll be
the general use case.
I
Ian Kelly ian.g.ke...@gmail.com:
On Thu, Mar 26, 2015 at 8:23 AM, Marko Rauhamaa ma...@pacujo.net wrote:
That's trial and error, aka, reductio ad absurdum.
Okay, I've probably used single-lookahead trial and error in my
reasoning at some point. But the example you give is equivalent to the
On 03/26/2015 08:37 AM, Chris Angelico wrote:
On Thu, Mar 26, 2015 at 11:26 PM, Marko Rauhamaa ma...@pacujo.net wrote:
Frank Millman fr...@chagford.com:
Here is another python-based sudoku solver -
http://www.ics.uci.edu/~eppstein/PADS/Sudoku.py
From its docstring -
A proper Sudoku puzzle
Serhiy Storchaka added the comment:
Just reading the code that uses PyErr_Restore(). I found 3 issues and may be
the fourth in sqlite (it is more complicate than other 3).
--
___
Python tracker rep...@bugs.python.org
Stefan Krah added the comment:
The zero isn't missing. :) We are following
http://speleotrove.com/decimal/decarith.html, with thousands of test cases.
We could decide to do something special for g, but there are good reasons not
to do that.
--
R. David Murray added the comment:
Python's philosophy is one of duck typing, which means that in general we just
let the functions fail with whatever error they produce when the in put
datatype is wrong. The error message in this case is fairly straightforward:
you passed a list and it says
Stefan Krah added the comment:
Decimal formatting intentionally differs from float formatting, see #23460.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23602
___
On 2015-03-26, Ben Finney ben+pyt...@benfinney.id.au wrote:
Jerry OELoo oylje...@gmail.com writes:
Currently, I can just think out that I put status into a configure
file, and service schedule read this file and get status value,
That sounds like a fine start. Some advice:
* You may be
Ian Kelly ian.g.ke...@gmail.com:
I don't think that I have used trial and error, in my head or
otherwise, in any sudoku I have ever solved.
Of course you have. This here can't be a 2 because if it were a 2, that
there would have to be a 5, which is impossible. Thus, the only
remaining
On Thursday, March 26, 2015 at 9:01:23 AM UTC-4, alister wrote:
On Thu, 26 Mar 2015 00:36:49 +, Mark Lawrence wrote:
On 26/03/2015 00:17, MRAB wrote:
On 2015-03-25 22:36, Chris Angelico wrote:
On Thu, Mar 26, 2015 at 6:49 AM, Tiglath Suriol
wrote:
Two possibilities:
You
On Fri, Mar 27, 2015 at 2:03 AM, Dave Angel da...@davea.name wrote:
On 03/26/2015 10:41 AM, Chris Angelico wrote:
that's already been proven. So, that's why I would avoid guessing.
I've written a lot of solvers for various puzzles. Minesweeper,
Sudoku, a binary Sudoku-like puzzle that I
On Thu, Mar 26, 2015 at 11:25 AM, Tiglath Suriol
tiglathsur...@gmail.com wrote:
On Thursday, March 26, 2015 at 9:53:48 AM UTC-4, Joel Goldstick wrote:
Your first message was not python related. Your subsequent messages
were rude. You've never been here before it seems. This is an
On Thursday, March 26, 2015 at 11:14:06 AM UTC-4, Mark Lawrence wrote:
On 26/03/2015 01:26, Tiglath Suriol wrote:
On Wednesday, March 25, 2015 at 7:58:11 PM UTC-4, Mark Lawrence wrote:
You might be used to dealing with other people in other newsgroups.
This is the Python main mailing
Changes by Davin Potts pyt...@discontinuity.net:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23484
___
___
Python-bugs-list
On 2015-03-25, Ian Kelly ian.g.ke...@gmail.com wrote:
On Wed, Mar 25, 2015 at 1:53 PM, Grant Edwards invalid@invalid.invalid
wrote:
On 2015-03-25, Ian Kelly ian.g.ke...@gmail.com wrote:
On Wed, Mar 25, 2015 at 11:29 AM, Manuel Graune manuel.gra...@koeln.de
wrote:
I'm looking for a way to
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: fixed - duplicate
superseder: - Reloading tokenize breaks tokenize.open()
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23784
On Thursday, March 26, 2015 at 9:53:48 AM UTC-4, Joel Goldstick wrote:
Your first message was not python related. Your subsequent messages
were rude. You've never been here before it seems. This is an
interesting group, open to all with interest in python. How do you
fit in? Not
On
Changes by Davin Potts pyt...@discontinuity.net:
Added file: http://bugs.python.org/file38703/issue_23484_doc_locks_py27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23484
___
On Thu, Mar 26, 2015 at 8:23 AM, Marko Rauhamaa ma...@pacujo.net wrote:
Ian Kelly ian.g.ke...@gmail.com:
I don't think that I have used trial and error, in my head or
otherwise, in any sudoku I have ever solved.
Of course you have. This here can't be a 2 because if it were a 2, that
there
Wolfgang Maier added the comment:
actually, I'm not sure whether formatting Decimals gives correct output under
all conditions (correctly rounded yes, but maybe not formatted correctly?).
compare:
format(float('1.481e-6'),'.3g')
'1.48e-06'
format(Decimal('1.481e-6'),'.3g')
'0.0148'
On 26/03/2015 01:26, Tiglath Suriol wrote:
On Wednesday, March 25, 2015 at 7:58:11 PM UTC-4, Mark Lawrence wrote:
You might be used to dealing with other people in other newsgroups.
This is the Python main mailing list/newsgroup. There is a rather more
civilised way of doing things around
On Thursday, March 26, 2015 at 9:33:43 AM UTC-4, Igor Korot wrote:
On Thu, Mar 26, 2015 at 9:01 AM, alister
alister.nospam.w...@ntlworld.com wrote:
On Thu, 26 Mar 2015 00:36:49 +, Mark Lawrence wrote:
On 26/03/2015 00:17, MRAB wrote:
On 2015-03-25 22:36, Chris Angelico wrote:
On
On Thursday, March 26, 2015 at 11:14:06 AM UTC-4, Mark Lawrence wrote:
On 26/03/2015 01:26, Tiglath Suriol wrote:
On Wednesday, March 25, 2015 at 7:58:11 PM UTC-4, Mark Lawrence wrote:
You might be used to dealing with other people in other newsgroups.
This is the Python main mailing
On Thursday, March 26, 2015 at 9:52:36 AM UTC-4, Ian wrote:
On Mar 26, 2015 7:35 AM, Igor Korot ikor...@gmail.com wrote:
On Thu, Mar 26, 2015 at 9:01 AM, alister
alister.n...@ntlworld.com wrote:
i hope he has a good spam filter as I am about to sign him up for
everything
101 - 188 of 188 matches
Mail list logo