Serhiy Storchaka added the comment:
Looks reasonable. On other hand, there is the subprocess resource which
currently is not used in any test.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22263
A. Libotean added the comment:
I'm not sure that it's a leak because it doesn't depend on the number of
queries nor the number of run of the test. It's maybe an internal sqlite
cache.
You're right, the leak does not increase past ~300 queries executed.
--
Geert Jansen added the comment:
Updated patch. Contains:
* An owner attribute on a _ssl.SSLSocket that is used as the first argument
to the SNI servername callback (implemented as a weakref).
* Documentation
I think this covers all outstanding issues that were identified. Antoine,
please
Nick Coghlan added the comment:
If you have:
curdir
/subdir
__main__.py
Then in 3.3+, both of the following will work:
python3 subdir
python3 -m subdir
They do slightly different things, though.
In the first case, subdir will be added to sys.path, and then python will
Thomas Kluyver added the comment:
I spotted a few others as well. When I get a bit less busy in a couple of weeks
time, I intend to go through and make a bigger patch to clean things up.
--
___
Python tracker rep...@bugs.python.org
Miki Tebeka added the comment:
Support for directory invocation as well.
--
Added file: http://bugs.python.org/file36476/prog3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22240
___
New submission from João Guerra:
Both fnmatch and glob support the */ glob. However, pathlib does not seem to
handle this kind of globs correctly.
dir = Path(/a/directory/)
file = Path(/a/file)
print(dir.match(*/)) # True
print(file.match(*/)) # True
The / is being discarded by the match,
New submission from Cristian Consonni:
Hello,
I would like to propose a patch for the webbrowser module to actively suppress
any output (both on stdout and stderr) from the module itself.
At the moment, doing a quick internet search, the best approximation to obtain
this kind of behavior
Nikolay Bogoychev added the comment:
Hey,
Just a friendly reminder that the patch is pending for review and there has
been no activity for 3 months (:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16099
R. David Murray added the comment:
This seems like a good idea, based on the use case presented in the
stackoverflow question.
This would be an enhancement, so it can only go in 3.5.
Please submit a patch without the pep 8 changes, so we can easily see what the
patch is actually changing.
Antoine Pitrou added the comment:
Instead of a complex structure, we can use a 64-bit signed integer to store a
number of nanoseconds.
Do we have 64-bit integers on all architectures?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Martin v. Löwis added the comment:
Am 26.08.14 15:32, schrieb Antoine Pitrou:
Antoine Pitrou added the comment:
Instead of a complex structure, we can use a 64-bit signed integer to store
a number of nanoseconds.
Do we have 64-bit integers on all architectures?
On all supported
STINNER Victor added the comment:
Do we have 64-bit integers on all architectures?
That's a good question! Visual Studio provides __int64. GCC provides long
long (64 bit on 32 bit platform). I guess that ICC also supports int64_t.
It would be a shame to not support 64-bit integers in 2014,
Cristian Consonni added the comment:
Hi David,
thanks for your feedback.
The parameters' name are indeed stdout and stderr as the one used by
subprocess.Popen().
Here's the patch file without the pep 8 modifications.
Thanks,
Cristian
--
Added file:
R. David Murray added the comment:
What I meant was the any *other* value follows the subprocess documentation
part. I think it would be better to have *all* the values follow the
subprocess documentation.
--
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +pitrou
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22276
___
New submission from Demian Brecht:
Reported by Stefan Behnel in issue22118:
I'm now getting duplicated slashes in URLs, e.g.:
https://new//foo.html
http://my.little.server/url//logo.gif
In both cases, the base URL that gets joined with the postfix had a trailing
slash, e.g.
Changes by Demian Brecht demianbre...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file36479/issue22278.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22278
___
New submission from Jack O'Connor:
BufferedIOBase and related classes have a read(n) and read1(n). The first will
wait until n bytes are available (or EOF), while the second will return as soon
as any bytes are available. In asyncio.StreamReader, there is no read1 method,
but the read method
Guido van Rossum added the comment:
Good point. I think I had forgotten how BufferedIOBase worked... :-(
I believe we should just change this -- Victor, what do you think?
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 5c585929658a by Stefan Krah in branch '3.4':
Issue #22090: Fix '%' formatting for infinities and NaNs.
http://hg.python.org/cpython/rev/5c585929658a
New changeset 37ebb0d44808 by Stefan Krah in branch '2.7':
Issue 22090: Fix '%' formatting for
Changes by Stefan Krah stefan-use...@bytereef.org:
--
components: +Library (Lib)
resolution: - fixed
stage: - resolved
status: open - closed
versions: +Python 2.7, Python 3.4
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
Looks like there is a bug of some sort, eg:
http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.4/builds/466
--
nosy: +r.david.murray
status: closed - open
___
Python tracker
Stefan Krah added the comment:
I think only the builders --with-system-libmpdec fail. That's inevitable,
since they still use libmpdec-2.4.0.
Starting from 7fbb912c0789 they should fail building _decimal entirely until I
upgrade the system libmpdec on the builders.
--
Xavier de Gaye added the comment:
This issue can be closed.
After changeset 7bc53cf8b2df by Zachary Ware in issue 22104:
./python -m test -R3:3 test_statistics
is ok now.
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
Ned Deily added the comment:
Can we close this issue then?
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22272
___
___
Changes by Ned Deily n...@acm.org:
--
nosy: +orsenthil, pitrou
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22278
___
___
New submission from Stefan Krah:
This may be related to PEP 451: Previously, if the _decimal.so build
failed for whatever reason, decimal.py would be used instead. For that
to work, importing _decimal needs to fail.
But now the import is successful:
# Simulate build failure:
rm
Stefan Krah added the comment:
It seems _decimal is imported even if _decimal.so is not built.
I've opened #22280 for that.
Regarding this patch, everything looks fine to me.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
Guido, what do you mean by changing this? Rename methods? What about the
backward compatibility? Is it possible that an application written with the
read1 behaviour blocks if read(n) waits for exactly n bytes?
I like the idea of having the same names in io and
Stefan Krah added the comment:
The effect can also be seen on the two buildbots that currently fail
to build _decimal due to a libmpdec version mismatch:
http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/7088/steps/test/logs/stdio
--
keywords:
R. David Murray added the comment:
As long as you have a plan to get the buildbots fixed in a timely fashion.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22090
___
R. David Murray added the comment:
(To be clear, I'm talking about the stable buildbots :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22090
___
Guido van Rossum added the comment:
Oh, I just checked the docs. io.BufferedIOBase.read(size) is more complicated
than I (or Jack) thought -- it can return a short read if the underlying raw
stream is interactive. The subclass io.BufferedReader uses the definition
preferred by Jack (though
Martin Panter added the comment:
Any reason why characters 1C–1E are excluded?
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12855
___
Stefan Krah added the comment:
I'm not sure that I understand. IMHO this issue does not break any buildbots.
The current situation is that it exposes an unrelated import issue (#22280).
I can camouflage that issue by upgrading the FreeBSD and the Fedora bot to
libmpdec-2.4.1 (once it's out),
Robert Collins added the comment:
I think we rather need a test that using a load_tests hook to recursively load
and transform a subdir works. Hacking on that now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16662
New submission from Dan O'Reilly:
As initially discussed on python-ideas, it would be nice if there was a way to
query the concurrent.futures Executor objects for information about their
internal state - number of total/active/idle workers, number of
total/active/waiting tasks, which tasks
Changes by Dan O'Reilly oreil...@gmail.com:
Added file: http://bugs.python.org/file36481/exectest.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22281
___
Guido van Rossum added the comment:
Also, I'm not too fond of the read1()/read() dichotomy. I was pretty much
forced into it because Python 2 streams implemented read() using the libc
fread() function, which has this behavior -- but in general I find the UNIX
read() syscall more convenient,
Robert Collins added the comment:
Ok, implementation I'm happy with is up in
https://bitbucket.org/rbtcollins/cpython/commits/bbf2eb26dda8f3538893bf3dc33154089f37f99d
--
hgrepos: +269
Added file: http://bugs.python.org/file36482/16662_passing_tests.diff
Changes by Claudiu Popa pcmantic...@gmail.com:
--
nosy: +Claudiu.Popa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22281
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset b671092e08fa by Terry Jan Reedy in branch '3.4':
Issue #22065: Menus, unlike Menubottons, do not have a state option.
http://hg.python.org/cpython/rev/b671092e08fa
--
___
Python tracker
Terry J. Reedy added the comment:
Before the patch, the Examples menu was disabled while a demo was running by
setting the Menubutton state to DISABLED versus NORMAL. This does not work for
the cascaded Menu. The result was buggy behavior when loading a new demo while
the previous one was
Roundup Robot added the comment:
New changeset a94d9c981461 by Terry Jan Reedy in branch '3.4':
Issue #22065: Remove the now unsed configGUI menu parameter and arguments.
http://hg.python.org/cpython/rev/a94d9c981461
--
___
Python tracker
45 matches
Mail list logo