johnkw added the comment:
New testcase submitted without requests. Don't have access to the non-cygwin
build so don't know there.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23531
___
Cory Benfield added the comment:
My reading of the OpenSSL issue is that there are no negative side effects from
turning this on.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23476
___
Alexander Belopolsky added the comment:
As far as I can tell, the original report was about a test failing due to a
system-dependent behavior of time.asctime(). However, since changeset
1e62a0cee092 (see issue #8013), we no longer call system asctime. I believe
the test disabled in
Serhiy Storchaka added the comment:
splitport() shouldn't handle auth, it should be called after auth is dropped
with splituser().
The patch makes URL parsing slower, especially URLs with IPv6 addresses.
$ ./python -m timeit -s from urllib.parse import urlparse, clear_cache --
Davin Potts added the comment:
To be fair, the docs in 2.7 do actually mention the use of 'block' instead of
'blocking' in acquire though it does so inside a Note block a bit later in
the docs after first claiming that multiprocessing.Lock is a clone.
In 3.4, that important detail has been
koobs added the comment:
For what it's worth, we've been running with patch 0001 on FreeBSD's Python 3.4
port for 8 months with no issues [1].
It allows downstreams like us to easily customise what modules gets built, and
offers substantial flexibility and benefits for various packaging
Martin Panter added the comment:
See also Issue 20271, which has a proposed patch with more strict urlsplit()
etc behaviour before even returning a SplitResult object.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20059
On 2015-03-01 20:32:34 +, fl said:
import numpy
it succeeds. On http://wiki.scipy.org/Cookbook, it shows some interesting
code example snippet, such as Cookbook / ParticleFilter, Markov chain etc.
I don't know how I can access these code examples, because I don't know where
Enthought
Alex Gaynor added the comment:
It looks like the existing `verify_flags` param is actually the same thing, so
we can just use it. That said, I think this should be on by default, I can't
think of a scenario you don't want it.
--
___
Python tracker
On Sunday, March 1, 2015 at 1:25:59 PM UTC-8, Andrea D'Amore wrote:
On 2015-03-01 20:32:34 +, fl said:
import numpy
it succeeds. On http://wiki.scipy.org/Cookbook, it shows some interesting
code example snippet, such as Cookbook / ParticleFilter, Markov chain etc.
I don't know how
Alexander Belopolsky added the comment:
Attached patch eliminates undefined behavior, but I am not sure fixing this is
worth the trouble.
--
keywords: +patch
nosy: +haypo
Added file: http://bugs.python.org/file38290/issue13312.patch
___
Python
Ben Finney ben+pyt...@benfinney.id.au writes:
(See URL:https://www.youtube.com/watch?v=Yz2LaJOVAiA if you have no
idea what this is all about.)
I was sloppy with my pronouns there. I'm pretty sure Roy knows what he's
referring to; that “you” was directed to anyone who is not aware.
--
\
Mark Lawrence added the comment:
msg185431 from #616013 states Three years later, I don't think anyone is
interested in documenting the outdated cPickle. so I believe this should
suffer the same fate.
--
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
With the patch the flag is always set. Are there any possible side effects?
IMHO it's better to add a store_flags property and make the feature optional.
--
___
Python tracker rep...@bugs.python.org
Davin Potts added the comment:
In the docs for 2.7, multiprocessing.Lock refers to threading.Lock in which the
signature for acquire looks like:
threading.Lock.acquire([blocking])
However, in the current code in 2.7, Modules/_multiprocessing/semaphore.c
implements
In article clhf9mfn89...@mid.individual.net,
Gregory Ewing greg.ew...@canterbury.ac.nz wrote:
But in documentation, in contexts where it's not critical,
I'm more likely to use the spelling I'm most familiar
with, which is colour. I can't imagine any English
speaker, native or otherwise,
Alexander Belopolsky added the comment:
We still have the following in Lib/test/test_time.py:
# Issue #13312: it may return wrong value for year TIME_MINYEAR + 1900
# Skip the value test, but check that no error is raised
self.yearstr(TIME_MINYEAR)
I reviewed the
Michael Torrie wrote:
If you want a bit of fun, listen to Patrick Stewart reciting a poem in
his native northern accent. In school they drilled it out of him, I
guess.
And then you have people like Alexis Denisof, husband to Alyson Hannigan,
best known for playing Wesley Wyndam-Pryce in
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
components: +Windows
nosy: +steve.dower, tim.golden, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9784
___
Mark Lawrence added the comment:
Can this be closed as it's stated to be a transient failure and it's nearly
four years old?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12137
___
Isaac Schwabacher added the comment:
Patch to do precisely this. Wish I'd spent more time searching for this thread
and less time debugging; it would have saved me a lot of trouble.
--
keywords: +patch
nosy: +ischwabacher
Added file: http://bugs.python.org/file38291/test_import.patch
Mark Lawrence added the comment:
Anybody?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18082
___
___
Python-bugs-list mailing list
On Mon, 02 Mar 2015 07:26:22 +1100, Chris Angelico wrote:
On Mon, Mar 2, 2015 at 7:16 AM, alister
alister.nospam.w...@ntlworld.com wrote:
Last time I was is the USA I had a local ask me which state London was
in! (heck I know they only bother with their own history but I though
we played
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23556
___
___
Python-bugs-list
Mark Lawrence added the comment:
Sorry should have been #17690.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13312
___
___
Python-bugs-list
On 01/03/2015 21:47, Roy Smith wrote:
In article clhf9mfn89...@mid.individual.net,
Gregory Ewing greg.ew...@canterbury.ac.nz wrote:
But in documentation, in contexts where it's not critical,
I'm more likely to use the spelling I'm most familiar
with, which is colour. I can't imagine any
Mark Lawrence added the comment:
As ntpath was cleaned up on #15275 do we need this patch or not, especially
given that pathlib made it into 3.4?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15286
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6911
___
Mark Lawrence added the comment:
Pang :(
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19873
___
___
Python-bugs-list mailing list
Unsubscribe:
Roy Smith r...@panix.com writes:
In article clhf9mfn89...@mid.individual.net,
Gregory Ewing greg.ew...@canterbury.ac.nz wrote:
But in documentation, in contexts where it's not critical, I'm more
likely to use the spelling I'm most familiar with, which is
colour. I can't imagine any
On Sun, 01 Mar 2015 22:45:12 +0200, Marko Rauhamaa ma...@pacujo.net
wrote:
Fact remains I can easily understand what Chinese, Mexican, Italian,
Russian or Malay colleagues say in English. For some reason, Australian
and Indian speakers don't give me trouble, either. The Irish accent is
On 01/03/2015 16:16, Marko Rauhamaa wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info:
Marko Rauhamaa wrote:
Learn it like everybody else has to.
Stockholm Syndrome :-)
I learned English, and so everyone else should too.
No, the point is that if everybody else has taken the
Martin Panter added the comment:
I suspect the proposed patch here would make some of the special error handling
for the “port” property redundant, and would compete with my patch for Issue
20059, which raises ValueError in more cases when “port” is accessed, rather
than returning None.
On 2015-03-02 01:37, Dennis Lee Bieber wrote:
On Sun, 1 Mar 2015 13:43:50 +1100, Chris Angelico ros...@gmail.com
declaimed the following:
losing performance. Conversely, I'm sure Python could also have been
implemented on top of BASIC if someone felt like it, though what the
advantages might
Marko Rauhamaa wrote:
The language of science and technology is American English.
Not so. Despite claims that 99% of science publishing is done in English,
there are still significant amounts of science and technology published in
non-English languages. And the majority which is published in
Serhiy Storchaka added the comment:
How it looks?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23552
___
___
Serhiy Storchaka added the comment:
Ping. The last patch doesn't add more lookkey variants, it uses existing
function.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23290
___
Serhiy Storchaka added the comment:
The test still sporadically fails on Windows:
http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/9323/steps/test/logs/stdio
==
FAIL: test_broken_pipe_cleanup
Serhiy Storchaka added the comment:
I don't know what errors was on FreeBSD (logs are no longer available), but
these tests modify sys.path and the list of weakrefs to logging handlers. They
also require relative long time to run.
--
___
Python
Serhiy Storchaka added the comment:
Could anyone please make a review? This patch is a prerequisite of other
patches.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22364
___
This is generic colouriser, version 1.7.
grc is a colouriser configured by regular expressions, including
a simple command line wrapper for some commonly used unix commands.
Notable changes in this version:
- add the possibility to replace text in addition to colouring
- add several
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20204
___
Serhiy Storchaka added the comment:
As said koobs, the full log was attached to issue20123.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20128
___
New submission from Matthias Klose:
seen with ceph, https://launchpad.net/bugs/1413321
This appears to be a regression in the argparse package in python; under trusty
ceph-disk works just fine, however in vivid, the cluster attribute remains
unset (despite having a default of 'ceph').
This is generic colouriser, version 1.7.
grc is a colouriser configured by regular expressions, including
a simple command line wrapper for some commonly used unix commands.
Notable changes in this version:
- add the possibility to replace text in addition to colouring
- add several
Hello all,
We're glad to announce the release of fades 2.0.
fades, a FAst DEpendencies for Scripts, is a system that automatically
handles the virtualenvs in the simple cases normally found when
writing scripts or simple programs.
It will automagically create a new virtualenv (or reuse a
Roundup Robot added the comment:
New changeset a192cc5a63be by Serhiy Storchaka in branch '3.4':
Issue #20204: Added the __module__ attribute to _tkinter classes.
https://hg.python.org/cpython/rev/a192cc5a63be
New changeset 3244142eeafb by Serhiy Storchaka in branch 'default':
Issue #20204:
Serhiy Storchaka added the comment:
Parenthesis around Py_SIZE() are redundant.
Are there any benchmarking results that show a speed up? Such microoptimization
makes sense in tight loops, but optimized source code looks more cumbersome and
errorprone.
--
nosy: +pitrou
Roundup Robot added the comment:
New changeset 1e89094998b2 by Raymond Hettinger in branch 'default':
Issue #23553: Use an unsigned cast to tighten-up the bounds checking logic.
https://hg.python.org/cpython/rev/1e89094998b2
--
nosy: +python-dev
___
Raymond Hettinger added the comment:
I think the source in listobject.c would be benefit from a well-named macro for
this. That would provide the most clarity. For deques, I'll just put in the
simple patch because it only applies to a place that is already doing unsigned
Serhiy Storchaka added the comment:
My point is that if the benefit is too small (say 5% in microbenchmarks), it
is not worth code churning. Actually my bar for microbenchmarks is higher,
about 20%.
--
___
Python tracker rep...@bugs.python.org
Raymond Hettinger added the comment:
I still intend to apply some variant of your patch. Am still looking at the
options.
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23290
Serhiy Storchaka added the comment:
Why not ignoring BrokenPipeError like communicate()?
Why communicate() ignores BrokenPipeError?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21619
Serhiy Storchaka added the comment:
It was added in issue10963. I don't know if this way is applicable to this
issue.
--
nosy: +dmalcolm, pitrou, rosslagerwall
resolution: fixed -
stage: resolved -
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
self.stdout.close() also can fail with EPIPE or EINVAL if the stream is
buffered (text streams are buffered). I.e. communicate() in text mode can loss
the data. See also issue21619.
--
nosy: +serhiy.storchaka
___
Some more searching brought me to Pillow. That seems to work!
No answer needed anymore on previous question.
On Saturday, February 28, 2015 at 9:51:53 PM UTC+1, GerritM wrote:
I am reinstalling everything on my new Windows 7 laptop. I run into a problem
when installing PIL 1.1.7, in
Changes by SilentGhost ghost@gmail.com:
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23555
___
___
Python-bugs-list mailing
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21619
___
New submission from Antoine Amarilli:
Hello,
Python 2.7.8 and Python 3.4.2 (from Debian testing) have a different behavior
on the attached file. Python 2 raises bar, Python 3 raises foo.
I can't find an adequate explanation in the documentation for this behavior
difference. It probably
SilentGhost added the comment:
There is this bit in https://docs.python.org/3/library/exceptions.html :
When raising a new exception (rather than using a bare raise to re-raise the
exception currently being handled),...
I presume this can be also suitable for tutorial if it's not already
STINNER Victor added the comment:
I'm aware of the issue but I would prefer to not fix it.
The first problem is that you didn't close the event loop. I modified
recently the doc to explain at the begining that you should develop in the
debug mode. In this mode, you will see a warning if you
STINNER Victor added the comment:
Le dimanche 1 mars 2015, Serhiy Storchaka rep...@bugs.python.org a écrit :
Why communicate() ignores BrokenPipeError?
It's more convinient. There is nothing useful you can do on pipe error in
communicate().
For __exit__, what do you want to on broken pipe
==
jsonrpclib-pelix 0.2.5
==
jsonrpclib-pelix 0.2.5 has just been released !
What is it ?
This library is an implementation of the JSON-RPC specification, for Python
2.6+ and 3.x.
It supports both the original 1.0 specification, as well as
Ismail Donmez added the comment:
Any update on this? Would be nice to have this for 3.5 release.
--
nosy: +cartman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10716
___
Serhiy Storchaka added the comment:
When you write to the file you don't want the error was silently ignored.
with open(filename, 'w') as f:
f.write(content)
And also I don't want the error was silently ignored when write to the
subprocess.
with subprocess.Popen(cmd,
New submission from Jakub Klama:
Section describing block layout under PYMALLOC_DEBUG is wrong - it doesn't
contain information about API type byte instead of one of forbidden bytes. That
may lead to wrong assumption that one of forbidden bytes is being overwritten
until you dig into
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23553
___
Changes by SilentGhost ghost@gmail.com:
--
nosy: +collinwinter
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23556
___
___
Python-bugs-list
On 01/03/2015 02:08, Steven D'Aprano wrote:
BartC wrote:
On 28/02/2015 15:33, Mark Lawrence wrote:
It also makes me wonder what idiot decided to use C as the language for
the first Python implementation? Or was it written in something else and
then ported?
Python was already slow enough
Serhiy Storchaka added the comment:
With test_synopsis_sourceless and test_non_ascii there were different issues,
related to -OO. Fixed in changesets 663a83c1d42d, d7b3e722152d, 94edd0ef4c2a.
--
___
Python tracker rep...@bugs.python.org
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +paul.j3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23555
___
___
Python-bugs-list
Changes by johnkw joh...@gmail.com:
Added file: http://bugs.python.org/file38288/sslbug.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23531
___
___
Mark Lawrence added the comment:
I believe that this can be closed as the test code was changed completely in
#17960.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13312
___
Mario Figueiredo wrote:
But could you please point us to the ISO that details the
international standard for variable names? Or failing that, to the
public discussion that took place and decided American-English is the
de-facto language for variable names?
American became the standard for
Alexander Belopolsky added the comment:
Mark,
Issue #17960 (Clarify the required behaviour of locals()) does not seem to be
relevant here. I think you meant to refer to a changeset, not issue number.
If so please use hash number such as d877d7f3b679.
--
Isaac Schwabacher added the comment:
This behavior is caused by the way NFS clients implement unlinking open files:
instead of unlinking an open file, the filesystem renames it to .nfs and
unlinks it on close. (The search term you want is silly rename.) The reason
this problem appears
Mark Lawrence added the comment:
The patch is three parts that adds one line, moves one line and deletes one
line. I've checked 2.6, 2.7, 3.2, 3.3, 3.4 and default. In all cases the
second part has already been implemented, the first and third have not.
Assuming that these changes must
Ryan Gonzalez added the comment:
Cyd:
Just run:
$ git commit -m Put some message here # commit the changes
$ git push # push the changes
I'm working on it, but I haven't even gotten it to build (CURSE YOU, AUTOCONF!)
--
___
Python tracker
Dennis Lee Bieber wrote:
Well... when we've got states bigger than some countries...
A Texan farmer goes to Australia on vacation. There he meets an Aussie
farmer and gets to talking. They walk around the farm a little, and the
Aussie shows off his herd of cattle. The Texan immediately
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23485
___
___
Python-bugs-list
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23387
___
Roundup Robot added the comment:
New changeset 7e783289bc12 by Berker Peksag in branch '3.4':
Issue #23387: Skip test_issue16464 if it raises an 5xx error.
https://hg.python.org/cpython/rev/7e783289bc12
New changeset 4cadc2c65609 by Berker Peksag in branch 'default':
Issue #23387: Skip
On Sunday, March 1, 2015 at 10:32:00 PM UTC+5:30, Marko Rauhamaa wrote:
Mark Lawrence :
Are you suggesting that we Brits have a single home accent? If you
are, you need to stand up as your voice is rather muffled. That by the
way is a British expression that may or may not be used
Raymond Hettinger added the comment:
See attached
--
keywords: +patch
Added file: http://bugs.python.org/file38294/timeit_warning.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23552
___
Alex Gaynor added the comment:
This seems like it probably will report something useless (and ultimately be
disabled) on PyPy, where runs before and after the JIT will display significant
variance.
--
nosy: +alex, arigo, fijall
___
Python tracker
Rustom Mody rustompm...@gmail.com:
However, when I exhange software engineering ideas with you, I wish
both of us could stick to American English.
[...]
I would say it is wrong side of the ledger because the amount of
culture' invested into a Brit is more than into someone who just
poorly
On 03/01/2015 08:59 PM, MRAB wrote:
On 2015-03-02 01:37, Dennis Lee Bieber wrote
You'd be able to run it on a TI99/4 (in which the BASIC interpreter,
itself, was run on an interpreter... nothing like taking the first
16-bit
home computer and shackling it with an interpreted language that
Martin Panter added the comment:
It seems two different issues have popped up:
## 1. Windows behaviour ##
Windows apparently doesn’t handle broken pipes consistently, sometimes raising
an EINVAL error, and sometimes not raising any error. I don’t know if this is a
problem with Python, or a
Mark Lawrence added the comment:
I do not see much purpose in documenting and testing this one function alone.
I think that all functions in _codecsmodule.c should be looked at to see if
they are private or public, but I'm certainly not volunteering to do it.
--
eryksun added the comment:
Can we close this as I'm not aware of any possible way to fix this?
Windows system and C runtime calls that take paths could be restricted to
wide-character APIs, such as calling GetFullPathnameW in this case, or _wexecve
instead of execve (issue 23462). Then for
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
The Aussie replies “Ah yes, I had a car like that once. American-made, is
it?”
Is it true that in Australia, the number of the beast is 999?
--
https://mail.python.org/mailman/listinfo/python-list
Raymond Hettinger added the comment:
FWIW, here is a small patch to show how this could can be done consistently and
with code clarity.
--
title: Reduce the number of comparison for range checking. - Reduce the number
of comparisons for range checking.
Added file:
Davin Potts added the comment:
The runnable example in the attached file, issue_23513_play.py, suggests a way
to preserve the inheritance of the Result class in any subclasses of Thing yet
leaves the definition of Thing.worker as the OP first had it (in the most
straightforward way).
In
Cyd Haselton added the comment:
Ryan,
Thanks. First commit in; all fixes for Android's broken mbstowcs, new
plat-android and plat-android/DLFCN.py.
What are you trying to build?
--
___
Python tracker rep...@bugs.python.org
On Mon, Mar 2, 2015 at 2:18 PM, Paul Rubin no.email@nospam.invalid wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
The Aussie replies “Ah yes, I had a car like that once. American-made, is
it?”
Is it true that in Australia, the number of the beast is 999?
Wouldn't know.
Roundup Robot added the comment:
New changeset 617feb5d8af2 by Berker Peksag in branch '3.4':
Issue #20521: Change ``TOS`` to TOS in dis documentation.
https://hg.python.org/cpython/rev/617feb5d8af2
New changeset a331d71bdc0a by Berker Peksag in branch 'default':
Issue #20521: Change ``TOS`` to
Berker Peksag added the comment:
Thanks for the patch, Sven. Most of the changes in your patch have already been
fixed in issue 22845. Just committed the ``TOS`` - TOS part of the patch.
--
nosy: +berker.peksag
resolution: - fixed
stage: patch review - resolved
status: open - closed
Roundup Robot added the comment:
New changeset 9f2ef8654bf8 by Berker Peksag in branch '3.4':
Issue #23477: Improve test coverage of wsgiref.simple_server.
https://hg.python.org/cpython/rev/9f2ef8654bf8
New changeset 0c786d1fb372 by Berker Peksag in branch 'default':
Issue #23477: Improve test
Berker Peksag added the comment:
Thanks for the patch, Alex.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23477
Roundup Robot added the comment:
New changeset 06d69688ea06 by Berker Peksag in branch '3.4':
Issue #23527: Update Gmail port number for STARTTLS to 587.
https://hg.python.org/cpython/rev/06d69688ea06
New changeset 9ff477cd79da by Berker Peksag in branch 'default':
Issue #23527: Update Gmail
1 - 100 of 155 matches
Mail list logo