Christian Ullrich added the comment:
According to procmon, ensurepip first installs the bundled packages in $TEMP,
then moves the resulting files to the Python installation directory. According
to http://support.microsoft.com/kb/310316, a file that is moved within the same
volume keeps its
Nick Coghlan added the comment:
I don't actually know the internal details of the GC - adding Antoine based on
the list of interested devs for the gc module.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Stefan Behnel added the comment:
catalog = xml.etree.ElementTree.parse('books.xml')
# This succeeds
for book in catalog.findall('book'):
print(book.tag)
This is a bit of a convenience break in the API. The normal way to do it
would be either catalog.getroot().findall('book')
Martin v. Löwis added the comment:
I agree with the analysis. Notice that this may sound worse than it is: even if
a regular user could run pip, they still couldn't install anything. As users
will have to get an elevated prompt, anyway, when running pip, they typically
won't notice the
Christian Ullrich added the comment:
Unprivileged users cannot install into the global site-packages, but they might
want to use the global pip to install with --user.
Also, this issue affects not only pip, but also the other bundled packages,
i.e. setuptools and pkg_resources.
--
New submission from Xavier de Gaye:
The following output of settrace.py shows that the Tracer trace function is
still called in foo() after the New_tracer trace function has been installed
with sys.settrace() from within the trace function itself, and even though
f_trace has been set on all
New submission from Jurko Gospodnetić:
In the Python documentation note:
http://docs.python.org/3.4/library/venv.html#venv-def
the paragraph:
Common installation tools such as Distribute and pip work
as expected with venvs - i.e. when a venv is active, they
install Python packages into
Ronald Oussoren added the comment:
I didn't get this on my previous system (which was basically a 10.4 system
updated through 10.5, 10.7, ..., to 10.9), but did get it on my current system,
which has a fresh 10.9 install where I did not use the migration assistent to
migrate settings.
Thus
Ronald Oussoren added the comment:
With the following C code:
#include locale.h
#include stdio.h
int main(void)
{
char* res = setlocale(LC_CTYPE, UTF-8);
printf(Result: %s\n, res);
res = setlocale(LC_CTYPE, UTF-9);
printf(Result: %s\n, res);
return 0;
}
STINNER Victor added the comment:
According to the manual page, there is no guarantee that missing user and error
give a different result. Extracts of the manual page.
Return Value
The getpwnam() and getpwuid() functions return a pointer to a passwd structure,
or NULL if the matching entry
Changes by STINNER Victor victor.stin...@gmail.com:
--
status: languishing - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8449
___
___
STINNER Victor added the comment:
Victor, is here anything left to do?
The bug is correctly fixed in default. I don't really care of fixing such
warning of static analyzer in older Python versions. It's more a theorical bug,
it's a small memory leak and only occur if another error occurs. I
STINNER Victor added the comment:
It's not really a bug, Python behaves badly when you pass invalid parameters.
Campbell was asked to update his patch but he didn't 2 years later. So I just
close the issue. Reopen a new issue with an updated patch if you want a nice
exception message instead
Michel Albert added the comment:
It seems the contributor agreement form has been processed. As I understand it,
the asterisk on my name confirms this.
I also verified that this patch cleanly applies to the most recent revision.
--
___
Python
Michel Albert added the comment:
Hi again,
The contribution agreement has been processed, and the patch still cleanly
applies to the latest revision of branch `default`.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20825
Roundup Robot added the comment:
New changeset 619331c67638 by Richard Oudkerk in branch '3.4':
Issue #20990: Fix issues found by pyflakes for multiprocessing.
http://hg.python.org/cpython/rev/619331c67638
--
nosy: +python-dev
___
Python tracker
R. David Murray added the comment:
That is seriously broken on Apple's part. But I guess we have no choice but to
emulate their bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18378
Michel Albert added the comment:
Sorry for the late reply. I wanted to take some time and give a more detailed
explanation. At least to the best of my abilities :)
I attached a zip-file with my quick-and-dirty test-rig. The zip contains:
* gendata.py -- The script I used to generate
R. David Murray added the comment:
I read that first paragraph as the controlling one, and that says that errno
will be zero if the problem was that the entry could not be found, and non-zero
if some other error occurred.
Raising an error would be a backward incompatible change, so it could
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21031
___
___
Python-bugs-list
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: - ronaldoussoren
components: +Macintosh
nosy: +ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21035
___
Nick Coghlan added the comment:
The current approach is also likely to cause problems under SELinux.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21030
___
Nick Coghlan added the comment:
Solution 1 will also handle the SELinux case (copy and then delete original).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21030
___
Antoine Pitrou added the comment:
Intuitively: no TCP ports available left?
Have you tried connecting from another client when the hang happens?
Have you tried tracing what happens in the server? (is the incoming connection
accepted?)
--
nosy: +ned.deily, pitrou
New submission from Charles-François Natali:
The title says it all: in Modules/hashtable.c, the macro name is
_PY_HASHTABLE_ENTRY_DATA instead of _Py_HASHTABLE_ENTRY_DATA.
Should this be fixed in 3.4?
--
components: Extension Modules
messages: 214570
nosy: haypo, neologix
priority:
Roundup Robot added the comment:
New changeset df6a6951b2c9 by Richard Oudkerk in branch '3.4':
Issue #20980: Stop wrapping exception when using ThreadPool.
http://hg.python.org/cpython/rev/df6a6951b2c9
--
nosy: +python-dev
___
Python tracker
Roundup Robot added the comment:
New changeset 0b2814fc53ae by Richard Oudkerk in branch '3.3':
Issue #20633: Replace relative import by absolute import.
http://hg.python.org/cpython/rev/0b2814fc53ae
--
nosy: +python-dev
___
Python tracker
STINNER Victor added the comment:
The current code doesn't check errno, but if the result is NULL. NULL is
returned if the user doesn't exist, or if an error occurred. But it looks
like errno is not always 0 when the user doesn't exist.
--
___
Python
Changes by Charles-François Natali cf.nat...@gmail.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
STINNER Victor added the comment:
Would it be possible to write a test?
Le dimanche 23 mars 2014, Roundup Robot rep...@bugs.python.org a écrit :
Roundup Robot added the comment:
New changeset 619331c67638 by Richard Oudkerk in branch '3.4':
Issue #20990: Fix issues found by pyflakes for
Charles-François Natali added the comment:
It's a duplicate of issue #18596, which has already been fixed.
Jeffrey, when you report an issue, please check with the latest version.
Thanks!
--
nosy: +neologix
resolution: - duplicate
stage: - committed/rejected
status: open - closed
R. David Murray added the comment:
I made some review comments. There is one bug with your patch (you dropped
some argument descriptions in one place.)
--
resolution: fixed -
stage: committed/rejected - needs patch
status: closed - open
___
Python
New submission from Charles-François Natali:
Adding a compile option to build with ASAN
(https://code.google.com/p/address-sanitizer) could allow us to catch many
memory-related errors (stack/buffer overflows, etc).
Of course, the second step would be to setup buildbots to use this flag.
Charles-François Natali added the comment:
Note that ASAN will interfere with the faulthandler's module (since it sets up
its own signal handlers), so if we were to incorporate it into the test suite,
that's something we should look after.
--
___
Changes by Andreas Schwab sch...@linux-m68k.org:
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21038
___
___
New submission from Andreas Schwab:
The extra assertion doesn't check something new and can result in spurious
testsuite failures due to the stricter condition.
--
components: Tests
files: 0001-test_epoll.TestEPoll.test_control_and_wait-remove-ex.patch
keywords: patch
messages: 214580
New submission from Hristo Venev:
Some programs' behavior is different depending on whether the path has a
trailing slash or not. Examples include ls, cp, mv, ln, rm and rsync. URL paths
may also behave differently. For example http://xkcd.com/1 redirects to
http://xkcd.com/1/
Richard Oudkerk added the comment:
For reasons we all know unpickling unauthenticated data received over TCP is
very risky. Sending an unencrypted authentication key (as part of a pickle)
over TCP would make the authentication useless.
When a proxy is pickled the authkey is deliberately
Geoffrey Spear added the comment:
This test still fails in Python 3.5 on Snow Leopard with the system ncurses; it
would be nice to at least skip the test on systems with older ncurses.
--
nosy: +geoffreyspear
versions: +Python 3.4, Python 3.5
___
R. David Murray added the comment:
Can you think of any circumstance in which getpwnam would be able to read the
file to look for the user, and yet errno is non-zero?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4261
R. David Murray added the comment:
Ah, I see. Obviously I didn't read it as carefully as I thought I had ;(.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20913
___
R. David Murray added the comment:
It's really too bad cert validation fails on that ftp site. It would be nice
to show best practices in that example. We really need that python test server
Benjamin was talking about.
--
___
Python tracker
Kathleen Weaver added the comment:
New patch
--
Added file: http://bugs.python.org/file34587/windows.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20265
___
Parto Chobeiry added the comment:
TCP ports are available - did the following while running ab against
python3.4 -m http.server:
u1@~$ while true; do netstat -an|grep tcp|wc; sleep 1; done
50 3003950
50 3003950
50 3003950
50 3003950
R. David Murray added the comment:
Well, I guess you could sum it up as -0. I personally don't feel the need for
a change, but if the chronology problem is solved and it isn't *harder* to make
the needed NEWS changes, then I'm not going to object.
--
Antoine Pitrou added the comment:
How do I trace in MacOSX? No truss or strace available...
Add print() statements to the Python stdlib code :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21035
Michel Albert added the comment:
I made the changes mentioned by r.david.murray
I am not sure if the modifications in ``Doc/whatsnew/3.5.rst`` are correct. I
tried to follow the notes at the top of the file, but it's not clear to me if
it should have gone into ``News/Misc`` or into
Roundup Robot added the comment:
New changeset c38ce7726737 by Antoine Pitrou in branch '3.4':
Issue #20913: make it clear that create_default_context() also enables hostname
checking
http://hg.python.org/cpython/rev/c38ce7726737
New changeset 015c4d785be7 by Antoine Pitrou in branch
Antoine Pitrou added the comment:
Someone interested in this issue should first check whether it still applies to
3.4 or 3.5.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1225584
___
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - haypo
versions: +Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21036
___
Antoine Pitrou added the comment:
Yes, this is by design. The occasional difference between slash-ended and
non-slash-ended paths is unexpected and potentially confusing. Moreover, it's
not a property of the OS itself - it's just some syntactic sugar to enable an
option such as resolving
Antoine Pitrou added the comment:
Closing as rejected, sorry.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21039
___
Hristo Venev added the comment:
What about OpenVMS?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21039
___
___
Python-bugs-list mailing list
Antoine Pitrou added the comment:
Can you elaborate? Python hasn't supported VMS for quite some time...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21039
___
Hristo Venev added the comment:
AFAIK paths on OpenVMS are represented in a strange way. [dir.subdir]filename
is a path for a file and [dir.subdir.anothersubdir] is a path for a directory.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
Then I'm afraid the current Path classes won't do a good job of representing
them :-)
But as I said, Python probably doesn't run on VMS anymore, so this is a rather
theoretical problem. Maybe if some day Python supports VMS again, someone can
contribute a
Hristo Venev added the comment:
Or maybe URLPath?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21039
___
___
Python-bugs-list mailing list
Antoine Pitrou added the comment:
Or maybe URLPath?
I'm skeptical about that. I think someone should first prototype a
PureURLPath and maybe publish it on PyPI.
(as for the non-pure variant, URLPath, it doesn't seem to make sense)
--
___
Python
Raymond Hettinger added the comment:
In Python 2.7, we're not changing all the 1 to True because that aren't
quite the same (True is a global and not a builtin constant).
If you see these in 3.x, we should change them all :-)
--
assignee: docs@python - rhettinger
nosy: +rhettinger
Andreas Schwab added the comment:
The attached patch has been tested on
{i586,x86_64,ppc,ppc64,ppc64le,armv6hl,armv7hl,aarch64,m68k}-suse-linux.
--
keywords: +patch
Added file: http://bugs.python.org/file34589/pyasciiobject-align.patch
___
Python
Changes by Andreas Schwab sch...@linux-m68k.org:
Removed file: http://bugs.python.org/file32554/xx
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19537
___
Changes by Andreas Schwab sch...@linux-m68k.org:
Removed file: http://bugs.python.org/file34387/m68k-float-prec.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20904
___
Changes by Andreas Schwab sch...@linux-m68k.org:
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20904
___
___
Mark Lawrence added the comment:
PEP11 states that VMS was unsupported in 3.3. Code was removed from 3.4 via
#16136.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21039
Parto Chobeiry added the comment:
I thought you were kidding concerning print() -- thus I started using python
-m trace -t httpd.py trace 21. The hanging does not occur when tracing
(however, things slow down immensely naturally)!
When breaking the httpd.py while it is not serving anymore,
Mark Lawrence added the comment:
It strikes me as strange that we'd allow code churn for an unsupported
platform, can someone explain the rationale behind this please.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Andreas Schwab added the comment:
What do you mean with code churn?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20904
___
___
Parto Chobeiry added the comment:
I think there is no need for print() -- it is hanging HERE:
def _eintr_retry(func, *args):
restart a system call interrupted by EINTR
while True:
try:
return func(*args) HERE
except OSError as e:
if e.errno
Mark Lawrence added the comment:
Code churn is defined as lines added, modified or deleted to a file from one
version to another.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20904
___
Antoine Pitrou added the comment:
If it blocks in the select() call, then it's probably an OS issue rather than a
Python issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21035
___
Andreas Schwab added the comment:
That's a very broad definition, I didn't know that python is such a hostile
environment.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20904
___
Benjamin Peterson added the comment:
Ignore Mark Lawrence.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20904
___
___
Donald Stufft added the comment:
I think I'm happy with this patch, if anyone has a chance to review it and see
if it looks OK I'd love that and then I can commit it :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21013
STINNER Victor added the comment:
Getpwnam() can use a lot of various auth method. For example, an external
LDAP server.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4261
___
Georg Brandl added the comment:
@Mark, I don't understand why you ask this question after several positive
responses of Python committers (Mark, Stefan, Larry).
@Andreas, as far as I recall, we have always welcomed patches for officially
unsupported platforms, certainly as long as they only
Mark Lawrence added the comment:
I love you as well Benjamin :)
To be serious I think we're talking at cross purposes. I'm not against this
patch. Code churn often gets mentioned here as a reason for not doing what is
proposed. Changing code for an unsupported platform just struck me as
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20633
___
Stefan Krah added the comment:
So far there are only very few m68k patches. Additionally, the patches are
well researched and sometimes highlight ANSI C violations.
The submitters of the patches are highly competent and apparently take testing
seriously. I see no reason to reject the
Georg Brandl added the comment:
With respect, Mark, I think you should leave these considerations to the
committers.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20904
___
Donald Stufft added the comment:
Added guards to protect against constants not existing.
--
Added file:
http://bugs.python.org/file34590/ssl-context-defaults-ssl3-guards.diff
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
Great, you ask a simple, straight forward question and get told to go away.
I'll therefore leave everything to the committers, including the roughly 4500
open issues and the other 40 languishing.
--
___
Python
Antoine Pitrou added the comment:
(slightly related: should ssl.PROTOCOL_xxx constants become enum members?)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20421
___
Changes by Alex Gaynor alex.gay...@gmail.com:
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20421
___
___
Python-bugs-list mailing
Parto Chobeiry added the comment:
Submitted a bug at bugreport.apple.com: #16401766
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21035
___
___
R. David Murray added the comment:
I don't think that changes the picture. If the error code is non-zero, that
means that one of the access methods failed, which means getpwnam can't report
reliably whether or not that user exists according to the system configuration.
--
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20913
Roundup Robot added the comment:
New changeset 5d645f290d6a by R David Murray in branch '3.4':
#20976: remove unneeded quopri import in email.utils.
http://hg.python.org/cpython/rev/5d645f290d6a
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset d308c20bf2f4 by R David Murray in branch 'default':
Merge #20976: remove unneeded quopri import in email.utils.
http://hg.python.org/cpython/rev/d308c20bf2f4
--
___
Python tracker rep...@bugs.python.org
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - fixed
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20980
___
Roundup Robot added the comment:
New changeset bb6377db0a9e by Richard Oudkerk in branch '3.4':
Issue #20990: Correction for 619331c67638.
http://hg.python.org/cpython/rev/bb6377db0a9e
--
___
Python tracker rep...@bugs.python.org
Brett Cannon added the comment:
Another update to trigger loading on attribute deletions as well as detecting
when an import swapped the module in sys.modules, raising ValueError if
detected since it won't have the affect that's expected (could be convinced to
make that ImportError instead).
Roundup Robot added the comment:
New changeset ec556e45641a by R David Murray in branch 'default':
#20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.
http://hg.python.org/cpython/rev/ec556e45641a
--
nosy: +python-dev
___
Python
R. David Murray added the comment:
Thanks, Kammie. I removed the extra whitespace from your fix and simplified
the tests a bit.
--
resolution: - fixed
stage: test needed - committed/rejected
status: open - closed
___
Python tracker
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:
--
nosy: +piotr.dobrogost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21026
___
___
Charles-François Natali added the comment:
You could use tcpdump to see what's going on (does the server reply to SYN?).
Note that it might very well be either a firewall setting, or a DoS protection
(some sort of backoff when there are too many SYN within a short interval).
--
nosy:
New submission from Charles-François Natali:
This patch updates the socketserver module to use selectors.
It's simpler, will use poll() when available, and also fixes a bug where the
timeout would not be recomputed upon EINTR.
Note that I removed an EINTR-handling test from test_socketserver
Charles-François Natali added the comment:
By the way, could you test with the patch available in issue #21040 ?
It'll use poll() instead of select(): I don't think it'll fix your problem,
but it'll be a nice test anyway :-)
--
___
Python tracker
Changes by Charles-François Natali cf.nat...@gmail.com:
Added file: http://bugs.python.org/file34593/socketserver_use_selectors-1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21040
___
Pander added the comment:
I see the patch support Unicode scripts
https://en.wikipedia.org/wiki/Script_%28Unicode%29 but I am also interested in
support for Unicode blocks https://en.wikipedia.org/wiki/Unicode_block
Code for support for the latter is at https://github.com/nagisa/unicodeblocks
Antoine Pitrou added the comment:
Are unnamed struct fields actually valid C?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19537
___
___
1 - 100 of 145 matches
Mail list logo