Martin Panter added the comment:
It seems to me that raising OSError isn’t quite right. Either the error is more
of an internal programmer error, like how writing to a closed file object
raises ValueError, or there should not be an error, like when the process has
terminated but has not been
Changes by Martin Panter vadmium...@gmail.com:
--
components: +Library (Lib) -Interpreter Core
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6973
___
New submission from Jurko Gospodnetić:
If you have an optional nargs=argparse.REMAINDER argument defined
then, if specified, its value should contain all the remaining command-line
content. However, it seems that value does not include later '--' arguments.
For example, the following works as
Jurko Gospodnetić added the comment:
Might be related to the following issues:
http://bugs.python.org/issue9571
http://bugs.python.org/issue13922
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3
Serhiy Storchaka added the comment:
Looks good. But writestr() should be updated too. Some users use it to add a
directory to ZIP file. Here is a patch with tests. It also changes attributes
of regular file added by writestr().
--
stage: test needed - patch review
versions: -Python
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20912
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
stage: - needs patch
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20797
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 2.7, Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19883
___
New submission from Alexander Patrakov:
I could not access http://docs.python.org/ from work today. Upon investigation,
it appears that the ISP has blocked all sites on the IP address 185.31.17.175,
because of the court order unrelated to docs.python.org. Many other ISPs in
Russia also don't
Christian Heimes added the comment:
Dmitry Chestnykh has pointed me to https://antizapret.info/site.php?id=5903
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4
Robert Kuska added the comment:
Hi everyone,
I went ahead and I've applied ssl-backport.diff (alex, 2014-08-07 18:49) patch
into Python 2.7.8 on Fedora Rawhide (currently only scratch build).
My report:
Firstly, I've encountered seg fault, I fixed this with patch from
Serhiy Storchaka added the comment:
list or tuple (of such strings.) Can we say 'sequence' (or even set or
iterable) or is the requirement specifically tuple or list?
No. The call() method accepted only tuples, and since issue21525 it now
supports lists.
Does tk call the traceback
Donald Stufft added the comment:
Just a FYI, I've let Fastly know about this.
--
nosy: +dstufft
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12067
___
___
Georg Brandl added the comment:
Not much more we can do from here.
--
nosy: +georg.brandl
resolution: - third party
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4
Changes by Bastien Montagne b.mon...@gmail.com:
--
nosy: +mont29
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17797
___
___
Python-bugs-list
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17797
___
___
Python-bugs-list
Marco Paolini added the comment:
I finally wrapped my head around this. I wrote a (simpler) script to get a
better picture.
What happens
-
When a consumer task is first istantiated, the loop holds a strong reference to
it (_ready)
Later on, as the loop starts, the consumer task
Serhiy Storchaka added the comment:
The patch appears to change it to 2 in tkinter/__init__.py.
This is for development only. You can apply the patch and test how new mode
affects IDLE or other applications.
One thing slightly puzzles me: the current PythonCmd is used in a call to
Marc-Andre Lemburg added the comment:
It looks like the IP address is being used by some viruses/trojans:
https://www.virustotal.com/en/ip-address/185.31.17.175/information/
It may help using e.g. b.global-ssl.fastly.net as CNAME for docs.python.org
(e.g. by adding it to the /etc/hosts).
Steve Dower added the comment:
It should be fixable. In general, Unicode in the console is fine, but the CRT
doesn't handle it well (as shown by the _setmode extension being able to fix
it).
The 'correct' fix for Unicode in the console is at
http://www.siao2.com/2010/04/07/9989346.aspx and
Guido van Rossum added the comment:
I'm all in favor of documenting that you must keep a strong reference to a
task that you want to keep alive. I'm not keen on automatically keep all
tasks alive, that might exacerbate leaks (which are by definition hard to
find) in existing programs.
On Mon,
Marco Paolini added the comment:
Asking the user to manage strong refs is just passing the potential
leak issue outside of the standard library. It doesn't really solve anything.
If the user gets the strong refs wrong he can either lose tasks or
leak memory.
If the standard library gets it
Guido van Rossum added the comment:
So you are changing your mind and withdrawing your option #1.
I don't have the time to really dig deeply into the example app and what's
going on. If you want to help, you can try to come up with a patch (and it
should have good unit tests).
I'll be on
Marco Paolini added the comment:
So you are changing your mind and withdrawing your option #1.
I think option #1 (tell users to keep strong refs to tasks) is
OK but option #2 is better.
Yes, I changed my mind ;)
--
___
Python tracker
Alex Gaynor added the comment:
Thanks for testing this out Robert! The attached patch fixes the error you saw.
--
Added file: http://bugs.python.org/file36407/ssl-backport.diff
___
Python tracker rep...@bugs.python.org
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22197
___
___
New submission from Demian Brecht:
This is a proposal for adding SQLite support to http.cookiejar. I've been
working on an implementation for MozillaSQLiteCookieJar and
GoogleSQLiteCookieJar (initial patch will likely only include Mozilla) but
wanted to make sure that the addition has buy-in
Akira Li added the comment:
#7951 has an interesting debate on negative indexes that is possibly
applicable here.
Mark could you point to a message that explains why p.parents[-2] is worse
than p.parents[len(p.parents)-2]?
--
___
Python tracker
Marco Paolini added the comment:
Submitted a first stab at #2. Let me know what you think.
If this works we'll have to remove the test_gc_pending test and then maybe even
the code that now logs errors when a pending task is gc'ed
--
Added file:
Mark Lawrence added the comment:
msg216038 suggests three options for the doc patch, does anybody have any
preference or a better alternative?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7951
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7511
___
___
Python-bugs-list
Mark Lawrence added the comment:
I'm assuming that the 2.7 patch is still valid but have no idea whether or not
any work is needed on 3.4 or 3.5.
--
nosy: +BreamoreBoy, zach.ware
versions: +Python 3.5 -Python 3.2, Python 3.3
___
Python tracker
Steve Dower added the comment:
There is other work going on that will make the patches unnecessary. One
problem is that vcvarsall.bat isn't where msvc9compiler.py is looking, which
can be fixed with monkey patching in setup.py or in setuptools. The other
problem is that VC9 is hard to get
Ben Roberts added the comment:
Attached is a patch that adds a 'global' kwarg to the Timeit constructor, which
does pretty much what it says on the tin: specifies a global namespace that
exec() will use.
I originally had a 'locals' arg as well (to mirror the signature of eval/exec),
but
Ben Roberts added the comment:
Correction, the name of the argument is 'globals', not 'global'.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2527
___
Stefan Krah added the comment:
I guess it's the right thing to do and here's a patch. Could one of you double
check the decimal.py part?
--
keywords: +patch
Added file: http://bugs.python.org/file36410/issue22090.diff
___
Python tracker
John Beck added the comment:
Ned: yes, I can confirm that the patch from http://bugs.python.org/issue21166
does indeed fix the problem. Thank you very much!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21412
Martin Panter added the comment:
I ran into this today, trying to do “help(os)”. The workaround was to do
“import posix; help(posix)”.
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18554
Changes by Senthil Kumaran sent...@uthcode.com:
--
resolution: - fixed
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22165
___
Changes by Senthil Kumaran sent...@uthcode.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22165
___
___
Nick Coghlan added the comment:
After a question from Brandon Rhodes, I noticed that ThreadPool is actually
listed in multiprocess.pool.__all__.
So rather than doing anything more dramatic, we should just document the
existing multiprocessing feature.
As Richard says, the concurrent.futures
Larry Hastings added the comment:
So, let's think about this for a minute. What's the API that we *want* here?
If your function has the signature
(a, b, c=20, *args)
and you call it with
(1, 2, 3, 4, 5)
should args be (4, 5), or (1, 2, 3, 4, 5)?
I assert that the impl function should
43 matches
Mail list logo