Alexander Belopolsky added the comment:
+1 on adding an option to isoformat(). We already have an optional sep
argument, so the symmetry with __str__ is not complete. To make this option
more useful, rather than implementing always_emit_microseconds=False flag, I
would add a keyword
New submission from ThiefMaster:
The view objects for `collections.OrderedDict` do not implement `__reversed__`
so something like this fails:
from collections import OrderedDict
od = OrderedDict()
reversed(od.viewvalues())
Traceback (most recent call last):
File stdin,
Mark Lawrence added the comment:
If it ain't broke don't fix it.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19499
___
___
STINNER Victor added the comment:
Is that a reasonable possibility before beta 1, or do we need to bump this
one to 3.5?
My patch was not reviewed yet and must be reimplemented in C. I will not have
time before the beta1 to finish the work.
--
Cameron Allan added the comment:
Done using Notepad++ and regex as needed.
Also changed file name appropriately.
--
nosy: +c3n9
Added file: http://bugs.python.org/file32510/customize.diff
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset b93614f7ed83 by Victor Stinner in branch 'default':
Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, handle
http://hg.python.org/cpython/rev/b93614f7ed83
New changeset 00ee08fac522 by Victor Stinner in branch 'default':
Issue #19437: Fix
Changes by Claudiu.Popa pcmantic...@gmail.com:
--
nosy: +Claudiu.Popa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15745
___
___
Python-bugs-list
Fred L. Drake, Jr. added the comment:
Not a foolish consistency; Guido ruled long ago that American spellings should
be used.
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19504
Eric Snow added the comment:
+0 to just doing a reload. At the point you show someone import this, it may
be premature to be explaining reloading to them. Python is great because you
usually don't have to hand-wave through some concepts in order to explain
others. [1]
Also, under Python 3
Zachary Ware added the comment:
Looks like the last commit broke 8.5.15 on Windows; in particular, on line 25
of widget_tests.py, int_round doesn't exist. Replacing 'int_round' with
'round' allows most tests to pass, but I still get these two failures:
Georg Brandl added the comment:
IMO the fact that importing happens only once is also a very important one, so
much the better this helps in learning it early.
The bad thing is that opening this.py to see what's happening will not really
enlighten the beginner :)
--
Roundup Robot added the comment:
New changeset d5d0356ba5ac by Serhiy Storchaka in branch '3.3':
Fix typo in tkinter tests (issue #19085).
http://hg.python.org/cpython/rev/d5d0356ba5ac
New changeset fc4ef17c7db8 by Serhiy Storchaka in branch 'default':
Fix typo in tkinter tests (issue #19085).
Serhiy Storchaka added the comment:
Thank you Zachary.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19085
___
___
Python-bugs-list mailing
Roundup Robot added the comment:
New changeset eb126f976fa2 by Serhiy Storchaka in branch '2.7':
Fix test_insertwidth Tkinter tests on Tk 8.5 with patchlevel = 8.5.12 (issue
#19085).
http://hg.python.org/cpython/rev/eb126f976fa2
New changeset 21fbe3ec90dc by Serhiy Storchaka in branch '3.3':
Zachary Ware added the comment:
Working from ce08158e3f6c with 8.5.15 on Windows, I get the same failures with
a different AssertionError:
==
FAIL: test_insertwidth (tkinter.test.test_tkinter.test_widgets.EntryTest)
Charles-François Natali added the comment:
Here's an updated patch with a better logic: in the previous version - based on
current poll-based implementation, the FD was inferred from the event (i.e.
read ready - stdout/stderr, write ready - stderr). The new version directly
checks the ready
Zachary Ware added the comment:
FTR, both 8.5.11 and 8.6.1 pass all tests on Windows from ce08158e3f6c (with
unrelated modifications required to build and use 8.6.1).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19085
Roundup Robot added the comment:
New changeset c97600bdd726 by Serhiy Storchaka in branch '2.7':
Revert wrong change in previous commit (issue #19085).
http://hg.python.org/cpython/rev/c97600bdd726
New changeset bec6df56c053 by Serhiy Storchaka in branch '3.3':
Revert wrong change in previous
Serhiy Storchaka added the comment:
My fault. I missed that here is simple checkParam() instead of
checkPixelsParam(). Thank you Zachary.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19085
Andrei Dorian Duma added the comment:
I would like to implement this feature. I already wrote the Python part. Is
there anything else to decide?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19475
STINNER Victor added the comment:
2013/11/5 Alexander Belopolsky rep...@bugs.python.org:
+1 on adding an option to isoformat(). We already have an optional sep
argument, so the symmetry with __str__ is not complete. To make this option
more useful, rather than implementing
New submission from STINNER Victor:
The following code copies data, whereas the copy can be avoided using a memory
view:
chunk = self._input[self._input_offset:self._input_offset + _PIPE_BUF]
self._input_offset += os.write(key.fd, chunk)
It should be replaced with:
input_view =
Changes by STINNER Victor victor.stin...@gmail.com:
--
type: - performance
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19506
___
___
STINNER Victor added the comment:
subprocess_selectors-3.diff looks good to me (this patch does not
remove any test :-))
I created the issue #19506 for the memoryview optimization.
--
___
Python tracker rep...@bugs.python.org
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19505
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka, stutzbach
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19505
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +zach.ware
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15411
___
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +zach.ware
stage: needs patch - patch review
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9949
___
Alexander Belopolsky added the comment:
+1 on all Victor's points.
I like 'resolution' because this is the term that datetime module uses already:
from datetime import *
datetime.resolution
datetime.timedelta(0, 0, 1)
There is a slight chance of confusion stemming from the fact that
Marc-Andre Lemburg added the comment:
On 05.11.2013 21:31, STINNER Victor wrote:
2013/11/5 Alexander Belopolsky rep...@bugs.python.org:
+1 on adding an option to isoformat(). We already have an optional sep
argument, so the symmetry with __str__ is not complete. To make this option
New submission from Christian Heimes:
I find it surprising that wrap_socket() doesn't verify the server name with
match_hostname() when it is called with a server_name argument. The check
should be done by default.
I suggest:
- add validate_hostname=True flag to wrap_socket() and functions
New submission from Christian Heimes:
Developers are still surprised that Python's ssl library doesn't validate SSL
certs by default. We should add a *big* warning to the SSL module as well as to
all consumers (http, ftp, imap, pop, smtp, nntp ...) that neither the CA cert
chain nor the
New submission from Christian Heimes:
None of the TLS/SSL classes for ftp, imap, nntp, pop and smtp have support for
match_hostname() in order to verify that the SSL cert matches the host name.
I'm not sure how we can handle the problem without creating backwards
incompatibilities.
Eric Snow added the comment:
The view objects aren't sequences. od.items() and od.keys() implement Set.
od.values() doesn't even do that much, only implementing __len__(), __iter__(),
and __contains__().
The glossary implies that you should use reversed(list(view)). [1] More
information
New submission from Augie Fackler:
While tinkering (again) with Mercurial Python 3 messes, I ran across this gem:
import error, osutil, encoding, collections
(http://selenic.com/hg/file/e1317d3e59e1/mercurial/util.py#l17)
That import statement contains 3 relative imports (that is,
Arnaud Faure added the comment:
Corrected and cleaned
--
Added file: http://bugs.python.org/file32512/modify_data_use_a_shortcut.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19497
___
Chris Cooper added the comment:
Here's a patch that focuses on the json module, with a smaller pickle section
including the warning from the pickle docs.
--
nosy: +ChrisCooper
Added file: http://bugs.python.org/file32513/issue18840
___
Python
Piet van Oostrum added the comment:
I think future versions of Python should add the relevant information about how
they are linked to Tcl/Tk in sysconfig. This would include the path of the
include files, the shared libraries and the tcl files. Or a framework location
on OS X if this is
Ned Deily added the comment:
Piet, yes, I've been thinking of how to do that. Unfortunately, it can only be
a hint since, in the case of an installer Python, there is no guarantee that
the header files on the build machine are available on the installed machine in
the same location or even
Jason Myers added the comment:
This is a patch based on terry.reedy 's suggestion
--
keywords: +patch
nosy: +Jason.Myers
Added file: http://bugs.python.org/file32514/docstring.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 99640494ca7f by Zachary Ware in branch 'default':
#19439: Update PCbuild/readme.txt with new sub-project
http://hg.python.org/cpython/rev/99640494ca7f
--
___
Python tracker rep...@bugs.python.org
101 - 141 of 141 matches
Mail list logo