pyos added the comment:
Updated the patch. Thanks Serhiy Storchaka for comments on the previous one.
--
Added file:
http://bugs.python.org/file27468/itertools-chain-send-throw-and-close-2.diff
___
Python tracker rep...@bugs.python.org
Changes by pyos pyos100...@gmail.com:
Removed file:
http://bugs.python.org/file27455/itertools-chain-send-throw-and-close.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16150
___
Roundup Robot added the comment:
New changeset b9dedf845a0f by Armin Ronacher in branch 'default':
Issue #16148: Small improvements and cleanup. Added version information
http://hg.python.org/cpython/rev/b9dedf845a0f
--
___
Python tracker
Hynek Schlawack added the comment:
Let's get this rolling again. First let's fix the docs for 3.2+ first. My
current suggestion would be the following:
~~~
.. function:: makedirs(path, mode=0o777, exist_ok=False)
.. index::
single: directory; creating
single: UNC paths; and
Mark Dickinson added the comment:
Yes, reopening issue 14700 sounds good to me.
I'm not against fixing these issues in the bugfix branches, but we need to do
it carefully (which unfortunately probably also means slowly). I think that
for the bugfix branches, each fix should be accompanied by
Mark Dickinson added the comment:
Re-opening: this should probably also be fixed in 2.7 and 3.2. See issue 16096
for discussion.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14700
___
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: fixed -
status: closed - open
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14700
___
Charles-François Natali added the comment:
Here's a patch.
--
Added file: http://bugs.python.org/file27469/import_error.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15833
___
Charles-François Natali added the comment:
Roumen, are you sure you submitted your patch to the right issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15833
___
Stefan Krah added the comment:
I don't know the reason for the previous behavior, but it's documented:
http://docs.python.org/dev/c-api/unicode.html?highlight=pyunicode_fromformatv#PyUnicode_FromFormat
An unrecognized format character causes all the rest of the format string to
be copied
Andrew Svetlov added the comment:
The patch for current default branch.
--
Added file: http://bugs.python.org/file27470/_tkinter_pep3121-384_v7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15721
Roumen Petrov added the comment:
Yes .
Charles, lest assume that all other issues with build system, are resolved and
source tree is ready for use. So in this situation I could run python , I could
build all and I could run tests with an additional patch TEMPDIR is relative to
build tree
Roundup Robot added the comment:
New changeset e11642068f85 by Hynek Schlawack in branch 'default':
Closes #1492704: Make shutil.copyfile() raise a distinct SameFileError
http://hg.python.org/cpython/rev/e11642068f85
--
resolution: - fixed
stage: - committed/rejected
status: open -
Hynek Schlawack added the comment:
Any suggestions on the value for _MAXLINE or just steal the 64k from httplib?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16040
___
Hynek Schlawack added the comment:
Pong? I understand we have to close #15411 #9949 first? Can't help here out
due to lack of Windows.
--
dependencies: +os.chmod() does not follow symlinks on Windows, os.path.realpath
on Windows does not follow symbolic links
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: +brian.curtin, tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15411
___
___
Mark Dickinson added the comment:
Here's a patch for 2.7.
--
Added file: http://bugs.python.org/file27471/formatting-overflow-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14700
Changes by Mark Dickinson dicki...@gmail.com:
--
versions: -Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16096
___
___
Mark Dickinson added the comment:
And for 3.2
--
Added file: http://bugs.python.org/file27472/formatting-overflow-3.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14700
___
Changes by Mark Dickinson dicki...@gmail.com:
Added file: http://bugs.python.org/file27473/formatting-overflow-3.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14700
___
Changes by Mark Dickinson dicki...@gmail.com:
Removed file: http://bugs.python.org/file27472/formatting-overflow-3.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14700
___
Changes by Ramchandra Apte maniandra...@gmail.com:
--
components: -Unicode, email
title: Support UTF8SMTP as part of RFC 5336 in smtlib - Support UTF8SMTP as
part of RFC 5336 in smptlib
___
Python tracker rep...@bugs.python.org
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16136
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6322
___
___
Python-bugs-list
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16050
___
___
Chris Jerdonek added the comment:
it does not seem to pick the whitespace in the docs and does not match -
Doc/faq/general.rst
Can you provide a link to the line (or one of the lines) in question so it's
easier to see what you are referring to?
os.path.isdir returns True or False, not 0
Chris Jerdonek added the comment:
fsum will pass if 'from math import fsum' is done before it, but I've left
such issues for now since there seems to be a debate about how to go about
that
For now, you can at least use the testsetup directive which will
simultaneously allow the doctests
Eli Bendersky added the comment:
Will look into it, thanks for the report.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16076
___
___
Eli Bendersky added the comment:
Thanks for the report, Patrick. Yes, documenting this limitation would make
sense. Have you tested to see how it behaves?
Anyhow, a patch would be welcome ;-)
--
stage: - needs patch
___
Python tracker
Eli Bendersky added the comment:
Thanks for the report. I'll take a look.
Patches always welcome :)
--
stage: - patch review
title: xml.etree.ElementTree.tostringlist does conform to it's documentation -
xml.etree.ElementTree.tostringlist does not conform to its documentation
Eli Bendersky added the comment:
Thanks, Chris. I'll take a look
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15888
___
___
Python-bugs-list
Roumen Petrov added the comment:
Extract of 2012-10-04 is after patch set py3k-20121004-CROSS.tgz from issue
#3754 .
--
title: cross and native build of python for mingw32 with packaging - cross and
native build of python for mingw* hosts
Added file:
Roumen Petrov added the comment:
Everything in this issue posted until now has to be managed as vendor patch.
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9216
___
Roundup Robot added the comment:
New changeset 81ad910d75a9 by Eli Bendersky in branch '3.3':
Issue #15888: fixing problems in ipaddress doctests. Patch by Chris Jerdonek
http://hg.python.org/cpython/rev/81ad910d75a9
--
nosy: +python-dev
___
Python
Roumen Petrov added the comment:
Skip,
You mix two technologies one is --libdir that could be specified at configure
time and another one is sub-directory name for libraries as path suffix to some
prefixes.
You could just adjust python to use user specified path (--libdir) and this is
more
Eli Bendersky added the comment:
Pushed to 3.3 and 3.4
Thanks for the report and patch
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15888
Andrew Svetlov added the comment:
The patch is huge, then I like to apply it in two steps: first implement pep
384 than 3121.
Attached first patch.
--
Added file: http://bugs.python.org/file27475/_tkinter_pep384_v1.patch
___
Python tracker
Roumen Petrov added the comment:
Also I could not understand why is opened new issue.
Just search for libdir and one is Issue 1294959 - 7 years old with the same
idea. Later mean that solution is not acceptable.
--
___
Python tracker
Skip Montanaro added the comment:
Before this goes any farther, let me make this clear - I *did not* develop this
patch. It was developed by the OpenSUSE folks. I had trouble installing
Python from source on the OpenSUSE system under my desk at work. I asked about
the problem on
R. David Murray added the comment:
Looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13498
___
___
Python-bugs-list mailing list
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8489
___
___
Andrew Svetlov added the comment:
Robin, why do you increment refcounter for type object on every construction of
dbm instance?
Also I would to see macros in uppercase if possible.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset cc3e27b7da41 by Andrew Svetlov in branch '2.7':
Issue #14900: Distuguish call count and primitive call count in pstat output.
http://hg.python.org/cpython/rev/cc3e27b7da41
New changeset 410e92589164 by Andrew Svetlov in branch '3.2':
Issue #14900:
Andrew Svetlov added the comment:
I definitely agree with renaming call count to primitive call count.
Thank you for patch.
BTW please fill Python Contributor Agreement: http://www.python.org/psf/contrib/
--
assignee: - asvetlov
___
Python tracker
Richard Oudkerk added the comment:
_sha3 is not being built on Windows, so importing hashlib fails
import hashlib
ERROR:root:code for hash sha3_224 was not found.
Traceback (most recent call last):
File C:\Repos\cpython-dirty\lib\hashlib.py, line 109, in
__get_openssl_constructor
f =
Christian Heimes added the comment:
I've pushed a fix about 5 minutes ago. The module wasn't compiled in debug
builds due to an error in the project file. Please update your copy and try
again.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 69b310f7acfa by Andrew Svetlov in branch '2.7':
Issue #14900: Add aliases for sorting params for pstat to follow column names
from pstat output.
http://hg.python.org/cpython/rev/69b310f7acfa
New changeset 511a3c51731e by Andrew Svetlov in branch
Christian Heimes added the comment:
6cf6b8265e57 and 8172cc8bfa6d have fixed the issue on my VM. I didn't noticed
the issue as I only tested hashlib with the release builds, not the debug
builds. Sorry for that.
--
___
Python tracker
Andrew Svetlov added the comment:
I'm ok with aliases also.
Issue with percall can be fixed only in 3.4 via renaming one of the column.
Thanks again.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14900
Andrew Svetlov added the comment:
Documentation also need to be updated to reflect changes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14900
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16113
___
___
Richard Oudkerk added the comment:
6cf6b8265e57 and 8172cc8bfa6d have fixed the issue on my VM. I didn't
noticed the issue as I only tested hashlib with the release builds, not
the debug builds. Sorry for that.
Ah. I did not even notice there was _sha3.vcxproj.
Is there any particular
Robin Schreiber added the comment:
PEP384 demands, among other things, that the TypeObjects themselves are
transformed to Heaptypes. This means that the Typeobjects, that are created
from this new stable ABI, reside within the heap and therefore have to be
managed by the Python GC. This is of
New submission from Serhiy Storchaka:
Older versions (3.2 for 3.3, 3.2 and 3.3 for 3.4) whatsnew refers to Misc/News
which contains changes only for currect version (For full details, see the
:source:`Misc/NEWS Misc/NEWS` file.).
http://docs.python.org/3.3/whatsnew/3.2.html
R. David Murray added the comment:
The problem is that the source directive (from pyspecific in Sphinx) uses the
'current branch' for which the docs are being built. Probably we will have to
hardcode the links rather than using the source directive.
--
nosy: +r.david.murray
Andrew Svetlov added the comment:
From my perspective type object is referenced by module state.
While module is present it's state hold all types exposed by module.
After module has deleted it's state has cleaned up and types has gone away —
thats look good to me.
Instances of python classes
Christian Heimes added the comment:
The module is rather large (about 190 KB) because the optimized SHA-3
implementation isn't optimized for size. For this reason I like to keep the
module out of the main binary for now.
--
___
Python tracker
New submission from Antoine Pitrou:
Seen on a buildbot:
==
FAIL: test_mymanager_context_prestarted
(test.test_multiprocessing.WithManagerTestMyManager)
--
Terry J. Reedy added the comment:
Doc corrections (can) go in all current docs.
1.2 - 1.0: same change
Hello * 3: same change
dir([]): shouldn't output be line-wrapped
3.3: same
3.2: delete __dir__, clear, copy, giving
['__add__', '__class__', '__contains__', '__delattr__', '__delitem__',
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15650
___
___
Python-bugs-list mailing
Nikolay Bogoychev added the comment:
Okay, here's a proper patch with documentation entry and test cases.
Please review and comment
--
Added file: http://bugs.python.org/file27476/robotparser.patch
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
I consider some items to be errors. In any case, all current docs can be fixed.
First, your questions as to what you did not fix.
fsum: I personally would add the import visibly, but at least add it hidden, as
Chris suggested.
171 from filecmp import dircmp
Chris Jerdonek added the comment:
Trailing blanks are *really* a problem
The NORMALIZE_WHITESPACE doctest directive is another option to deal with cases
like these. It ignores whitespace-only differences between the actual and
expected outputs. Does it pass with that directive?
--
Terry J. Reedy added the comment:
Now your patch:
colorsys: same change all versions
fractions: ditto
Template: ditto
I believe the changes I suggested for filecmp and the numbers should also be
the same in all versions.
ACKS: your name should be inserted in alpha order
--
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16009
___
___
Terry J. Reedy added the comment:
I considered the directive, but I mildly prefer the code change.
end = ' ') guarantees a blank between fields
even if one formats a too-large number
end = '') does not add a blank to the end.
end = '' if base == 'b' else ' ') does both (but
Chris Jerdonek added the comment:
Any comments on the latest patch, in particular on the int() docstring?
Especially you, Terry, as you created the issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14783
Chris Jerdonek added the comment:
I considered the directive, but I mildly prefer the code change.
I just wanted to point the directive out as an available option (especially for
Ravi if he does further patches like this). Either way is fine with me.
--
Andrew Svetlov added the comment:
LGTM
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14783
___
___
Python-bugs-list mailing
Terry J. Reedy added the comment:
I checked pretty carefully and it looks good to me.
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14783
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16129
___
Terry J. Reedy added the comment:
http://docs.python.org/py3k/library/doctest.html#option-flags-and-directives
has the improved version. Thanks. Here, the complete example text is more
important than the hi-lites.
--
___
Python tracker
Terry J. Reedy added the comment:
Apparently, I should have suggested # doctest: +SKIP.
The #12947 fix to example directives being deleted from the directive examples
came after the 3.3.0 release. Fixed examples are at
http://docs.python.org/py3k/library/doctest.html#option-flags-and-directives
Nikolay Bogoychev added the comment:
Reformatted patch
--
Added file: http://bugs.python.org/file27477/robotparser_reformatted.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16099
___
Changes by Christian Heimes li...@cheimes.de:
--
keywords: +needs review
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16099
___
Berker Peksag added the comment:
Berker, could you possibly submit a Contributor Agreement Form?
Details at http://www.python.org/psf/contrib/
Jesús, I just emailed the contributor agreement.
Does your patch take care of all yield in the stdlib?
I found another one -- thanks to Serhiy's
Roundup Robot added the comment:
New changeset 70d49694786c by Andrew Svetlov in branch 'default':
Issue #16120: Use |yield from| in stdlib.
http://hg.python.org/cpython/rev/70d49694786c
--
___
Python tracker rep...@bugs.python.org
Andrew Svetlov added the comment:
Fixed, thanks.
Interesting, I didn't thought «yield from» can be applied to just list, not
generator. But it works.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16120
Serhiy Storchaka added the comment:
Only one comment. test_formatting_huge_precision should use not sys.maxsize,
but _testcapi.INT_MAX. Other tests can use _testcapi.PY_SSIZE_T_MAX.
I think this tests are worth to add for 3.3 and 3.4. Your old test for this bug
(064c2d0483f8) actually does
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16120
___
___
Python-bugs-list
STINNER Victor added the comment:
Updated patch: precision for %s and %V (if the first PyObject* argument is
NULL) formats is now a number of bytes, rather than a number of characters.
width is still always a number of character.
The reason is that %.100s can be used for avoid a crash if the
Mark Dickinson added the comment:
Thanks for reviewing. I was being lazy with the checks; I'll fix that.
Agreed that it's worth forward porting the tests to 3.3 and 3.4; I'll do that.
--
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
Updated patch: detect also invalid %.s format and update the documentation.
I don't know the reason for the previous behavior, but it's documented:
Oh, I missed the doc. Fixed in the new patch.
--
Added file:
STINNER Victor added the comment:
For your information, I fixed recently PyUnicode_FromFormatV() to detect
overflows on width and precision:
changeset: 79543:d1369daeb9ec
user:Victor Stinner victor.stin...@gmail.com
date:Sat Oct 06 23:05:00 2012 +0200
files:
Arne Babenhauserheide added the comment:
Copyright-assignment signed and sent.
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14900
___
Aditya Kedia added the comment:
Right.. Looks good.
--
nosy: +TheAdityaKedia
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13498
___
___
Roundup Robot added the comment:
New changeset e4598364ea29 by Chris Jerdonek in branch '3.2':
Issue #14783: Improve int() docstring and also str(), range(), and slice().
http://hg.python.org/cpython/rev/e4598364ea29
--
___
Python tracker
Roundup Robot added the comment:
New changeset e4598364ea29 by Chris Jerdonek in branch '3.2':
Issue #14783: Improve int() docstring and also str(), range(), and slice().
http://hg.python.org/cpython/rev/e4598364ea29
New changeset 365da47a6dc1 by Chris Jerdonek in branch '3.3':
Issue #14783:
Chris Jerdonek added the comment:
Leaving open to backport applicable portions to 2.7. I should get to that
later today.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14783
___
New submission from jimbo1qaz:
Open a Python file with IDLE and F5 it. Turn on debugger ([DEBUG ON]), F5 again
([DEBUG ON]), and close the debugger ([DEBUG OFF]). The shell is now completely
locked and must be closed (with a 'The program is still running, want to kill
it?' message).
jimbo1qaz added the comment:
I have confirmed that this happens on both 3.2 and .3, and it also happens when
you close any active debug window.
--
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16159
Roger Serwy added the comment:
Hi Jimbo,
Clicking quit first avoids this problem, but I do agree that it does need to
be fixed.
This is also a duplicate of issue15348. I am closing this issue in favor of
that one. Please feel free to add yourself to the nosy list on that issue.
--
Changes by jimbo1qaz jimmyli1...@gmail.com:
--
nosy: +jimbo1qaz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15348
___
___
Python-bugs-list
New submission from R. David Murray:
Python 3.3.0+ (3.3:152d85b2da3a, Oct 6 2012, 13:17:54)
[GCC 4.6.3] on linux
Type help, copyright, credits or license for more information.
from types import SimpleNamespace
class Foo(SimpleNamespace):
... pass
...
y = Foo(bar=8, foo=9)
y
namespace()
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16160
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16129
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15111
___
Changes by Mike Hoy mho...@gmail.com:
--
nosy: +mikehoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13691
___
___
Python-bugs-list mailing list
Mike Hoy added the comment:
I imported this patch on 3.4 and it worked as expected on my system.
help('help') brings up info about help()
help(object) prints the docstring
help() invokes the help
--
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
I have verified that the __init__ function isn't executed when SimpleNamespace
is subclasses. I guess that's happening:
http://docs.python.org/py3k/c-api/typeobj.html?highlight=tp_init#PyTypeObject.tp_init
If the tp_new function returns an instance of some
1 - 100 of 106 matches
Mail list logo