Changes by Serhiy Storchaka storch...@gmail.com:
--
type: - behavior
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22107
___
New submission from Mark Summerfield:
On Windows IDLE's working directory is Python's install directory, e.g.,
C:\Python34. ISTM that this is the wrong directory for 99% of general users and
for 100% of beginners since this is _not_ the directory where people should
save their own .py files
New submission from Mark Summerfield:
The turtle module is aimed primarily at young beginners to Python. Making them
type turtle.this and turtle.that all over the place is tedious and unhelpful.
At the start of the turtle docs there's a nice example that begins
from turtle import *
and the
Changes by Anthony Kong anthony.hw.k...@gmail.com:
--
nosy: +Anthony.Kong
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22116
___
___
New submission from Mark Summerfield:
Right now object() does not accept any args and returns the lightest possible
featureless object (i.e., without even a __dict__).
This is great.
However, it is really useful sometimes to be able to create an object to hold
some editable state (so not a
STINNER Victor added the comment:
It would be better to only modify clinic for unsigned types, but how do you
check if a type is signed or not?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22120
Stefan Behnel added the comment:
FWIW, functions in Cython (which C-level-inherit from PyCFunction) support weak
references just fine. Adding that as a general feature to PyCFunction sounds
like the right thing to do.
--
nosy: +scoder
___
Python
Daniel Eriksson added the comment:
Added Matt Behrens test to Lars Gustäbel 2.7 version.
--
nosy: +dan...@starstable.com
Added file: http://bugs.python.org/file36202/issue21987_py2.7_with_test.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Either override render() for unsigned type converters, or add new converter
attribute (in additional to type, cast, conversion_fn, etc).
--
___
Python tracker rep...@bugs.python.org
Daniel Eriksson added the comment:
Tested and it works fine on CentOS 6.4 in 2.7, 3.4 and 3.5
--
nosy: +dan...@starstable.com, ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21827
Jason Robinson added the comment:
I took the patches and verified that;
* running the new tests without the changed code in Lib/email/feedparser.py
(head) and Lib/httplib.py, Lib/rfc822.py (2.7) fails both the new tests.
* running the new tests with the changed code passes the tests (on both
Daniel Eriksson added the comment:
I have tested both patches on CentOS 6.4 and Eduardo Seabra:s patch works
correctly with symlinks=True
--
nosy: +dan...@starstable.com
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21697
Raymond Hettinger added the comment:
I've got it from here.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21827
___
___
Python-bugs-list
Jason Robinson added the comment:
platform.linux_distribution is being deprecated in 3.5 and removed in 3.6 as
stated in comment http://bugs.python.org/issue1322#msg207427 in issue #1322
I'm guessing this issue should be closed when that patch is merged in?
--
nosy: +jaywink
Jason Robinson added the comment:
platform.linux_distribution is being deprecated in 3.5 and removed in 3.6 as
stated in comment http://bugs.python.org/issue1322#msg207427 in issue #1322
I'm guessing this issue should be closed when that patch is merged in?
--
nosy: +ezio.melotti,
Charles-François Natali added the comment:
This patch should probably be moved to its own issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22120
___
Roundup Robot added the comment:
New changeset 0e2e47c1f205 by Ezio Melotti in branch 'default':
#15114: the strict mode and argument of HTMLParser, HTMLParser.error, and the
HTMLParserError exception have been removed.
http://hg.python.org/cpython/rev/0e2e47c1f205
--
Ezio Melotti added the comment:
3.5 is done.
Closing.
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
STINNER Victor added the comment:
Here is a a patch which replaces loop.create_task(coro) with
asyncio.async(coro), mention that asyncio.async() can be used to scheduler a
coroutine, and make it clear that create_task() is only available in Python
3.4.2 and later.
Does it look better?
If
Alexander Grigorievskiy added the comment:
I have added some clarification following Westley Martínez recommendation. I
provided references to the list comprehensions and generator expressions. I
tried to make the description short.
--
keywords: +patch
nosy: +AlexGrig
Added file:
Changes by Charles-François Natali cf.nat...@gmail.com:
--
Removed message: http://bugs.python.org/msg224550
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22120
___
STINNER Victor added the comment:
Hum, I forgot the attach the most important patch: fix_warnings.patch.
--
Added file: http://bugs.python.org/file36205/fix_warnings.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22120
Tuikku Anttila added the comment:
Added to the documentation of zipfile.ZipFile.read() that the method will throw
a NotImplementedError when the compression scheme of the ZipFile is something
else than ZIP_STORED, ZIP_DEFLATED, ZIP_BZIP2 or ZIP_LZMA.
--
keywords: +patch
nosy:
Daniel Eriksson added the comment:
Update the patch - issue_14910_3.diff
argparse.rst - merging conflicts
--
nosy: +dan...@starstable.com
Added file: http://bugs.python.org/file36207/issue_14910_3.diff
___
Python tracker rep...@bugs.python.org
Wei Wu added the comment:
I have made a patch related to this issue, please take a look at it. Thanks :)
--
nosy: +kilowu
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22116
___
Changes by Wei Wu we...@cacheme.net:
--
keywords: +patch
Added file: http://bugs.python.org/file36208/22116.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22116
___
Sowmya added the comment:
Hi,
I have created a patch for this bug.
The Misc/README.valgrind now mentions the --with-valgrind configure options.
--
keywords: +patch
nosy: +sowmya-ravidas
type: enhancement -
Added file: http://bugs.python.org/file36209/patch.diff
Martin v. Löwis added the comment:
What problem does this solve?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22117
___
___
Stefan Behnel added the comment:
Patch looks ok. Not sure about the test dependency from test_weakref.py to
_testcapi, though. Is that module allowed to be used everywhere? Wouldn't it be
enough to test that one of the builtin functions is now weak referencible?
len seems to be used in other
Serhiy Storchaka added the comment:
Parser reads from input file small chunks (8192 churacters) and feed FeedParser
which pushes data into BufferedSubFile. In BufferedSubFile.push() chunks of
incomplete data are accumulated in a buffer and repeatedly scanned for
newlines. Every push() has
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21448
___
___
Jason Robinson added the comment:
Here is a patch that hopefully does what was intended. All the tests passed
locally, hopefully the tests we're adapted correctly to the new location of the
files. My first patch :)
I added a new data file 'doctest_DocFileSuite_test.txt' to Lib/test to keep
Evans Mungai added the comment:
Backport for test_tarfile.py
--
nosy: +evans.mungai
versions: +Python 2.7 -Python 3.3, Python 3.4
Added file: http://bugs.python.org/file36212/issue7944_tarfile_2_7.diff
___
Python tracker rep...@bugs.python.org
Vivek Balakrishnan added the comment:
Patch that adds wait parameter to shutil.rmtree.
--
keywords: +patch
nosy: +Vivek.Balakrishnan
Added file: http://bugs.python.org/file36213/shutil_wait.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
What if other program will create a file with same name in short time after
deletion? Then rmtree() will hang in infinity loop.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
Eli Bendersky added the comment:
Daniel, I left some comments in Rietveld. Also it doesn't seem that you
addressed the previously left comments when you fixed up the patch.
--
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22024
___
___
Daniel Eriksson added the comment:
Updated the patch for 2.7 to raise HTTPException instead of a new Exception.
--
nosy: +clearminds
Added file: http://bugs.python.org/file36214/issue_16037_py27_v3.diff
___
Python tracker rep...@bugs.python.org
Vivek Balakrishnan added the comment:
With respect to msg224566, is a default timeout a good solution?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22024
___
STINNER Victor added the comment:
Tell me if you prefer to review shorter patches. I can try to only add new
functions, then use new functions, and finally remove new functions.
Oh, i should read what i wrote before pushing the submit button. The last
part isremove the old functions...
STINNER Victor added the comment:
Le samedi 2 août 2014, Martin v. Löwis rep...@bugs.python.org a écrit :
What problem does this solve?
My patch detects overflows which are not detected yet. Currently i guess
that the behaviour on overflow is undefined. I should test each function.
I also
Serhiy Storchaka added the comment:
On Linux and some other systems there is an API which allow you to subscribe
on notifications about file system events (in particular on deleting specified
file). There are modules which provides Python interface to it (e.g. python-
inotify, inotifyx,
Stefan Krah added the comment:
Hi Sowmya. Currently we have the option to use --with-valgrind or
the old method --without-pymalloc. Both methods work.
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18859
Roundup Robot added the comment:
New changeset 4425024f2e01 by Ezio Melotti in branch 'default':
#21047: set the default value for the *convert_charrefs* argument of HTMLParser
to True. Patch by Berker Peksag.
http://hg.python.org/cpython/rev/4425024f2e01
--
nosy: +python-dev
Roundup Robot added the comment:
New changeset 5b95f3fdcc0b by Ezio Melotti in branch 'default':
#15114, #21047: update whatsnew in Python 3.5.
http://hg.python.org/cpython/rev/5b95f3fdcc0b
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 5b95f3fdcc0b by Ezio Melotti in branch 'default':
#15114, #21047: update whatsnew in Python 3.5.
http://hg.python.org/cpython/rev/5b95f3fdcc0b
--
___
Python tracker rep...@bugs.python.org
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22123
___
___
Python-bugs-list mailing
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22121
___
___
Python-bugs-list
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22122
___
___
Python-bugs-list
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22123
___
___
Python-bugs-list
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21047
___
Raymond Hettinger added the comment:
I'm looking at the patch today.
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21448
___
Serhiy Storchaka added the comment:
This will be fragile because the behavior will be depend from the number of
keyword argument. Hypothetic example:
kwargs = {'a': 1}
obj = object(**kwargs)
obj.b = 2 # success
kwargs = {} # empty
obj = object(**kwargs)
obj.b = 2
Traceback (most recent
Serhiy Storchaka added the comment:
When I start IDLE (python -m idle) from my project directory I expect that it
doesn't change current directory and I can access files in this directory by
short relative name.
--
nosy: +serhiy.storchaka
___
Guido van Rossum added the comment:
Looks good!
On Sat, Aug 2, 2014 at 4:19 AM, STINNER Victor rep...@bugs.python.org
wrote:
STINNER Victor added the comment:
Here is a a patch which replaces loop.create_task(coro) with
asyncio.async(coro), mention that asyncio.async() can be used to
Ethan Furman added the comment:
We should be able to add enough smarts to handle both cases.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22121
___
Mark Lawrence added the comment:
As a work around for the originator how about
pyobject = object # keep reference to built-in.
from types import SimpleNamespace as object
help(object)
Help on class SimpleNamespace in module types:
...
???
--
nosy: +BreamoreBoy
Ned Deily added the comment:
FWIW, on OS X when IDLE is launched from the Finder, for example by
double-clicking on an IDLE icon, IDLE defaults to using the user's Documents
folder as its working directory. When IDLE is launched from a command line
shell, it uses the current working
Serhiy Storchaka added the comment:
GlobTests.glob() tests that glob() for bytes returns the same (encoded) result
as glob() for string. Therefore this patch is not needed, it doesn't increase
test coverage.
--
nosy: +serhiy.storchaka
___
Python
Serhiy Storchaka added the comment:
The same is on Linux. Therefore this is Windows only issue.
--
components: +Windows
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22121
___
New submission from Sai Krishna G:
Hi, I am trying to rotate list of 3 to left
for this I am trying to define this function
def rotate_left3(nums)
#argument nums is list
for example
rotate_left3([1, 2, 3])
I am expecting value [2,3,1] in return. I have written the following code
a = nums
Terry J. Reedy added the comment:
Mark's opening statement is incomplete. The actual situation is more complex,
and probably not documented anywhere except in the code -- and the
system-specific behavior not even there. Let 'working directory' mean the
initial directory of an Open or Save As
Terry J. Reedy added the comment:
I think your suggestion is wrong as is and that this issue should be revised or
closed. The simple initial example is a complete program. PEP8 discourages
'import *' but it is acceptable in this context. The snippets you refer to
follow
24.1.3. Methods of
Donald Stufft added the comment:
I think we probably want to revert that particular change. Afaik it wasn't
added to 3.4 because of the danger of breaking things so we probably shouldn't
add it to 2.7.
--
___
Python tracker rep...@bugs.python.org
Zachary Ware added the comment:
This is not a bug. The assignment a = nums doesn't create a copy of nums,
it just assigns the name a to the same object that nums refers to. Since
lists are mutable, changes made to a are visible through the name nums. By
the time you do a[2] = nums[0],
Raymond Hettinger added the comment:
I think the push() code can be a little cleaner. Attaching a revised patch
that simplifies push() a bit.
--
assignee: rhettinger - serhiy.storchaka
Added file: http://bugs.python.org/file36216/fix_email_parse.diff
Raymond Hettinger added the comment:
Windows has FindFirstChangeNotification and FileSystemWatcher:
* http://msdn.microsoft.com/en-us/library/aa364417%28VS.85%29.aspx
* http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx
--
nosy: +rhettinger
New submission from David Wilson:
The attached patch (hopefully) silences the signedness warnings generated by
Visual Studio and reported on python-dev in
https://mail.python.org/pipermail/python-dev/2014-July/135603.html.
This was sloppiness on my part, I even noted the problem in the
Raymond Hettinger added the comment:
We do have prominent entries in the glossary and tutorial:
https://docs.python.org/2.7/glossary.html#term-list-comprehension
https://docs.python.org/2.7/tutorial/datastructures.html#list-comprehensions
Moving it earlier in the tutorial is likely to do more
Terry J. Reedy added the comment:
Making types.SimpleNamespace more easily available might be a good idea.
Screwing around with our fundamental base class to do so is not. Neither is
rebinding the builtin name 'object'. Find a different way to accomplish the
goal.
SimpleNamespace *could*
Mark Lawrence added the comment:
To ensure that we're all talking about the same thing, is everybody using the
/u unicode output option or /a ansi (which I'm assuming is the default) when
running cmd?
--
nosy: +BreamoreBoy
___
Python tracker
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20323
___
___
Mark Lawrence added the comment:
Apart from the request for a comment made in msg192649 it looks as if this can
be commited.
--
nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware -brian.curtin
versions: +Python 3.5 -Python 3.3
___
Python
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +steve.dower, tim.golden, zach.ware
versions: +Python 3.4, Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19955
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18611
___
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
type: behavior - enhancement
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18645
___
Mark Lawrence added the comment:
@Andrew could you put up a patch for this?
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18423
___
Mark Lawrence added the comment:
@Andrew your words describe the Cursor execute method but your examples show
the Connection execute method, can you clarify please.
--
nosy: +BreamoreBoy, ghaering
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
@Serhiy will you be proposing a patch for this?
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18697
Meador Inge added the comment:
H, maybe I am missing some context, but why not avoid the casting and do?
diff --git a/Modules/_io/bytesio.c b/Modules/_io/bytesio.c
--- a/Modules/_io/bytesio.c
+++ b/Modules/_io/bytesio.c
@@ -47,7 +47,7 @@ typedef struct {
* exception and returns -1 on
Arfrever Frehtes Taifersar Arahesis added the comment:
GCC =4.5.0 (released on 2010-04-14) silently accepts and ignores
-Wunreachable-code option. I think that build system of Python should not pass
unused options to compiler.
--
nosy: +Arfrever
Amrith Kumar added the comment:
After some debugging and reading code in python's subprocess.py (v2.7), here's
what I'm seeing.
(a) the error has nothing to do with eventlet and monkey-patching.
(b) the code in _communicate_with_select() and potentially
_communicate_with_poll() are the
Raymond Hettinger added the comment:
Martin is this reasonable, doable, and worthwhile?
--
assignee: - loewis
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18645
___
Glenn Linderman added the comment:
Mark, the /U and /A switches to CMD only affect (as the help messages say) the
output of internal CMD commands. So they would only affect interoperability
between internal command output piped to a Python program. The biggest issue in
this bug, however, is
eryksun added the comment:
The buffer size only needs to be capped if WINVER 0x602. This issue doesn't
apply to Windows 8 since it uses the ConDrv device driver instead of LPC.
Prior to Windows 8, WriteFile redirects to WriteConsoleA when passed a console
handle. This makes an LPC call to
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
Removed message: http://bugs.python.org/msg224577
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21448
___
Stefan Behnel added the comment:
Looks like a duplicate of issue 17781. Ubuntu already does this for their
builds and gets substantially better performance, so I can't see a reason why
CPython shouldn't just follow.
--
nosy: +scoder
___
Python
87 matches
Mail list logo