Kristján Valur Jónsson added the comment:
Sounds fine.
Just a note to my original intent in #7741:
We were using the InteractiveConsole class to implement a remote web-based
console for our EVE servers. Often, as a means to hot-fix certain issues, we
would paste code snippets into these
Serhiy Storchaka added the comment:
I found one bug and add some nitpicks and optimization suggestion on Rietveld.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7330
Paddy McCarthy added the comment:
On 06/12/2012 14:31, Ezio Melotti wrote:
Ezio Melotti added the comment:
I agree. The examples in the doc seem clear to me, whereas the ones you
proposed are not as clear. Do you think there's something that they don't
currently cover that should be
Ezio Melotti added the comment:
Usually we add plain Python equivalents when they are simple enough that the
code equivalent is as understandable as the prose or more (see for example
http://docs.python.org/3/library/functions.html#all, or the itertools functions
you mentioned).
For this case
Vinay Sajip added the comment:
Vinay, do you think dereferencing sys.executable could lead to trouble with
venvs?
It could - the venv code looks for a venv configuration file relative to
sys.executable, which could be a symlink into a system-wide Python
installation. Resolving the symlink
Nick Coghlan added the comment:
Good to know - I guess in most circumstances copy-and-paste already works,
because the input will be arriving via a line-buffered IO stream.
I was thinking that with #16649 implemented, it would be possible to simply
switch from single to exec, without users
Serhiy Storchaka added the comment:
However Python doesn't work with bytes filenames (I don't think this is a bug).
The proposed patch allows unicode filenames be used in SAX parser.
--
keywords: +patch
nosy: +serhiy.storchaka
stage: - patch review
Added file:
Antoine Pitrou added the comment:
Thank you Eric!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13512
___
___
Python-bugs-list mailing list
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16650
___
___
Python-bugs-list
Nadeem Vawda added the comment:
# Using zlib's interface
while not d.eof:
compressed = d.unconsumed_tail or f.read(8192)
if not compressed:
raise ValueError('End-of-stream marker not found')
output = d.decompress(compressed, 8192)
#
Roundup Robot added the comment:
New changeset c40f4c19d20b by Antoine Pitrou in branch 'default':
Issue #13390: New function :func:`sys.getallocatedblocks()` returns the number
of memory blocks currently allocated.
http://hg.python.org/cpython/rev/c40f4c19d20b
--
nosy: +python-dev
Antoine Pitrou added the comment:
Committed and pushed!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13390
Lukas Lueg added the comment:
Only way to be sure: Enable announce for 3.5 and wait for bug reports
--
nosy: +ebfe
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16632
___
Christian Heimes added the comment:
DEP isn't much of an issue. It's automatically disabled for the entire process
when one library w/o DEP is loaded.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16632
Roundup Robot added the comment:
New changeset d8300842a0e9 by Antoine Pitrou in branch '3.2':
Issue #16248: Disable code execution from the user's home directory by tkinter
when the -E flag is passed to Python.
http://hg.python.org/cpython/rev/d8300842a0e9
New changeset 10d04bdb05ab by
Roundup Robot added the comment:
New changeset 822b472eff13 by Antoine Pitrou in branch '2.7':
Issue #16248: Disable code execution from the user's home directory by tkinter
when the -E flag is passed to Python.
http://hg.python.org/cpython/rev/822b472eff13
--
Antoine Pitrou added the comment:
Fixed. I will let Benjamin and Barry decide whether this deserves backporting
to security branches. Benjamin, Barry, please do your job :)
--
nosy: +barry, benjamin.peterson
resolution: - fixed
stage: - committed/rejected
status: open - pending
Berker Peksag added the comment:
This looks like a duplicate of issue 1748064.
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16490
___
Roundup Robot added the comment:
New changeset 03b3124e9ea3 by Antoine Pitrou in branch '3.1':
Issue #16248: Disable code execution from the user's home directory by tkinter
when the -E flag is passed to Python.
http://hg.python.org/cpython/rev/03b3124e9ea3
--
status: pending - open
Benjamin Peterson added the comment:
I'm sort of surprised single doesn't handle that already. Should it not?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16649
___
Roundup Robot added the comment:
New changeset 5a022c21ad84 by Richard Oudkerk in branch 'default':
Issue #16616: Enable test in test_poll which was (accidentally?) disabled
http://hg.python.org/cpython/rev/5a022c21ad84
--
nosy: +python-dev
___
Serhiy Storchaka added the comment:
Patch updated. It can be simpler.
--
Added file:
http://bugs.python.org/file28269/smtplib_LMTP_connect_raise_err_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16647
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file:
http://bugs.python.org/file28264/smtplib_LMTP_connect_raise_err.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16647
___
Andrew Svetlov added the comment:
The patch LGTM.
About _handle_exitstatus: I guess nothing wrong to fix it also.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16650
___
Serhiy Storchaka added the comment:
I'm just asking if this is a bug. If using building exceptions is safe, then we
can get rid of _os_error and _ECHILD in 3.3+, using OSError and
ChildProcessError instead.
--
___
Python tracker
Serhiy Storchaka added the comment:
you can just stick if not output: continue before it.
And then hang. Because d.unconsumed_tail is not empty and no new data will be
read.
Why is this necessary? If unconsumed_tail is b'', then there's no need to
prepend it (and the concatenation would be
Gregory P. Smith added the comment:
it's a potential bug. your patch looks good.
as for _handle_exitstatus referring to SubprocessError, that is fine. In that
situation it is trying to raise the exception and the only time that would ever
be a problem is when called by the gc during a
New submission from Brett Cannon:
I'm wondering which modules in the stdlib lack pure Python implementations (and
could legitimately have one, e.g. sqlite can't really have a pure Python
implementation). Once we know how big/small the list is a decision could be
made as to whether to take on
Serhiy Storchaka added the comment:
array
audioop
binascii
random
re
struct
xml.parsers.expat
cjkcodecs
zlib, bz2, lzma and crypts also can be implemented in pure Python.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
Changes by Alex Gaynor alex.gay...@gmail.com:
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16651
___
___
Python-bugs-list mailing
Christian Heimes added the comment:
hashlib backends (md5, sha1, sha256 / 384 / 512) either through openssl
wrappers or implementations based on libtomcrypt.
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
Stefan Krah added the comment:
Here are some things that I'm interested in right now:
1) From what kind of data structure are signature objects generated?
2) Is there an easy way to do this manually?
3) Can at least part of the verboseness go into header files (virtually
all
Larry Hastings added the comment:
I disagree that the Clinic DSL is verbose. Certainly I find it
more succinct than what we do now.
On the other hand, the syntax you proposed in the python-dev message
you cite is insufficient to the task. Consider a function that
takes a char *. How might
Antoine Pitrou added the comment:
Le dimanche 09 décembre 2012 à 19:20 +, Stefan Krah a écrit :
If I'm the only one who is slightly bothered by the aesthetic and readability
aspects, then 5) obviously need not be discussed.
You're not the only one. The vertical space argument also
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16651
___
___
New submission from R. David Murray:
From the docs it isn't quite clear if getfqnd() does the equivalent of:
gethostbyaddr('127.0.0.1')
or
gethostbyaddr(gethostbyname(gethostname()))
It matters which it is, when debugging a host's name configuration and DNS
server problems.
--
telmich added the comment:
Anyone alive at bugs.python.org?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16308
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset e1ba514ddcd2 by Senthil Kumaran in branch '3.2':
Fix issue13211 - Document the reason attribute for urllib.error.HTTPError
http://hg.python.org/cpython/rev/e1ba514ddcd2
--
___
Python tracker
Senthil Kumaran added the comment:
Thanks for raising the bug and patch, Berker Peksag.
Fixed in all versions.
--
nosy: +orsenthil
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16634
New submission from Xavier de Gaye:
The following debugging session, run with python on the default branch, shows
that pdb does not stop in __del__ when it is invoked.
The reason is:
- The destructor is not called when processing the 'c = 1' statement because
foo frame.f_locals owns a
Eric V. Smith added the comment:
I agree on just switching to rpmbuild, at least for 3.4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11122
___
Roundup Robot added the comment:
New changeset fed68e0bce53 by Andrew Svetlov in branch '3.2':
Issue #16582: use int exit code in tkinter._exit
http://hg.python.org/cpython/rev/fed68e0bce53
New changeset e39677feabe0 by Andrew Svetlov in branch '3.3':
Issue #16582: use int exit code in
Andrew Svetlov added the comment:
Fixed. Thanks.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16582
___
Xavier de Gaye added the comment:
Tracing/profiling is disabled when tstate-tracing is true or
tstate-use_tracing is false. The proposed patch fixes the problem by reducing
the scope where this condition is true.
As a consequence call_trace, profile_trampoline, trace_trampoline and
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +georg.brandl
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16653
___
Nick Coghlan added the comment:
Not when the string is provided as one big block of text. I haven't checked
yet if including a blank line after compound statements makes a difference,
though.
--
___
Python tracker rep...@bugs.python.org
Changes by Chris Withers ch...@simplistix.co.uk:
--
nosy: -cjw296
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7741
___
___
Python-bugs-list
New submission from stephenhohs:
Numerous attempts were made to install (and deinstall) IDLE along with getting
the recommended version of ActiveTCL. IDLE will always give a print syntax
error with one liners print hello, world. This is occurring for Mac OS 10.6.8
--
components:
Chris Jerdonek added the comment:
Would it make sense for this list to be somehow reflected in or be
reconstructible from the documentation?
--
nosy: +chris.jerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16651
Raymond Hettinger added the comment:
+1 The patch looks fine.
Éric do you want to apply it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16049
___
Chris Jerdonek added the comment:
FYI, in the 3.2 branch I get 4 failures rather than just the one due to int:
$ ./python.exe Lib/idlelib/CallTips.py
int - expected
'int(x[, base]) - integer'
- but got
'int(x=0) - integer'
list.append - expected
'L.append(object) - None -- append object to
Roundup Robot added the comment:
New changeset 181c170c6270 by Chris Jerdonek in branch '3.2':
Issue #16629: Fix IDLE idlelib.CallTips test. Patch by Roger Serwy.
http://hg.python.org/cpython/rev/181c170c6270
--
___
Python tracker
Roundup Robot added the comment:
New changeset 181c170c6270 by Chris Jerdonek in branch '3.2':
Issue #16629: Fix IDLE idlelib.CallTips test. Patch by Roger Serwy.
http://hg.python.org/cpython/rev/181c170c6270
New changeset 5182cc18b7b4 by Chris Jerdonek in branch '3.3':
Issue #16629: Merge
Chris Jerdonek added the comment:
Thanks a lot, Roger!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16629
New submission from Chris Jerdonek:
There are three IDLE test failures in the 3.2 branch:
$ ./python.exe Lib/idlelib/CallTips.py
list.append - expected
'L.append(object) - None -- append object to end'
- but got
'L.append(object) -- append object to end'
[].append - expected
'L.append(object)
Chris Jerdonek added the comment:
I created issue 16655 for the three test failures I observed above.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16629
___
R. David Murray added the comment:
The statement
print hello world
is indeed invalid syntax in Python3.
--
nosy: +r.david.murray
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker
stephenhohs added the comment:
You are right.
Thanks
Stephen M. Hohs
smh...@aol.com
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16654
___
Ben Hoyt added the comment:
Either way -- this needs to be reverted or fixed. It's a nasty gotcha for folks
writing Python web services at the moment. I'm still for reverting, per my
reasons above.
Dave Chambers, I'm not for faster but broken but for faster and fixed --
from what I've shown
danblack added the comment:
I've added a full set of alert descriptions and cleaned up the doco some more.
The reference counting when the SNI callback comes in is my greatest worry.
--
Added file: http://bugs.python.org/file28271/issue-8109-sni-serverside.patch
Dave Chambers added the comment:
removing read_windows_registry()
If you're suggesting hardcoding *ALL* the mimetypes for *ALL* OSes, I think
that's probably the best overall solution.
No variability, as fast as can be.
The downside is that there would occasionally be an unrecognized type,
Ben Hoyt added the comment:
Actually, I was suggesting using the hardcoded types for Windows only (i.e.,
only removing read_windows_registry). Several bugs have been opened on problems
with the Windows registry mimetypes, but as far as I know this isn't an issue
on Linux -- in other words, if
danblack added the comment:
the one error in the previous review corrected.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10852
___
___
Paddy McCarthy added the comment:
On 09/12/2012 10:55, Ezio Melotti wrote:
Ezio Melotti added the comment:
Usually we add plain Python equivalents when they are simple enough that the
code equivalent is as understandable as the prose or more (see for example
Larry Hastings added the comment:
What lines end with a colon?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16612
___
___
Python-bugs-list
Chris Jerdonek added the comment:
What lines end with a colon?
He probably means semicolon, for example:
+int dir_fd = DEFAULT_DIR_FD;
+default=None
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16612
Antoine Pitrou added the comment:
What lines end with a colon?
He probably means semicolon, for example:
+int dir_fd = DEFAULT_DIR_FD;
+default=None
Oops, yes, sorry. Semicolon indeed.
--
___
Python tracker rep...@bugs.python.org
67 matches
Mail list logo