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 tempted to make the configuration file executable (e.g.
Python
New submission from Serhiy Storchaka:
There is a leak of fetched exception in _PyTraceback_Add()
(Python/traceback.c:146).
--
messages: 239319
nosy: georg.brandl, haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Leak in _PyTraceback_Add
type: resource usage
Boštjan Mejak (Pikec) added the comment:
Using Python 3.4.3 on Windows 7 Home Premium 64 bit, Service Pack 1:
import os
os.path.join([1, 2, 3])
Traceback (most recent call last):
File stdin, line 1, in module
File C:\Program Files\Python 3.4\lib\ntpath.py, line 108, in join
Roundup Robot added the comment:
New changeset b742c1c5c0bf by Victor Stinner in branch 'default':
PEP 490: add issue 18408
https://hg.python.org/peps/rev/b742c1c5c0bf
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18408
STINNER Victor added the comment:
FIY I'm working on a draft of new PEP to chain exceptions at C level: PEP 490.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23781
___
Marko Rauhamaa ma...@pacujo.net wrote in message
news:87r3sdnw5t@elektro.pacujo.net...
I post below a sudoku solver. I eagerly await neater implementations (as
well as bug reports).
Here is another python-based sudoku solver -
http://www.ics.uci.edu/~eppstein/PADS/Sudoku.py
From its
-Original Message-
From: Python-list [mailto:python-list-
bounces+webmailgroups=gmail@python.org] On Behalf Of Steven
D'Aprano
Sent: Thursday, March 26, 2015 01:49
To: python-list@python.org
Subject: Re: Function Defaults - avoiding unneccerary combinations of
arguments at
New submission from Serhiy Storchaka:
Proposed patch adds internal private function _PyErr_ReplaceException() in 2.7.
This functions is like _PyErr_ChainExceptions() in 3.x, but doesn't set the
context. It makes the code of 2.x simpler and more similar to 3.x and makes the
backporting from
Hi.
I have used python to provide a web service app, it will running 7*24,
and it will return some data to client by API.
Now I want to add some extra data in return data, ex, status = 1,
and I want this value 1 can be configured, that means I can control
that service app return status with 0, 1
Changes by Boštjan Mejak bostjan.xpe...@gmail.com:
--
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23780
___
___
On 26Mar2015 10:03, Peter Otten __pete...@web.de wrote:
Cameron Simpson wrote:
vars = locals()
varnames = list(vars.keys())
That leaves varnames in undefined order. Consider
varnames = sorted(vars)
Actually, not necessary.
I started with sorted, but it is irrelevant, so I
On Wed, Mar 25, 2015 at 1:49 PM, Tiglath Suriol tiglathsur...@gmail.com wrote:
Two possibilities:
You are a moderator. If you are a moderator you are welcome to delete my
tests posts. This is of course improbably because this newsgroup is not
moderated.
The other possibility is that
Cameron Simpson wrote:
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):
Sorry for the late reply. We experienced a 3 day blackout following
one of the most amazing thunderstorms I've witnessed in my life.
On Tue, 24 Mar 2015 22:49:49 +1100, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Tue, 24 Mar 2015 07:55 pm, Mario Figueiredo wrote:
Reading PEP
On Tue, 24 Mar 2015 15:33:41 -0400, Terry Reedy tjre...@udel.edu
wrote:
You have discovered one of advantages of a def statement over a
name=lambda assignment statement. In Python, there is no good reason to
use the latter form and PEP 8 specifically discourages it: Always use a
def
On Thu, Mar 26, 2015 at 8:53 PM, Mario Figueiredo mar...@gmail.com wrote:
However, lambda functions do read well in my mind and I find it hard
to spot where they obscure the code more than a function. So the
explicit vs. implicit part of the argument doesn't translate well with
me. I however
STINNER Victor added the comment:
If a new exception is raised by _PyTraceback_Add(), the original exception is
lost. It's sad because _PyTraceback_Add() is supposed to enhance the current
exception, not to drop it.
In the draft of my PEP 490, I propose to chain the two exceptions.
Martin Panter 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:
urljoin(//netloc/old/path, new/path)
'//netloc/old/new/path'
I am posting urljoin-non-hier.patch as an
On Wed, 25 Mar 2015 14:19:39 -0700, Gregg Dotoli wrote:
On Wednesday, March 25, 2015 at 4:36:01 PM UTC-4, Denis McMahon wrote:
On Tue, 24 Mar 2015 11:13:41 -0700, gdotoli wrote:
I am creating a tool to search a filesystem for one simple string.
man grep
STOP! REINVENTING! THE! WHEEL!
Cameron Simpson wrote:
On 26Mar2015 10:03, Peter Otten __pete...@web.de wrote:
Cameron Simpson wrote:
vars = locals()
varnames = list(vars.keys())
That leaves varnames in undefined order. Consider
varnames = sorted(vars)
Actually, not necessary.
I started with sorted, but
New submission from David Marks:
On 432 in tokenize.py there is an assignment
_builtin_open = open
Followed in 434 with a redefinition of open
def open(filename):
If the module is reloaded, _builtin_open gets reassigned to the new function
and subsequent calls to _builtin_open fail.
Abhiram R abhi.darkn...@gmail.com:
On Thu, Mar 26, 2015 at 8:54 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Wed, Mar 25, 2015 at 8:56 PM, Abhiram R abhi.darkn...@gmail.com wrote:
On Mar 26, 2015 5:39 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
$ cat sudoku2.dat
. . . 7 . . . . .
1 . . . .
New submission from Serhiy Storchaka:
If restore_error == 1 in PyObject_ClearWeakRefs() (Objects/weakrefobject.c:883)
and PyTuple_New() fails in Objects/weakrefobject.c:923, PyErr_Fetch is called
twice and both exceptions leak.
--
components: Extension Modules
messages: 239320
nosy:
On Thu, 26 Mar 2015 08:47 pm, Ivan Evstegneev wrote:
-Original Message-
From: Python-list [mailto:python-list-
bounces+webmailgroups=gmail@python.org] On Behalf Of Steven
D'Aprano
Sent: Thursday, March 26, 2015 01:49
To: python-list@python.org
Subject: Re: Function Defaults
Serhiy Storchaka added the comment:
Fixed in issue23615.
--
nosy: +serhiy.storchaka
resolution: - out of date
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23784
Masayuki Yamamoto added the comment:
similar issue #23338: PyErr_Format in ctypes uses invalid parameter
--
nosy: +masamoto
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23663
___
Serhiy Storchaka added the comment:
Proposed patch should fix the issue.
--
keywords: +patch
stage: - patch review
versions: +Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file38700/issue23783.patch
___
Python tracker
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 Thu, Mar 26, 2015 at 6:49 AM, Tiglath Suriol
tiglathsur...@gmail.com
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: out of date - fixed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23784
___
___
Hi,
on my linux box there is a python version 2.7.5 installed in /usr/local.
Now I want to install the newer version 2.7.9, but in a different directory to
avoid clashes with the current installation.
What I did was:
./configure --prefix /usr/local/Python-2.7.9 --exec-prefix
New submission from Serhiy Storchaka:
If an exception was raised in TextIOWrapper.tell() and then restoring state is
failed, original exception is lost and leaked.
--
components: Extension Modules
messages: 239327
nosy: benjamin.peterson, haypo, pitrou, serhiy.storchaka, stutzbach
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
tiglathsur...@gmail.com wrote:
Two possibilities:
You are a moderator. If you are a moderator you are
David Macek added the comment:
Yeah, looks like exactly the same issue. Sorry for the duplicate.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23663
___
Gregg Dotoli
Are you reminding everyone who had a PC running DOS2.X-3X in 1990.
It was really a pain at that time
that a hard disk of an intel-MS based PC was sold hundreds of dollars, and
another pain was that the buyer had to use the disabled
dir in DOS after buying a HD.
--
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file38699/issue23785.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23785
___
Serhiy Storchaka added the comment:
Proposed patch chain original exception to the exception raised by
setstate(saved_state). This matches the behavior of Python implementation.
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
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 must have a unique solution, and it should be
possible to reach that solution by a sequence of logical deductions
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 must have a unique solution, and it should be
On Mar 26, 2015 6:31 AM, 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 must have a unique solution, and it should be
On Thursday, March 26, 2015 at 6:41:15 PM UTC-4, Steven D'Aprano wrote:
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
Ben Hoyt added the comment:
Victor, great work on pushing this out, especially with the modifying the
directories fix. (And thanks Serhiy for pushing on correctness here.)
Couple of comments/questions about your new os.walk() implementation.
1) The new implementation is more complex. Of
On Thursday, March 26, 2015 at 9:55:08 PM UTC-4, Denis McMahon wrote:
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
On Thursday, March 26, 2015 at 6:36:57 PM UTC-4, Steven D'Aprano wrote:
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
On Friday, March 27, 2015 at 7:26:54 AM UTC+5:30, Chris Angelico wrote:
On Fri, Mar 27, 2015 at 12:41 PM, Rustom Mody wrote:
On a more specific note, its the 1st line:
class filter(object)
which knocks me off.
If a more restricted type from the ABC was shown which exactly captures
On Thursday, March 26, 2015 at 10:24:33 PM UTC-4, Mario Figueiredo wrote:
On Thu, 26 Mar 2015 18:56:25 -0700 (PDT),
How disappointing, I was expecting something worth opposing.
And that's bad? Successfully opposing a troll is like getting a medal
for winning an argument with Spencer
On Friday, March 27, 2015 at 7:56:16 AM UTC+5:30, Ian wrote:
On Thu, Mar 26, 2015 at 7:56 PM, Chris Angelico wrote:
On a more specific note, its the 1st line:
class filter(object)
which knocks me off.
If a more restricted type from the ABC was shown which exactly captures all
the
On Fri, 27 Mar 2015 01:21 pm, Rustom Mody wrote:
Anyway my point is that in python (after 2.2??) saying something is an
object is a bit of a tautology -- ie verbiage without information.
Er, it's *always* been a tautology. Every value in Python is an object,
including classes, and that has
eryksun added the comment:
Emil,
Your example child process opens the file with only read sharing, which fails
with a sharing violation if some other process inherits the file handle with
write access. The `with` block only prevents this in a single-threaded
environment. When you spawn 10
On Thu, 26 Mar 2015 18:56:25 -0700 (PDT), Tiglath Suriol
tiglathsur...@gmail.com wrote:
How disappointing, I was expecting something worth opposing.
And that's bad? Successfully opposing a troll is like getting a medal
for winning an argument with Spencer Pratt.
Delusional pricks like you are
/*
* Only assholes need reply to this thread.
*/
var Obj = (function() {
return function() {
var docRoot = '/as-qa23';
this.validateDocRoot = function(val) {
// throw Exception if not OK
};
this.setDocRoot = function(val) {
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info:
You're arguing whether or not in the following line of code:
spam = abcd efgh
# implicitly concatenated to abcdefgh at compile time
the right hand side pair of strings counts as a single token or two? Am I
right, or am I missing
On Thu, Mar 26, 2015 at 7:56 PM, Chris Angelico ros...@gmail.com wrote:
On a more specific note, its the 1st line:
class filter(object)
which knocks me off.
If a more restricted type from the ABC was shown which exactly captures all
the iterator-specific stuff like __iter__, __next__ it
Ian Kelly ian.g.ke...@gmail.com:
On Thu, Mar 26, 2015 at 9:48 AM, Marko Rauhamaa ma...@pacujo.net wrote:
In fact, the trial-and-error technique is used in automated theorem
proving:
Lean provers are generally implemented in Prolog, and make proficient
use of the backtracking engine and
On Thursday, March 26, 2015 at 11:34:11 AM UTC-4, Joel Goldstick wrote:
On Thu, Mar 26, 2015 at 11:25 AM, Tiglath Suriol
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
On 03/26/2015 01:11 PM, Gregg Dotoli wrote:
On Wednesday, March 25, 2015 at 3:43:38 PM UTC-4, Gregg Dotoli wrote:
This basic script will help to find
evidence of CryptoWall on a slave drive. Although it is
just a string, more complex regex patterns can be
replaced with the string. It is
Dave Angel wrote:
[Fixed quotation]
On 03/26/2015 01:09 AM, Ian Kelly wrote:
Thomas 'PointedEars' Lahn wrote:
https://docs.python.org/3/reference/lexical_analysis.html#string-
literal-concatenation
What the grammar that you quoted from shows is that STRING+ is an
expression. The
STINNER Victor added the comment:
Could you please use a define like SIGINFO_HAS_SI_BAND?
Something like:
#if defined(HAVE_SIGINFO) !defined(__CYGWIN__)
/* Issue #21085: In Cygwin, siginfo_t does not have si_band field. */
# define SIGINFO_HAS_SI_BAND
#endif
And please generate patches
STINNER Victor added the comment:
A new failure test_subprocess.test_double_close_on_error:
http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/11411/steps/test/logs/stdio
---
Timeout (1:00:00)!
Thread 0x55aafdc0 (most recent call first):
File
Thomas 'PointedEars' Lahn wrote:
multiple-string = STRING *STRING
[…]
in ABNF.
JFTR: ABNF allows for
multiple-string = 1*STRING
to be equivalent to the above.
http://en.wikipedia.org/wiki/Augmented_Backus%E2%80%93Naur_Form pp.
--
PointedEars
Twitter: @PointedEars2
Please do not cc
Peter added the comment:
I went and recompiled with:
$ ./configure --prefix=/usr/local --enable-shared
--with-hash-algorithm=siphash24
But this crashed as well.
test_unaligned_buffers (test.test_hash.HashEqualityTestCase) ... Fatal Python
error: Bus error
Current thread 0x0001 (most
On Wednesday, March 25, 2015 at 3:43:38 PM UTC-4, Gregg Dotoli wrote:
This basic script will help to find
evidence of CryptoWall on a slave drive. Although it is
just a string, more complex regex patterns can be
replaced with the string. It is incredible how fast Python is and
how easy it
On Thu, Mar 26, 2015 at 9:48 AM, Marko Rauhamaa ma...@pacujo.net wrote:
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
STINNER Victor added the comment:
In that case, May I edit configure script to generate the HAVE_* defines?
I'd like to add a statement to check the si_band to configure.ac.
Does Cygwin use configure? If yes, go for configure.
You can copy/paste my recent change for dirent.d_type field.
I
On 26/03/2015 15:38, Tiglath Suriol wrote:
I did not spam anyone. I posted to an open public newsgroup. Just some code,
nothing offensive or even directed to anyone. Then people started to get cute,
and now that returned fire is a bucket a drop they complaints like bitches on
the rag.
Ian Kelly wrote:
On Thu, Mar 26, 2015 at 12:29 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Thu, Mar 26, 2015 at 10:45 AM, Thomas 'PointedEars' Lahn
No, in the used flavour of EBNF the unquoted “+” following a goal symbol
clearly means the occurrence of *at least one* of the immediately
On 3/25/2015 12:49 PM, Tiglath Suriol wrote:
On Tuesday, March 24, 2015 at 11:04:48 PM UTC-4, Chris Angelico wrote:
On Wed, Mar 25, 2015 at 1:47 PM, Tiglath Suriol wrote:
PLONK
--
https://mail.python.org/mailman/listinfo/python-list
Ian Kelly wrote:
[…] Thomas 'PointedEars' Lahn […] wrote:
Chris Angelico wrote:
[…] Thomas 'PointedEars' Lahn […] wrote:
Implicit concatenation is part of the syntax, not part of the
expression evaluator.
Reads like nonsense to me.
What do you mean?
As I showed, string literals and
On Thu, Mar 26, 2015 at 12:29 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Thu, Mar 26, 2015 at 10:45 AM, Thomas 'PointedEars' Lahn
No, in the used flavour of EBNF the unquoted “+” following a goal symbol
clearly means the occurrence of *at least one* of the immediately preceding
symbol,
Ian Kelly wrote:
[…] Thomas 'PointedEars' Lahn […] wrote:
Ian Kelly wrote:
What the grammar that you quoted from shows is that STRING+ is an
expression. The individual STRINGs of a STRING+ are not expressions,
except to the extent that they can be parsed in isolation as a
STRING+.
How did
Masayuki Yamamoto added the comment:
Victor,
In that case, May I edit configure script to generate the HAVE_* defines?
I'd like to add a statement to check the si_band to configure.ac.
And please generate patches not the git format. Otherwise, Rietveld is unable
to generated the review
Serhiy Storchaka added the comment:
Siphash24 implementation is not designed to work on platforms that require
aligned access. But I'm surprised that fnv implementation crashes. I don't see
anything wrong. May be gcc needs some special options to produce correct
binaries on this platform?
On Thu, Mar 26, 2015 at 10:45 AM, Thomas 'PointedEars' Lahn
pointede...@web.de wrote:
Ian Kelly wrote:
What the grammar that you quoted from shows is that STRING+ is an
expression. The individual STRINGs of a STRING+ are not expressions,
except to the extent that they can be parsed in
T Younger tlyt...@gmail.com writes:
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.
That's not so much a question about Python; it is rather a question of
how you install and uninstall applications on your operating
STINNER Victor added the comment:
Is msg234811 the result of set_faster_copy_3.patch? If yes, I see no reason to
not apply the patch: the patch is short and looks always fast, and sometimes
*much* faster.
I just leaved a small comment on the review.
--
nosy: +haypo
On Thu, 26 Mar 2015 18:52:41 -0500, T Younger tlyt...@gmail.com
wrote:
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
Objective: Save the browser session/cookies to share them in multiples
script execution.
I currently have this working using ChromeDriver:
chrome_options = Options()
chrome_options.add_argument(user-data-dir= + os.path.dirname(sys.argv[0]))
browser =
STINNER Victor added the comment:
It is used in multiprocessing and this is not configurable.
Oh, it would be nice to switch to version 4 by default, or make it
configurable. I read that the version 4 is faster.
--
___
Python tracker
Antoine Pitrou added the comment:
Is it still work-in-progress or are you looking for a review?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23529
___
Nikolaus Rath added the comment:
I believe Martin's patch (v8) is ready for a core committer review. At least I
can't find anything to criticize anymore :-).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23529
New submission from Peter:
I compiled Python 3.4.3 on Solaris 11, and when I ran the regression test, I
get a core dump when the hash() function was being used. I went through the bug
database looking for something similar but couldn't find anything.
Tests like:
test_unaligned_buffers
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +christian.heimes, jcea
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23786
___
On Mar 26, 2015 7:35 AM, Igor Korot ikoro...@gmail.com wrote:
On Thu, Mar 26, 2015 at 9:01 AM, alister
alister.nospam.w...@ntlworld.com wrote:
i hope he has a good spam filter as I am about to sign him up for
everything :-)
Well he did gave out his private key to the public in an ASCII
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 Wed, Mar 25, 2015 at 9:34 PM, Tiglath Suriol tiglathsur...@gmail.com wrote:
On
Benjamin Peterson added the comment:
lgtm with a test
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23785
___
___
Python-bugs-list mailing list
Apparently Tiglath is a troll: see this:
http://www.science-bbs.com/121-math/6b7f8c793e31402e.htm
On Thu, Mar 26, 2015 at 9:51 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Mar 26, 2015 7:35 AM, Igor Korot ikoro...@gmail.com wrote:
On Thu, Mar 26, 2015 at 9:01 AM, alister
Serhiy Storchaka added the comment:
It would be not easy to reproduce without special broken decoder.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23785
___
Benjamin Peterson added the comment:
How did you notice it, btw?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23785
___
___
Python-bugs-list
STINNER Victor added the comment:
I'm sorry, I don't understand this issue. Could you please elaborate the use
case? Why do you want to support more error handlers? str.translate() calls
_PyUnicode_TranslateCharmap() with errors=ignore, it's not possible to choose
the error handler.
Many
In article 548dcac1-fa00-4fc1-81d1-ccae28caf...@googlegroups.com,
Ralph Heinkel ralph.hein...@web.de wrote:
on my linux box there is a python version 2.7.5 installed in /usr/local.
Now I want to install the newer version 2.7.9, but in a different directory
to avoid clashes with the current
Peter added the comment:
That's not a valid option on SPARC, (see
https://gcc.gnu.org/onlinedocs/gcc/SPARC-Options.html ) the flag is only
available on ARM it seems.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23786
On 3/24/15 6:39 PM, Jason Swails wrote:
On Mon, Mar 23, 2015 at 8:38 PM, Emile van Sebille em...@fenx.com
mailto:em...@fenx.com wrote:
On 3/23/2015 5:52 AM, Steven D'Aprano wrote:
Are there any other, possibly better, ways to calculate the
fractional part
of a
Peter added the comment:
I've compiled Python 3.3.6 using the same options (./configure
--prefix=/usr/local --enable-shared) and build system and that passes almost
all the tests (test_uuid fails for an ignorable reason).
Specifically test_hash passes fully:
$
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 relevance to the newsgroup
or the gated mailing list, it was purely
On 23 March 2015 at 12:52, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
I have a numeric value, possibly a float, Decimal or (improper) Fraction,
and I want the fractional part. E.g. fract(2.5) should give 0.5.
Here are two ways to do it:
py x = 2.5
py x % 1
0.5
py x -
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 some
code, nothing offensive or even directed to anyone. Then people started to
get cute, and now that returned
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23786
___
___
Python-bugs-list
On 3/24/2015 6:39 PM, Jason Swails wrote:
On Mon, Mar 23, 2015 at 8:38 PM, Emile van Sebille em...@fenx.com
snip
float ((%6.3f % x)[-4:])
In general you lose a lot of precision this way...
Even more if you use %6.1 -- but feel free to flavor to taste. :)
Emile
--
On Thu, 26 Mar 2015 14:06:28 -0700 (PDT), marcuslom...@gmail.com
wrote:
I posted two test messages containing code. They are still there,
are you blind as well as dumb?
Your post is also off-topic, so what are you whining about, girl?
You can ignore my posts almost effortlessly, the fact
Serhiy Storchaka added the comment:
Yes, 3.3 uses less efficient implementation.
Try to compile Python with gcc option -mno-unaligned-access.
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23786
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 message which addressed every member of the list. If you
don't want to
1 - 100 of 188 matches
Mail list logo