Ilya Kulakov added the comment:
The structure hack does not work on Windows 8, x64.
--
nosy: +Ilya.Kulakov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22273
___
Marc-Andre Lemburg added the comment:
On 09.02.2015 16:17, Steve Dower wrote:
Steve Dower added the comment:
Including the one shipped in the stdlib? Python 3.5 no longer supports XP.
We normally have the platform.py module support multiple Python
versions (at least that's how we did this
David Wilson added the comment:
Attached trivial patch for whatsnew.rst.
--
Added file: http://bugs.python.org/file38058/whatsnew.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22003
___
Steve Dower added the comment:
Including the one shipped in the stdlib? Python 3.5 no longer supports XP.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19143
___
Brett Cannon added the comment:
Because stat results are cached for performance reasons, it's possible to write
to the file system and then try to read/import from it before the modification
time for the directory even picks up that there was a change. For this reason
there is
Steve Dower added the comment:
@Marc-Andre: Okay, I'll make it easier to backport. You're listed as maintainer
- would you like me to post updates here and let you merge them in?
@Mark - yep, I'm aware of that. That's how I know that 3.5 doesn't support XP
anymore :) (I think we're even past
Daniel Harding added the comment:
@Zach - thanks for the review. Sorry that it has taken a few months to pick
this issue back up. Anyway, here is an updated patch. It is pretty different
than the previous patch, to the point that I would consider it a completely new
patch.
Anyway, here's
Mark Lawrence added the comment:
@Steve just in case you didn't know the rules are given here
https://www.python.org/dev/peps/pep-0011/#microsoft-windows. I find it a
nuisance that you have to follow an external link to get the status of Python,
but maybe it's the lesser of two evils? An
Thomas Kluyver added the comment:
Would anyone like to do further review of this - or commit it ;-) ?
I don't think anyone has objected to the concept since I brought it up on
python-ideas, but if anyone is -1, please say so.
--
___
Python tracker
許邱翔 added the comment:
Attached factored patch for tests.
It looks much better. :)
--
hgrepos: +299
Added file:
http://bugs.python.org/file38079/add_tarfile_cli_filetype_test_refactor.patch
___
Python tracker rep...@bugs.python.org
Martin Panter added the comment:
This should demonstrate that Curl does parse literal slashes in the username
and password fields:
$ http_proxy=http://user/name:pass/word@localhost:22 curl -v http://example.net/
* Trying ::1...
* Connected to localhost (::1) port 22 (#0)
* Proxy auth using
Martin Panter added the comment:
Good idea to move this to somewhere more visible and obvious. I would have been
using parse_header() much earlier if I had known it existed.
However, maybe it would be better off in the “email.message” module. The rest
of the “email.header” module only seems
eryksun added the comment:
This isn't a Python bug. The Windows console doesn't properly support UTF-8.
See issue 1602 and Drekin's win-unicode-console, an alternative REPL based on
the wide-character (UCS-2) console API.
FWIW, I attached a debugger to conhost.exe under Windows 7 to inspect
Martin Panter added the comment:
Have you seen the code review comments on the Rietveld,
https://bugs.python.org/review/23342? (Maybe check spam emails.) Many of the
comments from the earlier patches still stand. In particular, I would like to
see the “input” default value addressed, at least
Martin Panter added the comment:
Mapping out-of-range ports to None was added in Issue 14036, though I don’t
understand why that approach was taken instead of raising ValueError. Here is a
patch to raise ValueError for out-of-range integer values instead.
--
keywords: +patch
Added
Roundup Robot added the comment:
New changeset ab2e79c6cf6b by Benjamin Peterson in branch '3.3':
add overflow checking (closes #23361)
https://hg.python.org/cpython/rev/ab2e79c6cf6b
New changeset b82cc9180a78 by Benjamin Peterson in branch '3.4':
merge 3.3 (#23361)
Martin Panter added the comment:
See Issue 20059 proposing to change this to raise ValueError
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14036
___
New submission from ww0115:
I recently downloaded Python 3.4 on my Mac (running on Yosemite 10.10.2) and
every time I try and open Idle, the icon just keeps jumping and the application
never opens. When I click on the icon after it stops jumping it just says
Application Not Responding. I've
Robert Collins added the comment:
I'm idealogically opposed to polymorphic interpretation of args :)
Antoine, will you be ok with one __init__ and one classmethod?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17911
Jeff Hammel added the comment:
A few observations in passing. I beg your pardon for not commenting after a
more in depth study of the issue, but as someone that's written and managed
several subprocess module front-ends, my general observations seem applicable.
subprocess needs easier and
許邱翔 added the comment:
s/factored/refactored/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23421
___
___
Python-bugs-list mailing list
Martin Panter added the comment:
Issue 15310 appears to have a more thorough patch
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13323
___
New submission from Brett Cannon:
* Link to the function from importlib.__import__()
* Link to importlib.invalidate_caches()
* Linkify mention in docs for importlib.util.find_spec()
--
assignee: brett.cannon
components: Documentation
messages: 235616
nosy: brett.cannon
priority: low
New submission from Mark Baker:
The list of XPath supported features in section 20.5.2.2. Supported XPath
syntax on page https://docs.python.org/3.4/library/xml.etree.elementtree.html
does not list the use of a predicate based on an element value (it only list
predicates based on an attribute
Mikhail Korobov added the comment:
Shouldn't this fix be mentioned in
https://docs.python.org/3.5/whatsnew/3.5.html#optimizations ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22003
Berker Peksag added the comment:
LGTM.
--
nosy: +berker.peksag
stage: - commit review
versions: +Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23418
___
許邱翔 added the comment:
Here is the tests.
--
hgrepos: +298
Added file: http://bugs.python.org/file38059/add_tarfile_cli_filetype_test.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23421
Serhiy Storchaka added the comment:
In general LGTM, but I have added few nitpicks on Rietveld.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23421
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23421
___
___
Larry Hastings added the comment:
Attached for your reading pleasure.
--
keywords: +patch
Added file:
http://bugs.python.org/file38060/larry.add-to-pydotorg.exe.support.1.diff
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1776674
___
___
Python-bugs-list mailing list
Davin Potts added the comment:
Thank you for the provided test case but because it depends upon compiled code
(the libsvm.so.2 file you supplied) it:
(1) makes me wonder if the issue might not arise from an issue inside the
supplied library (perhaps it was not rebuilt properly on your Ubuntu
Martin Panter added the comment:
If changing the log format, you might also want to update the comment at the
top of Lib/http/server.py:53. It seems the original format was imitating
https://en.wikipedia.org/wiki/Common_Log_Format, except the timestamp is
slightly different.
--
Martin Panter added the comment:
If it were me, I’d drop the Notes and Warnings (never been a fan), and put
Thing #2 first, and then Thing #1. Maybe something like
'''
sys.exit([arg])
Exit from Python. . . . and it is possible to intercept the exit attempt at an
outer level. When called from
Thomas Kluyver added the comment:
Aha, I hadn't seen any of those. They had indeed been caught by the spam
filter. I'll look over them now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23342
Thomas Kluyver added the comment:
Fourth version of patch, responding to review comments on Rietveld. The major
changes are:
- Eliminated the corner case when passing input=None to run() - now it's a real
default parameter. Added a shim in check_output to keep it behaving the old way
in case
New submission from Martin Panter:
I propose changing the socket servers to not suppress exceptions that are meant
to exit the interpreter. This is most applicable to single threaded servers,
but my patch does the same thing for multithreading servers. It no longer
catches exceptions that are
Roundup Robot added the comment:
New changeset 2a06379f6562 by Serhiy Storchaka in branch '3.4':
Issue #23421: Fixed compression in tarfile CLI. Patch by wdv4758h.
https://hg.python.org/cpython/rev/2a06379f6562
New changeset 5b70eb1cfad0 by Serhiy Storchaka in branch 'default':
Issue #23421:
Serhiy Storchaka added the comment:
Thank you for your contribution.
--
resolution: - fixed
stage: test needed - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23421
Panagiotis Issaris added the comment:
RFC3986 seems to state that a '/' character should be encoded:
...
reserved= gen-delims / sub-delims
gen-delims = : / / / ? / # / [ / ] / @
sub-delims = ! / $ / / ' / ( / )
/ * / + / , / ; / =
...
The user information, if present,
New submission from Grzegorz Abramczyk:
Inputing some Unicode characters (like 'łąśćńó...') causes interactive session
to abort.
When console session is set to use UTF-8 code page (65001) after diacritic
character appears in string the session abruptly ends. Looking into debug
output it
Changes by Neil Girdhar mistersh...@gmail.com:
Added file: http://bugs.python.org/file38062/starunpack31.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
___
New submission from albertjan:
getlocale() is supposed to (?) return a locale two-tuple in a platform-specific
notation. However, in *Windows* 7 64, with Python 3.4, 3.3 and 2.7 a
*unix-like*, abbreviated, lang_territory notation is used for french, german,
portuguese, spanish. In other
Andy Reitz added the comment:
Sure, but the question is who should do the encoding -- the user, or python? I
think it would be better for python to read the password from the environment
variable, and encode it before using it. I think this is what users expect.
--
New submission from Jan-Philip Gehrcke:
When Python is invoked with the `-c command` switch, the command string does
not get exposed in sys.argv:
$ python -c import sys; print(sys.argv)
['-c']
$ python -c import sys; print(sys.argv) arg1
['-c', 'arg1']
The command string does
New submission from Alexander Belopolsky:
With the following simple setup.py
$ cat setup.py
from distutils.core import setup
from distutils.command.install import install
class install1(install):
sub_commands = install.sub_commamnds
setup(name='bug', cmdclass={'install': install1})
I
Jan-Philip Gehrcke added the comment:
I'd love to find an agreement here. I think we are quite close to getting this
closed, so further input is very welcome.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file38067/issue23426.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23426
Alexander Belopolsky added the comment:
Attached patch fixes both issues.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23426
___
___
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
Added file: http://bugs.python.org/file38063/setup.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23426
___
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
Added file: http://bugs.python.org/file38064/setup1.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23426
___
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
Added file: http://bugs.python.org/file38066/setup.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23426
___
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
Removed file: http://bugs.python.org/file38063/setup.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23426
___
Jan-Philip Gehrcke added the comment:
Can these super-small doc patches get applied or should we change something?
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20709
___
New submission from Serhiy Storchaka:
Proposed patch makes faster default __reduce__ implementation for the case when
there is no non-trivial __init__ defined (e.g. for named tuples). In this case
__reduce__ will return (cls, newargs) instead of (copyreg.__newobj__, (cls,) +
newargs).
Robert Kuska added the comment:
Sorry for the late answer, I forgot about this issue.
3.2.1 doesn't contain required fix(sorry for the misleading suggestion 'or
update bundled libffi' from report) but master branch at upstream repo
(https://github.com/atgreen/libffi) does.
--
New submission from Robert Kuska:
Originaly reported here: https://bugzilla.redhat.com/show_bug.cgi?id=1160640
I've forgotten to add the sort value to the -s option of cProfile which results
in a traceback instead of user friendly error message. In the example below
hello.py just prints a
Changes by Alexei Romanov drednout...@gmail.com:
--
nosy: +alexei.romanov
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22273
___
Martin Panter added the comment:
I think calling shutdown_request(), or at least close_request(), should be done
regardless of whether handle_error() fails or not.
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
No need to use libmagic. tarfile.TarFile.gzopen() should fail if the file is
not gzipped tar file. There CLI tests in Lib/test/test_tarfile.py. New test
should create tar file with file name that ends with the '.gz' extension and
check that it can be open
Steve Dower added the comment:
We're already tracking this at #19143, where I've got a future proofed version
of the function. Thanks for the prod though, I'll try and get some action going
again.
--
resolution: - duplicate
status: open - closed
superseder: - Finding the Windows
Steve Dower added the comment:
(Was reminded about this by #23417)
Any word on the back compat issues in platform.py? Can we make the version in
3.5 only work with Vista+, or do I need to handle XP in case someone takes the
file onto an earlier Python version?
--
許邱翔 added the comment:
Oh, I can use it.
thx
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23421
___
___
Python-bugs-list mailing list
New submission from STINNER Victor:
Python 3.5 now requires a monotonic clock to start and has the C function
_PyTime_monotonic().
Python/condvar.h and Python/thread_pthread.h should use the monotonic clock
CLOCK_MONOTONIC, not the system clock CLOCK_REALTIME. See the PEP 418 for the
STINNER Victor added the comment:
Python/condvar.h and Python/thread_pthread.h should use the monotonic clock
CLOCK_MONOTONIC
Oh, I forgot that Python/thread_pthread.h only uses pthread_cond_timedwait() if
semaphores are emulated with mutexes+conditional variables.
On most platforms,
Benjamin Peterson added the comment:
For starters, it would be nice if the patch didn't make unrelated style changes
(e.g. in compile.c). I also Call arguments should be unified into one list
rather than distinguishing between keywords and args anymore.
--
nosy: +benjamin.peterson
STINNER Victor added the comment:
cond_timedwait_monotonic.patch: Work-in-progress patch. It doesn't change
configure.ac yet to check if pthread_condattr_setclock() is supported (with
CLOCK_MONOTONIC).
--
keywords: +patch
Added file:
Demian Brecht added the comment:
Thanks for the catch Martin, it definitely wasn't intended. I've added a patch
to fix the issue and add the extra description as suggested by Ethan.
--
Added file: http://bugs.python.org/file38068/issue21793_logfix.patch
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +doko, meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23249
___
___
Python-bugs-list
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23428
___
___
New submission from Justin:
C:\Users\Justinpython
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:15:05) [MSC v.1600 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
print(-5**4)
-625
#note...this should be 625 and not a negative 625
--
Martin Panter added the comment:
Jeremy’s patch appears to have been merged in revision 9eceb618274a. A
documentation entry for the HTTPMessage class was also added in 2009, pointing
back to email.message.Message. So is there anything left to do for this issue?
--
nosy: +vadmium
Changes by Robert Kuska rku...@gmail.com:
Added file: http://bugs.python.org/file38055/sort-choices.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23420
___
Serhiy Storchaka added the comment:
Thank you for your patch. Could you provide tests?
--
nosy: +berker.peksag, serhiy.storchaka
stage: - test needed
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23421
許邱翔 added the comment:
yes
just wanna know is there a standard way to get file type by libmagic ?
--
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23421
___
Changes by 許邱翔 wdv47...@gmail.com:
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23421
___
___
Python-bugs-list mailing
Alexander Belopolsky added the comment:
Added tests.
--
stage: - test needed
Added file: http://bugs.python.org/file38071/issue23426-with-tests.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23426
Martin Panter added the comment:
To comply with the RFC on URLs, whoever is setting the environment variable
_should_ do the encoding, and then Python will _decode_ it. But I suspect this
case is more about how Python should handle an environment variable that hasn’t
been encoded correctly.
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
stage: test needed - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23426
___
paul added the comment:
ping
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23361
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Robert Kuska rku...@gmail.com:
Added file: http://bugs.python.org/file38054/sort-choices.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23420
___
New submission from wdv4758h:
The command python -m tarfile -c test.tar.bz2 test/ should create a file that
is compressed by bzip2,
but actually the detection of compression algorithm that should be used is
broken (for gz, xz, bz2).
fix it by prepending a dot to the keys of the dictionary
Etienne Robillard added the comment:
sometimes urllib break at different packages, with SSL:
CERTIFICATE_VERIFY_FAILED message. It seem related to the new ssl.py
backport and pip.
sudo python setup.py install --prefix=/usr/local
Downloading
Serhiy Storchaka added the comment:
Unary minus has less priority than power operator. -5**4 is equal to -(5**4),
not (-5)**4.
--
nosy: +serhiy.storchaka
resolution: - not a bug
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
This issue looks to be a duplicate of the issue #1602: windows console doesn't
print or input Unicode. It's a limitation of Windows, not of Python itself.
Python supports any Unicode character if the output is written in a file
(encoded in UTF-8).
Neil Girdhar added the comment:
Thank you, Benjamin.
It's my nature to keep code consistent/clean, but I realize that I can get
carried away. Should I revert all incidental PEP 7 style changes?
Regarding the args/keywords, where do you mean? If you're talking about
compile.c, we can't
STINNER Victor added the comment:
sys.argv must not be changed. It would break too many Python applications.
*If* we decide to expose the command line parameter in Python, we can
add a new variable like sys.command for example. command name in
used in the C code of Python, and also comes from c
Benjamin Peterson added the comment:
On Mon, Feb 9, 2015, at 18:15, Neil Girdhar wrote:
Neil Girdhar added the comment:
Thank you, Benjamin.
It's my nature to keep code consistent/clean, but I realize that I can
get carried away. Should I revert all incidental PEP 7 style changes?
Neil Girdhar added the comment:
Removed incidental PEP 7 changes and reran tests.
--
Added file: http://bugs.python.org/file38070/starunpack32.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
Marc-Andre Lemburg added the comment:
On 09.02.2015 15:14, Steve Dower wrote:
Steve Dower added the comment:
(Was reminded about this by #23417)
Any word on the back compat issues in platform.py? Can we make the version in
3.5 only work with Vista+, or do I need to handle XP in case
Martin Panter added the comment:
Adding a patch implementing my suggested enhancement
--
keywords: +patch
versions: +Python 3.5
Added file: http://bugs.python.org/file38076/split-result-default.patch
___
Python tracker rep...@bugs.python.org
Davin Potts added the comment:
Attached are proposed patches for default (3.5), 3.4, and 2.7 branches. (The
patch for 3.4 is identical to that for 3.5 so there are only two files in total
being attached.)
Regarding the exception being raised:
* An ImportError is now consistently being raised
Senthil Kumaran added the comment:
In the initial report, I thought, it was mentioned that curl reads the same
http_proxy variable properly. It will be good to have a correct curl test case
to ascertain that.
But, at all the places, where @ character is allowed in urls (netrc, git
configs,
Davin Potts added the comment:
To be clear, the changes to 2.7 are exclusively in the documentation. Changes
to 3.4 and default (3.5) are in both documentation and code.
--
Added file: http://bugs.python.org/file38078/issue23400_py27.patch
___
94 matches
Mail list logo