Carol Willing added the comment:
@amylou Thank you for submitting this documentation suggestion about the Python
Tutorial.
This tutorial section, 4.7.1 Default Argument Values, tries to show that a
function can have multiple input arguments which may be given default values.
While the
Drekin added the comment:
I tried the following code:
import pdb
pdb.set_trace()
print(1 + 2)
print(αβγ∫)
When run in vanilla Python it indeed ends with UnicodeEncodeError as soon as it
hits the line with non-ASCII characters. However, the solution via
win_unicode_console package seems to
Julian Reschke added the comment:
An example URI for this issue is:
http://example.com/;
The RFC 3986 path component for this URI is /;.
After using urllib's parse function, how would you know?
(I realize that changing behavior of the existing API may cause problems, but
this is an
Donald Stufft added the comment:
I just noticed this issue. I think all that really needs done here is changing
the venv module to use subprocess.check_call instead of subprocess.check_output
when calling ensurepip.
--
___
Python tracker
Donald Stufft added the comment:
I do not know what setuptools plans on with regards to distlib sorry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23121
___
Walter Doekes added the comment:
No worries. I know how it is ;)
Thanks for the update.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23010
___
R. David Murray added the comment:
I mistyped 'josh' as 'joel', sorry.
Ethan covers it pretty well, but I'll add a few things.
Boolean operators are indeed not always used in a boolean context. There is a
long tradition in Python of using them to return values via the short-circuit
New submission from Terry J. Reedy:
Update tix install info in doc. Using tix starts with 3 lines for testing
one's tix install and continues
'''If this fails, you have a Tk installation problem which must be resolved
before proceeding. Use the environment variable TIX_LIBRARY to point to
New submission from Antoine Pitrou:
I suppose it was totally forgotten in the transition to 3.x, and nobody appears
to have complained. Perhaps we should remove it.
--
components: Demos and Tools, Library (Lib)
messages: 233375
nosy: christian.heimes, gregory.p.smith, pitrou
priority:
Roundup Robot added the comment:
New changeset e9f05a4a5f16 by Antoine Pitrou in branch 'default':
Issue #23143: Remove compatibility with OpenSSLs older than 0.9.8.
https://hg.python.org/cpython/rev/e9f05a4a5f16
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset 37c6fd09f71f by Antoine Pitrou in branch 'default':
Issue #23143: Remove compatibility with OpenSSLs older than 0.9.8.
https://hg.python.org/cpython/rev/37c6fd09f71f
--
___
Python tracker
Antoine Pitrou added the comment:
Thanks! Now done.
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23143
___
Terry J. Reedy added the comment:
Added Zach for Window build info, Ned for OSX info.
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23156
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23143
___
Donald Stufft added the comment:
+1, This sounds completely reasonable to do to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23143
___
___
John Potelle added the comment:
I'm learning Python and informing you this is confusing - and you close the
ticket without hearing any response to your questions?
Re: Josh
1. To show how to return a Boolean result from a Boolean clause. If there's a
better way, I'm all for it.
2. Most is a
New submission from Mark Lawrence:
I've suspected that this is the case for some time but I've confirmed it this
morning. I ran synchronize and the highest revision was 94004 Changes %s to
%ls in wprintf in launcher.c for C99 compatibility. As expected MSVC rebuilt
the launcher. Later I
R. David Murray added the comment:
Indeed, the short circuit and value return behavior is described in that
section just before the example.
I agree with Joel. This is a tutorial, and part of the zen of Python is that
all expressions have a boolean value. There are very few places in python
Zachary Ware added the comment:
To clarify a bit, there's very little re-compiling, but everything that
references the pythoncore project (every extension) is re-linked. There's no
way around that short of not including the hg revision (which I won't accept
:), but the re-linking only takes a
Steve Dower added the comment:
This is because the hg id result has changed and we embed that into
python35.dll. You'll see the same thing after an edit too (when the revision
has + added).
--
___
Python tracker rep...@bugs.python.org
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +steve.dower, tim.golden, zach.ware
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20983
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11240
___
___
Python-bugs-list
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +steve.dower, zach.ware
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14302
___
Mark Lawrence added the comment:
No objections so proceeding is in order here I take it?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17202
___
New submission from Thomas Klausner:
On NetBSD with python-3.4.2 I see the following issue when running the tests
for py-flake8-2.2.5:
running build_ext
test_get_parser (flake8.tests.test_engine.TestEngine) ... ok
test_get_python_version (flake8.tests.test_engine.TestEngine) ... ok
Ethan Furman added the comment:
Apologies, my wording was poor -- the last item evaluated is the one returned,
but all items may not be evaluated. As soon as the answer is known Python
stops evaluating any remaining items.
So in the example:
-- string1, string2, string3 = '', 'Trondheim',
Senthil Kumaran added the comment:
On Saturday, January 3, 2015 at 12:46 AM, Julian Reschke wrote:
An example URI for this issue is:
http://example.com/;
The RFC 3986 path component for this URI is /;.
I think, a stronger argument might be desirable (something like a real world
scenario
Zachary Ware added the comment:
Hmmm, what are sections 3 and 4? Are you building from the VS GUI or
Command Prompt?
From Command Prompt in a clean checkout, running PCbuild\build.bat -d -e
(debug build) should take several minutes. The same again should be quick,
and then just
Mark Lawrence added the comment:
I build from the GUI. I've just tried the Release build, it very quickly
rebuilt the first four items and said the rest were up to date. I switched to
Debug and got the output in the attached file. This is what I meant earlier by
the effect toggling between
Terry J. Reedy added the comment:
A minimal test would be that the one in the doc.
from tkinter import tix
root = tix.Tk()
root.tk.eval('package require Tix')
This passes on my 3.4.2 win7. I believe the first line should work on any
system with _tkinter, whereas
Mark Lawrence added the comment:
Then we're not talking about the same thing. Maybe my setup is wrong, but a
load of files were recompiled (from memory I think from sections 3 and 4 of the
Release build) so it took minutes rather than fractions of a second.
--
Changes by Mark Lawrence breamore...@yahoo.co.uk:
Added file: http://bugs.python.org/file37588/CMDdebugbuildoutput.log
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23154
___
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com:
--
nosy: +jkloth
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23154
___
___
Steve Dower added the comment:
I'll reassign this to me, as I'm looking into making Program Files the default
location for 3.5.
I'd like to release at least some of the alphas with the change active by
default (i.e. it's easy to select the old directory) to get broader feedback.
So far I
Zachary Ware added the comment:
On testing, you are correct, Mark. Sorry for the premature close.
How does this patch look to you, Steve?
--
assignee: - zach.ware
keywords: +patch
resolution: not a bug -
stage: resolved -
status: closed - open
type: - behavior
Added file:
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: rhettinger -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20898
___
___
Steve Dower added the comment:
Ah, I forgot to put Configuration in there. That patch is fine.
If it's only the OpenSSL projects doing this, that shouldn't cause 31 projects
to rebuild (4 at most I'd have though), but it probably will cause more
rebuilds than necessary.
--
New submission from Al Sweigart:
There is a typo in IDLE's help.txt file:
into the corrent number of spaces
--
messages: 233379
nosy: Al.Sweigart
priority: normal
severity: normal
status: open
title: IDLE's help.txt corrent typo
type: behavior
versions: Python 3.4, Python 3.5, Python
Al Sweigart added the comment:
I've attached a simple typo fix for this issue.
--
keywords: +patch
Added file: http://bugs.python.org/file37590/patch.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23158
Zachary Ware added the comment:
Our original explanation accounts for the 31 projects rebuilding.
I'll get the patch committed later tonight (hopefully).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23154
John Potelle added the comment:
Thank you for your reasoned responses. I'm beginning to see just how much
Python is its own animal. This and/or thing has history; I get it. Links back
to the reference documentation is a good idea.
--
___
Python
Changes by Al Sweigart asweig...@gmail.com:
--
components: +IDLE
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23158
___
___
Python-bugs-list
Changes by Al Sweigart asweig...@gmail.com:
--
nosy: +Al.Sweigart
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17583
___
___
Python-bugs-list
Changes by Al Sweigart asweig...@gmail.com:
--
nosy: +Al.Sweigart
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14944
___
___
Python-bugs-list
Raymond Hettinger added the comment:
Thanks Serhiy. I really like this clean-up. When there is an exception in the
user's root comparison operation, the traceback is more intelligible now.
If you're interested, here are two additional optimizations:
_op_or_eq = '''
Changes by Al Sweigart asweig...@gmail.com:
--
nosy: +Al.Sweigart
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22628
___
___
Python-bugs-list
Gerhard Häring added the comment:
The low-hanging fruit of executemany() reusing the prepared statement is of
course taken. Also, there is a statement cache that is being used transparently.
I am against exposing the statement directly via the API.
--
assignee: - ghaering
nosy:
Gerhard Häring added the comment:
I have now committed a fix in the pysqlite project at github.
https://github.com/ghaering/pysqlite/commit/f67fa9c898a4713850e16934046f0fe2cba8c44c
I'll eventually merge it into the Python tree.
--
assignee: - ghaering
nosy: +ghaering
Gerhard Häring added the comment:
Reusing the apsw connection in the sqlite3 module was deprecated a long time
ago. It is simply not supported, even if there is still code left in the module
that supports this somewhat.
This code should then be removed.
This closing as wontfix.
--
Gerhard Häring added the comment:
The sqlite3 module is not at fault here. If it does not work, then is is a
restriction of SQLite3 - at which places it accepts bind parameters.
This closing as not a bug.
--
assignee: - ghaering
resolution: - not a bug
status: open - closed
Roundup Robot added the comment:
New changeset d53506fe31e1 by Zachary Ware in branch 'default':
Closes #23154: Fix unnecessary recompilation of OpenSSL on Windows
https://hg.python.org/cpython/rev/d53506fe31e1
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status: open -
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
Removed message: http://bugs.python.org/msg233383
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23132
___
Raymond Hettinger added the comment:
Serhiy, this is a really nice idea. By removing the additional layer of
indirection, the code is more intelligible, runs faster, and the tracebacks
make more sense when the user's root comparison raises an exception.
Since there are only twelve functions
Bob Chen added the comment:
Is there any possibility that we encapsulate urllib.quote into httplib? Because
many developers wouldn't know about this utility function. And as I mentioned
above, they could have got an unicode url from anywhere inside python, like an
API call, without being
Changes by Bob Chen 175818...@qq.com:
Removed file: http://bugs.python.org/file36492/httplib.py.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
___
Changes by Bob Chen 175818...@qq.com:
Added file: http://bugs.python.org/file37592/httplib.py.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
___
Bob Chen added the comment:
How about this patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
___
___
Python-bugs-list mailing list
Markus Elfring added the comment:
Are you really against benefits from reusing of existing application
programming interfaces for the explicit preparation and compilation of SQL
statements?
It seems that other software contributors like Marc-Andre Lemburg and Tony
Locke show more
Demian Brecht added the comment:
utf-8 encoding is only one step in IRI encoding. Correct IRI encoding is non
trivial and doesn't fall into the support policy for 2.7 (bug/security fixes).
I think that the best that can be done for 2.7 is to enhance the documentation
around
New submission from Eric McDonald:
There are several use cases for having the equivalent of the
optparse.OptionParser 'get_option' method and the 'option_groups' and
'option_list' properties in argparse.ArgumentParser class.
(1) Easy alteration of the text of the default help option. With
New submission from Anselm Kruis:
Issue #21907 introduced the environment variable SVNROOT in
PCbuild/get_externals.bat.
I propose to use the same variable in Tools/buildbot/external-common.bat too.
This batch contains many verbatim copies of the SVN-URL.
With the provided patch, it would
Anselm Kruis added the comment:
Patch for 3.4
--
keywords: +patch
Added file: http://bugs.python.org/file37593/issue23160-3.4.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23160
___
Anselm Kruis added the comment:
Patch for 2.7
--
nosy: +zach.ware
Added file: http://bugs.python.org/file37594/issue23160-2.7.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23160
___
New submission from Devin Jeanpierre:
set(dir(set)) - set(dir(collections.abc.MutableSet))
{'copy', 'update', '__rsub__', 'union', 'issubset', 'intersection',
'issuperset', '__rxor__', 'difference', 'symmetric_difference',
'difference_update', '__rand__', 'intersection_update',
Changes by Devin Jeanpierre jeanpierr...@gmail.com:
--
components: +Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23161
___
___
65 matches
Mail list logo