Mark Lawrence added the comment:
Can somebody set this to patch review and do the honours please. FWIW I
don't like tulplesub in the patch.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6978
Mark Lawrence added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9912
___
___
Python-bugs-list mailing list
Unsubscribe:
Mark Lawrence added the comment:
I understand from the experts list that tarek is no longer maintaining
distutils but I can't change the assigned to field. As a matter of interest
there are another 67 issues with tarek assigned.
--
nosy: +BreamoreBoy, dstufft
versions: +Python 3.4,
John Isidore added the comment:
There is stdout_redirected() function [1] that allows to redirect a file object
given as `stdout` patameter including `sys.stderr`. It works at a file
descriptor level i.e. it supports redirecting subprocess' output too but it
doesn't work for StringIO (no fd).
Akira Li added the comment:
OSError has *filename* attribute. Could it be passed to the UI instead?
--
nosy: +akira
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22472
___
R. David Murray added the comment:
We never promise that the messages won't change (they are not part of the API),
so that part isn't a problem. We do try to be backward compatible there when
it comes to args beyond the message text. I don't think unpickleability is an
issue; at least there
R. David Murray added the comment:
No, because I'm just logging the error message. That's the UI.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22472
___
James Spurin added the comment:
With both the kernel parameters defined and undefined, I get the following
output -
# /local/0/opt/python-3.4.1/bin/python
Python 3.4.1 (default, Sep 29 2014, 13:31:39)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux
Type help, copyright, credits or license for
bagrat lazaryan added the comment:
replacing across multiple files is something i personally considered too fancy
for idle, but that's a great feature. the same goes for smart selections like
selecting multiline statements. if they don't contradict idle's simplicity
ideology they are great
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
assignee: belopolsky -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9104
___
Roundup Robot added the comment:
New changeset 138f54622841 by R David Murray in branch '3.4':
#20135: FAQ entry for list mutation. (See also 6375bf34fff6.)
https://hg.python.org/cpython/rev/138f54622841
New changeset 3d924bbfdcbc by R David Murray in branch 'default':
Merge: #20135: FAQ entry
R. David Murray added the comment:
I accidentally committed the patch early to 3.4/3.5. I've now addressed Ezio's
review comment per my suggestion on the review, and committed it to 2.7 as well.
Thanks everyone for your contributions.
--
resolution: - fixed
stage: commit review -
R. David Murray added the comment:
Berker: I had some review comments pending on the docs, but reitveld isn't
letting me publish them for some reason (it says the patch set doesn't exist).
The comments are: the method docs should probably say ``False`` or ``0`` (the
default) (and all the
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: commit review - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20858
___
___
Roundup Robot added the comment:
New changeset 565096a32ce4 by Serhiy Storchaka in branch 'default':
Issue #22510: Get rid of little overhead of testing re.DEBUG flag.
https://hg.python.org/cpython/rev/565096a32ce4
--
nosy: +python-dev
___
Python
R. David Murray added the comment:
After reconsidering Terry's idle example, it seems to me that the change could
adversely impact existing code that already works around the lack of chained
tracebacks, even as idle does. So I committed this to 3.5 only as an
enhancement.
Thanks Claudiu.
Roundup Robot added the comment:
New changeset 2b212a8186e0 by R David Murray in branch 'default':
#17442: Add chained traceback support to InteractiveInterpreter.
https://hg.python.org/cpython/rev/2b212a8186e0
--
nosy: +python-dev
___
Python tracker
Alexander Belopolsky added the comment:
For future reference, here is the example showing %Y %V ambiguity:
date(2013,12,31).strftime('%Y %V %u')
'2013 01 2'
date(2013,1,1).strftime('%Y %V %u')
'2013 01 2'
which is resolved by using %G
date(2013,12,31).strftime('%G %V %u')
'2014 01 2'
Alexander Belopolsky added the comment:
I think we need more tests showing that new directives don't violate strftime -
strptime round-trip invariants.
--
title: strptime should implement %V or %u directive from libc - strptime
should implement %G, %V and %u directives
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5979
___
Alexander Belopolsky added the comment:
Documentation should say new in 3.5.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12006
___
___
Steve Dower added the comment:
Newer versions of Windows Installer (this looks like an XP issue...) will
preserve a copy of the original MSI in a safe place, so this problem should not
occur any more.
I vote to close.
--
___
Python tracker
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: needs patch - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5979
___
___
Steve Dower added the comment:
Should be fine. Both 2.7 and default have the full OpenSSL version in
pyproject.vsprops, so they'll only use the version they expect.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10007
Serhiy Storchaka added the comment:
Thank you Antoine for your review.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22510
New submission from Ethan Furman:
First, the behavior for pwd.struct_passwd:
-
-- pwd.getpwuid(1000)
pwd.struct_passwd(pw_name='ethan', pw_passwd='x', pw_uid=1000, pw_gid=1000,
pw_gecos='Ethan Furman,,,', pw_dir='/home/ethan', pw_shell='/bin/bash')
--
Claudiu Popa added the comment:
Indeed, it's a preexisting bug. I'll try to come up with a patch shortly.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17442
___
Ethan Furman added the comment:
Test added.
--
keywords: +patch
stage: - needs patch
Added file: http://bugs.python.org/file36752/issue22513.stoneleaf.01.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22513
Terry J. Reedy added the comment:
I am closing this because a) Meador is correct that we do not normally patch
deprecated features and b) the current emphasis on 2.7-only patches is security
and keeping 2.7 working on current systems. The fix would only benefit 2.7.9+
code or 2.7.9+ and 3.x
Terry J. Reedy added the comment:
About your email problem: post to core-mentorship list and if you cannot do
that, write to Ezio Melotti and/or R. David Murray directly, as they are
tracker maintainers.
--
stage: - needs patch
___
Python tracker
Serhiy Storchaka added the comment:
This is because grp.struct_group contains unhashable component (a list).
Same behavior with tuple:
tuple(grp.getgrgid(1000))
('serhiy', 'x', 1000, [])
set(tuple(grp.getgrgid(1000)))
Traceback (most recent call last):
File stdin, line 1, in module
Ethan Furman added the comment:
Thanks, Serhiy.
--
resolution: - not a bug
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22513
___
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
nosy: +belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22486
___
___
New submission from Friedrich Spee von Langenfeld:
When I open www.python.org, there are some examples to demonstrate the look
and feel of Python. I´ve tested an example (example number 1). Online, the
following is shown:
# Python 3: Fibonacci series up to n
def fib(n):
a, b = 0, 1
New submission from Ram Rachum:
I suggest implementing `Counter.__lt__` which will be a partial order,
similarly to `set.__lt__`. That is, one counter will be considered
smaller-or-equal to another if for any item in the first counter, the second
counter has an equal or bigger amount of that
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
nosy: +belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22194
___
___
Roundup Robot added the comment:
New changeset 0b85ea4bd1af by Serhiy Storchaka in branch 'default':
Issue #22437: Number of capturing groups in regular expression is no longer
https://hg.python.org/cpython/rev/0b85ea4bd1af
--
nosy: +python-dev
___
Benjamin Peterson added the comment:
987 is indeed missing.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22514
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19569
___
Arfrever Frehtes Taifersar Arahesis added the comment:
There is already Py_DEPRECATED in Include/pyport.h:
#if defined(__GNUC__) ((__GNUC__ = 4) || \
(__GNUC__ == 3) (__GNUC_MINOR__ = 1))
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
#else
#define
Zachary Ware added the comment:
Steve Dower wrote:
I vote to close.
+1, and done.
--
assignee: loewis -
resolution: - third party
stage: test needed - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Thank you Antoine for your review.
To avoid discrepancy between re and regex (and other engines), I have committed
only a part of dynamic patch, without adding support of backreferences with
index over 99. It is unlikely to achieve this limit in hand
Steven D'Aprano added the comment:
On Mon, Sep 29, 2014 at 07:33:21PM +, Ram Rachum wrote:
I suggest implementing `Counter.__lt__` which will be a partial order,
similarly to `set.__lt__`.
Since Counter is described as a multiset, this sounds reasonable to me.
--
nosy:
Zachary Ware added the comment:
PCbuild/build_ssl.py in 2.7 and 3.4 look through pyproject.(vs)props for the
openssl dir, and 3.5 no longer uses build_ssl.py in the regular build process,
so this is in fact out of date.
--
assignee: - zach.ware
resolution: - out of date
stage: -
Serhiy Storchaka added the comment:
What should be result of following operations?
Counter({'a': 0}) Counter({})
Counter({}) Counter({'a': 0})
Counter({'a': -1}) Counter({})
Counter({}) Counter({'a': -1})
--
nosy: +serhiy.storchaka
___
Python
Ram Rachum added the comment:
I suggest they be ignored like in `elements`.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22515
___
___
Ram Rachum added the comment:
(I mean, the non-positive values should be ignored.)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22515
___
___
Francis MB added the comment:
Why is test.support.EnvironmentVarGuard preferable over
distutils.test.support.EnvironGuard (with this one I'm not getting the warnings
below)?
If I change the patch to (not so different (?) as in other tests using
EnvironmentVarGuard):
$hg diff
diff -r
Serhiy Storchaka added the comment:
There is other definition of the = operator for sets: A = B is equivalent
to len(A - B) == 0. Extending to Counter this can mean
len(A.subtract(B).elements()) == 0.
--
___
Python tracker rep...@bugs.python.org
New submission from J. Morton:
Could not install 3.4.1 on Windows 7 Enterprise SP1 using the .MSI installer,
even when using the ”just for me” option (our IM department has not given us
the necessary rights to run the .MSI installer even in this mode).
Please consider providing 3.4.1 (and all
R. David Murray added the comment:
Sorry, I'm not that familiar with distutils and did not realize it had stuff
for environment protection in the setUp/tearDown.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22512
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Windows
nosy: +steve.dower, terry.reedy, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22516
___
R. David Murray added the comment:
The source tarball is the source tarball. You can built python yourself, but
it does require MSVC. There are issues in this tracker about supporting other
compilers, but for various reasons (mostly having to do with this being a
volunteer community driven
New submission from paul:
# static void
# bufferedrwpair_dealloc(rwpair *self)
# {
# _PyObject_GC_UNTRACK(self);
# Py_CLEAR(self-reader);
# Py_CLEAR(self-writer);
# Py_CLEAR(self-dict);
# Py_TYPE(self)-tp_free((PyObject *) self);
# }
#
# Weakrefs to this object contain stale
Steve Dower added the comment:
The just for me option isn't really just for me. I'll probably have a real
option in 3.5, though it may still require admin rights.
There's no reason sites like www.portableapps.com couldn't provide true
per-user installers, and Continuum Analytics and Enthought
New submission from paul:
# static PyObject *
# unicode_encode_ucs1(PyObject *unicode,
# const char *errors,
# unsigned int limit)
# {
# ...
# while (pos size) {
# ...
# case 4: /* xmlcharrefreplace */
# /*
New submission from paul:
# PyBytes_Repr(PyObject *obj, int smartquotes)
# {
# PyBytesObject* op = (PyBytesObject*) obj;
# 1 Py_ssize_t i, length = Py_SIZE(op);
# size_t newsize, squotes, dquotes;
# ...
#
# /* Compute size of output string */
# newsize = 3; /* b'' */
#
New submission from paul:
# unicode_repr(PyObject *unicode)
# {
# ...
# 1 isize = PyUnicode_GET_LENGTH(unicode);
# idata = PyUnicode_DATA(unicode);
#
# /* Compute length of output, quote characters, and
#maximum character */
# osize = 0;
# ...
# for (i = 0; i
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - later
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22516
___
Francis MB added the comment:
No problem, but is the, 3 lines, patch ok?
what are the next steps, if yes?
Shouldn't be the issue status now 'patch review' or similar?
Thanks in advance!
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
Yes, sorry I forgot to change the stage.
--
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22512
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +benjamin.peterson, pitrou, stutzbach
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22517
___
Ethan Furman added the comment:
What would be the result of
Counter({'a':1, 'b':2}) Counter({'a':2, 'b':1})
?
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22515
Serhiy Storchaka added the comment:
Looks very similar to issue22470.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22518
___
Ram Rachum added the comment:
False, like with sets.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22515
___
___
Python-bugs-list mailing list
R. David Murray added the comment:
Thanks, Ethan. I had a feeling that this wasn't well defined but I couldn't
come up with an example :)
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22515
Ram Rachum added the comment:
David, there's nothing here that isn't well defined. It's simply a partial
order, not a total order. We have the same for sets.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22515
Ethan Furman added the comment:
set's don't have values, and you are wanting to implement the partial ordering
based on the values. (side-note: how does partial-ordering work for sets?)
That is, one counter will be considered smaller-or-equal to another if for any
item in the first counter,
Changes by Josh Rosenberg shadowranger+pyt...@gmail.com:
--
nosy: +josh.rosenberg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22515
___
___
Ram Rachum added the comment:
Ethan, I don't understand what the problem is. I also don't understand your
side note question how does partial-ordering work for sets? I'm not sure what
you're asking.
That is, one counter will be considered smaller-or-equal to another if for
any
item in
Ram Rachum added the comment:
To put it another way: In Python sets, `a = b` iff `b` has everything that `a`
has, and possibly more. I'm proposing the exact same definition for counters.
True, the implementation might be different because sets are not dicts and
don't have `.values()`, but
Ethan Furman added the comment:
That is certainly a better definition. If you carefully reread your original
post you will see that you wrote something different ('any' instead of
'every'). Also, your OP uses '__lt__' but talks about 'less-than-or-equal --
somewhat confusing. ;)
Ram Rachum added the comment:
You're right, sorry. I meant the mathematical for any which means for
every: https://en.wikipedia.org/wiki/List_of_mathematical_symbols (See for
any;)
--
___
Python tracker rep...@bugs.python.org
Changes by Benjamin Peterson benja...@python.org:
--
versions: +Python 2.7, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22518
___
___
Changes by Benjamin Peterson benja...@python.org:
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22518
___
___
Antoine Pitrou added the comment:
The request sounds ok to me. As in the corner case of negative values, it seems
that Counter currently doesn't elide zero values, e.g.:
Counter({'a': 0}) == Counter({})
False
Therefore, we should have:
Counter({'a': -1}) Counter({'a': 0})
True
but:
Roundup Robot added the comment:
New changeset b2e68274aa8e by Benjamin Peterson in branch '2.7':
cleanup overflowing handling in unicode_decode_call_errorhandler and
unicode_encode_ucs1 (closes #22518)
https://hg.python.org/cpython/rev/b2e68274aa8e
New changeset 3b7e93249700 by Benjamin
Mark Lawrence added the comment:
Has the Argument Clinic had an impact on this or is that a different kettle of
fish?
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
Has the Argument Clinic had an impact on this or is that a different kettle of
fish?
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.1
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset d9cd11eda152 by Benjamin Peterson in branch '2.7':
fix overflow checking in PyString_Repr (closes #22519)
https://hg.python.org/cpython/rev/d9cd11eda152
New changeset f5c662a7f7e6 by Benjamin Peterson in branch '3.3':
fix overflow checking in
Ram Rachum added the comment:
Shall I write a patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22515
___
___
Python-bugs-list mailing list
Ethan Furman added the comment:
I think the final call is Raymond's (whether to accept the patch), but go
ahead. Worst case scenario is you'll have your own thoroughly tested
PartiallyOrderedCounter you can use in your own code. :)
--
nosy: +rhettinger
type: - enhancement
Mark Lawrence added the comment:
@Humberto could you provide a patch for this?
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10938
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22518
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22519
___
Ram Rachum added the comment:
If that's the case I'd prefer Raymond to first say whether this feature is
generally welcome before spending my time on making a patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22515
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22517
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22520
___
Mark Lawrence added the comment:
In msg126496 MVL says I'll also point out that this is not a bug: copying over
an installation is not supposed to work so can we close this as not a bug?
--
nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware -brian.curtin
Mark Lawrence added the comment:
Has this issue been overtaken by events?
--
nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware
versions: +Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2399
Mark Lawrence added the comment:
Could this now be implemented in the turtle module?
--
nosy: +BreamoreBoy, terry.reedy
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10531
Steve Dower added the comment:
I think they've all been fixed anyway, but yeah, they're not going to be
relevant with my new installer.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2399
Changes by Brunel bcodeg...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22422
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 090dc85f4226 by Benjamin Peterson in branch 'default':
fix windows tests (#16662)
https://hg.python.org/cpython/rev/090dc85f4226
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 9b4673d7b046 by Benjamin Peterson in branch '2.7':
clear BufferedRWPair weakrefs on deallocation (closes #22517)
https://hg.python.org/cpython/rev/9b4673d7b046
New changeset e834b32f0422 by Benjamin Peterson in branch '3.3':
clear BufferedRWPair
Changes by Benjamin Peterson benja...@python.org:
--
versions: +Python 3.3, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22520
___
___
Roundup Robot added the comment:
New changeset 8ba7e5f43952 by Benjamin Peterson in branch '3.3':
prevent overflow in unicode_repr (closes #22520)
https://hg.python.org/cpython/rev/8ba7e5f43952
New changeset 6f54dfa675eb by Benjamin Peterson in branch '3.4':
merge 3.3 (#22520)
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2399
___
Changes by Tim Golden m...@timgolden.me.uk:
--
resolution: - not a bug
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10937
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - not a bug
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22422
___
100 matches
Mail list logo