Mark Dickinson added the comment:
How about simply 'inverse hyperbolic cosine', etc. I think that's more likely
to be immediately obvious to readers.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21902
Mark Dickinson added the comment:
and the 'radians' bit is obviously nonsense.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21902
___
___
paul j3 added the comment:
Here's a possible solution to the problem (assuming there really is one):
- redefine REMAINDER so it matches a '((?:A[AO]*)?)' pattern (where O is a
string that looks like an optional flag, A an argument string). I've added the
condition that the first match (if
Charles-François Natali added the comment:
There's probably a special mechanism due to vserver which makes the
kernel kill the process instead of failing with EPERM, but it's really
surprising.
What happens if you try the following:
$ python -c from resource import *; _, hard =
Kevin Davies added the comment:
Unfortunately I'm not currently set up with Mercurial and I'm not sure
that it makes sense to get that going just for this.
On 07/01/2014 06:47 PM, Ezio Melotti wrote:
Ezio Melotti added the comment:
Do you want to propose a patch?
Mark Dickinson added the comment:
Here's a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file35825/acosh_docstring.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21902
Mark Dickinson added the comment:
Ezio:
https://docs.python.org/3/library/math.html#hyperbolic-functions should be
updated as well.
It looks fine to me. What do you think should be changed?
--
___
Python tracker rep...@bugs.python.org
Kevin Davies added the comment:
Yes, 'inverse' is probably more obvious to understand than 'area',
although it doesn't tie into the 'a' of 'acosh', etc.
On 07/01/2014 08:24 PM, Mark Dickinson wrote:
Mark Dickinson added the comment:
How about simply 'inverse hyperbolic cosine', etc. I
Changes by Mark Dickinson dicki...@gmail.com:
--
assignee: docs@python - mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21902
___
Mark Lawrence added the comment:
I've just reworked Berker's patch as it no longer applied. On Windows 7 before
and after applying the patch both test runs gave me 49 tests, 2 skipped. Can
we have a commit review please.
--
nosy: +BreamoreBoy
Added file:
Mark Lawrence added the comment:
Is it worth applying the patch as the imp module is deprecated since version
3.4?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16474
Mark Dickinson added the comment:
Kevin: does the attached patch look okay to you?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21902
___
___
Mark Dickinson added the comment:
Updated patch, fixing an accidental double space in the previous one.
--
Added file: http://bugs.python.org/file35827/acosh_docstring_v2.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 0ba6ebd90b9d by Berker Peksag in branch '2.7':
Issue #19870: BaseCookie now parses 'secure' and 'httponly' flags.
http://hg.python.org/cpython/rev/0ba6ebd90b9d
--
___
Python tracker
Roundup Robot added the comment:
New changeset 0ba6ebd90b9d by Berker Peksag in branch '2.7':
Issue #19870: BaseCookie now parses 'secure' and 'httponly' flags.
http://hg.python.org/cpython/rev/0ba6ebd90b9d
--
nosy: +python-dev
___
Python tracker
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19870
___
Changes by Mark Dickinson dicki...@gmail.com:
--
stage: needs patch - patch review
type: enhancement - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21902
___
Mark Lawrence added the comment:
Any volunteers to do this? I'd do it myself but by the time somebody explains
the detail, it'd probably be easier just to write a patch.
@Robert just FTR do you know the issue number for the use of __str__ by the
stdlib [which isn't easily overridable -
Changes by Tymoteusz Paul puc...@gmail.com:
--
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21896
___
___
Python-bugs-list
Mark Lawrence added the comment:
Are we still interested in a 2.7.1 build issue? Note that regrtest is aimed at
core developers only.
--
components: +Build -Tests
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Changes by Encolpe DEGOUTE encolpe.dego...@free.fr:
--
nosy: -encolpe
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12876
___
___
Changes by Claudiu Popa pcmantic...@gmail.com:
--
stage: needs patch - commit review
versions: +Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8585
___
New submission from Dan O'Donovan:
There is an example in the ctypes python3 documentation for producing a native
Windows MessageBoxA
https://docs.python.org/3.3/library/ctypes.html#ctypes.PYFUNCTYPE
Try as I might, I cannot get this example to run under python 3 (it is in the
python3
Dan O'Donovan added the comment:
Additional note, this code snippet does work in python 2. There is a note that
all snippets are tested with 'doctest' so I have added the 'tests' tag to this
ticket.
--
components: +Tests
___
Python tracker
Ezio Melotti added the comment:
https://docs.python.org/3/library/math.html#hyperbolic-functions should be
updated as well.
It looks fine to me. What do you think should be changed?
I just meant to say that the docs and the docstrings should be kept in sync
(especially if they are short
Kevin Davies added the comment:
Mark: The patch looks good. Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21902
___
___
Andrew Svetlov added the comment:
Well, I've closed it as out-of-date.
--
resolution: - out of date
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16474
___
Changes by Jean-Paul Calderone jean-p...@hybridcluster.com:
--
nosy: -exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12600
___
___
Dan O'Donovan added the comment:
Ok, this fail is happening because we're using python3 unicode strings to call
the ANSI MessageBoxA function. A possible fix;
Encode strings before passing the MessageBoxA (ctypes.txt.diff attached)
Alternatively, calls could be made to the unicode MessageBoxW
Changes by Martin Dengler mar...@martindengler.com:
--
nosy: +mdengler
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2943
___
___
Python-bugs-list
New submission from Steve Holden:
When repeated use of a nonlocal variable is made (e.g. to define multiple
functions in a loop) ideally the closure should reflect the value of the local
variable at the time of use. This should at least be explicitly documented if
the behavior is considered
R. David Murray added the comment:
Yeah, closures can be a bit counter-intuitive. Assuming *I'm* understanding
this correctly, the closure captures a pointer to the local variable, not the
value of the local variable, and thus keeps it alive. (That is, the namespace
is not destroyed until
Joram Agten added the comment:
I think this c win32 issue describes a similar problem
http://stackoverflow.com/questions/3764072/c-win32-how-to-wait-for-a-pending-delete-to-complete
--
___
Python tracker rep...@bugs.python.org
Steve Holden added the comment:
Indeed the issue is that the pointer is to the local variable rather than its
value at time of closure defnition. Not being familiar with the way cells are
used, I am unsure as to how the closure keeps the whole namespace alive (that
would seem to require a
Stefan Krah added the comment:
In order to avoid the significant slowdown: Could we create a new
kind of method (METH_STATE) and change ceval to pass a state struct
that contains the thread and the module state as the first parameter
if the METH_STATE flag is present?
--
New submission from Olivier Grisel:
`pickle.whichmodule` performs an iteration over `sys.modules` and tries to
perform `getattr` calls on those modules. Unfortunately some modules such as
those from the `six.moves` dynamic module can trigger imports when calling
`getattr` on them, hence
R. David Murray added the comment:
I forgot that cells were independent objects. You are probably right about it
just keeping the cell alive, but I never did finish looking through how that
code worked when I did look at it.
--
___
Python tracker
Andy Maier added the comment:
That is indeed true; i just verified that by creating a new clone repository.
Sorry for the extra work.
When I created the bug yesterday, I had my repository clone updated to 2.7
and the .hgignore definitely did not have the entries. I even saw all the
Mark Lawrence added the comment:
The solution suggested in msg176909 seems accepted all around so can we please
close this.
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
is there anything left to do here?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16784
___
R. David Murray added the comment:
Are you sure your checkout was updated to 2.7? If you had checked out 2.7,
built the docs, then checked out 3.4 and done an hg status, you would see the
Doc files as untracked. If you were really checked out to 2.7 you shouldn't
have. I doubt there's any
Mark Lawrence added the comment:
Presumably the changes made in the default branch referred to in msg179037 will
have automatically been carried forward to 3.4 and 3.5.
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
Steve Holden added the comment:
I believe (though my belief is untrammeled by anything as useful as knowledge
of the code: my diagnostic skills are largely psychic) that the cell
essentially takes over the reference from the local namespace of the
about-to-terminate lexically surrounding
Zachary Ware added the comment:
Since then, Senthil Kumaran converted test_urllib2_localnet (and another urllib
test or two) to unittest.main, using this:
threads_key = None
def setUpModule():
# Store the threading_setup in a key and ensure that it is cleaned up
# in the tearDown
R. David Murray added the comment:
This is a specific instance of the general principle that a python variable is
a 'named' location that holds a pointer to an arbitrary python object. The
'name' in this case is the variable name that appears in multiple scopes (which
is what triggers the
Changes by Gregory P. Smith g...@krypto.org:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12876
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16474
___
___
New submission from Torrin:
md5sum.py uses at least 1 undefined object in Python 3.4.1. I only tried this
on Windows. I have no idea if it is a problem on any other OS.
C:\C:\Python27\python.exe --version
Python 2.7.6
C:\C:\Python34\python.exe --version
Python 3.4.1
SilentGhost added the comment:
I guess it's only the evidence that it isn't being used.
--
nosy: +SilentGhost
title: Tools\Scripts\md5sum.py doesn't work in Python 3.4.1 on Windows 7 64bit.
- Tools\Scripts\md5sum.py doesn't work in Python 3.x
versions: +Python 3.5
Andy Maier added the comment:
Regardless, though, you are having a Mercurial issue here, not a Python one :)
That seems to be the case ... I don't think I can reproduce it.
All fine then.
Thanks, David!
--
___
Python tracker rep...@bugs.python.org
Andy Maier added the comment:
Andy: in future, please use the 'review' link to post reviews,...
Will do ... I just now discovered the Start Review link (I'm new here, so
thanks for telling me...)
Andy
--
___
Python tracker rep...@bugs.python.org
Zachary Ware added the comment:
You're both welcome :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14097
___
___
Python-bugs-list mailing
Charles-François Natali added the comment:
LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21090
___
___
Python-bugs-list mailing list
Brett Cannon added the comment:
I got overruled on the deprecation idea due to utility code like walk_packages
that pkgutil contains.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15358
Changes by Brett Cannon br...@python.org:
--
assignee: - berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8585
___
___
R. David Murray added the comment:
Well, at least one person *tried* to use it :)
This is not a windows only problem, I can reproduce it on linux. Obviously we
don't have tests for this tool.
--
keywords: +easy
nosy: +r.david.murray
___
Python
PJ Eby added the comment:
Please see this paragraph of the spec (my emphasis added):
(Note: the application must invoke the start_response() callable **before the
iterable yields its first body string**, so that the server can send the
headers before any body content. However, this invocation
New submission from Zachary Ware:
I am aware of a few open issues with the build scripts provided for Windows
(both the Tools/buildbot scripts and the .bat files provided in PCbuild), such
as #9973 and #9822, and there are some other issues that bother me but that I
haven't opened issues for.
Zachary Ware added the comment:
Here's the devguide patch.
--
Added file: http://bugs.python.org/file35832/devguide_update.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21907
___
New submission from Jeremy Fusco:
https://docs.python.org/3/tutorial/controlflow.html
Sentence states 'most such' where either would suffice.
current: In most such cases, however, it is convenient to use the enumerate()
function, see Looping Techniques
Proposed: In most cases
--
Mark Lawrence added the comment:
I'll take this on if I can. Is binascii available on all platforms, as if it
is the quopri code could be simplified slightly along with the test code?
--
nosy: +BreamoreBoy
title: Minor difference in decoding quoted-printable text - quopri module
R. David Murray added the comment:
The first problem is determining the best error recovery algorithms by
reading through the RFCs and considering use cases.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16473
Steve Dower added the comment:
Looks pretty good. I'm happy to see more move into PCBuild - ideally, people
building a Python release should never have to look anywhere else.
buildmsi.bat can probably go away completely if the buildbots aren't using it.
3.5 will eventually have a .wixproj to
Roundup Robot added the comment:
New changeset 652b62213072 by Victor Stinner in branch '3.4':
Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before,
http://hg.python.org/cpython/rev/652b62213072
New changeset 440279cec378 by Victor Stinner in branch 'default':
(Merge
R. David Murray added the comment:
It is correct English as written. If you said just 'most cases', it would be
ambiguous (most cases of using...something not quite clear from context, it
could be range, or looping, or...), whereas if you said 'such cases', that
would be wrong, since not all
Roundup Robot added the comment:
New changeset 1492a42b8308 by Victor Stinner in branch '2.7':
Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before,
http://hg.python.org/cpython/rev/1492a42b8308
--
___
Python tracker
Jeremy Fusco added the comment:
I do, however I feel I'm not the only one that would be thrown by this wording.
Perhaps wording such as 'In cases like the above it is more convenient to
utilize the enumerate()'.
Thanks for the quick response!
--
Mark Lawrence added the comment:
@marc please accept our apologies for having missed this.
Can someone comment on this please.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13985
Mark Lawrence added the comment:
@py.user please accept our apologies for having missed this.
@Ezio can you comment on this please.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14069
Mark Lawrence added the comment:
A short patch LGTM. Can we have a commit review please.
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13938
Mark Lawrence added the comment:
Can we have a comment on this please.
--
nosy: +BreamoreBoy, gpolo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13554
___
Mark Lawrence added the comment:
Can we have an update on this please.
--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16095
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +orsenthil
type: - behavior
versions: +Python 3.4, Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15134
___
Mark Lawrence added the comment:
@Richard I assume that you'll be following this up.
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14953
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14734
___
___
Mark Lawrence added the comment:
@Cory the latest version of openssl is 1.0.1g for Python 2.7.7. Please see PEP
466 and issue 21462
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15549
Robin Schoonover added the comment:
Fair enough, I misled myself.
However, and I feel like I'm getting really picky here, but it still doesn't
fulfill the paragraph I quoted:
def application(environ, start_response):
start_response('200 OK',
[('Content-type',
akira added the comment:
ID s.check_output(pyflakes c:\programs\python34\lib\turtle.py)
hangs indefinitely, no output
It might be unrelated to the issue but \t is a tab; a raw-string literal
should be used instead:
from subprocess import check_output
check_output(rpyflakes
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: -techtonik
versions: +Python 3.4, Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11776
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16566
___
Pietro Battiston added the comment:
The bug is still present in 2.7.7 and 3.4.1.
By the way, under python 3 the workaround takes the form
class MyHTTPPasswordMgr(urllib.request.HTTPPasswordMgr):
def find_user_password(self, realm, authuri):
return a, b
Finally, notice the wrong
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19066
___
PJ Eby added the comment:
You're right, it shouldn't send the headers until a non-empty string
occurs. I don't see any problem with treating it as a bug, and fixing it.
Your patch will also allow non-compliant behavior, though. It seems to me
it would be better to fix the logic in write() to
Terry J. Reedy added the comment:
I have started indexing symbol uses on other issue and will continue after
GSOC. I am closing this as there is nothing specific to do.
--
resolution: - wont fix
stage: needs patch - resolved
status: open - closed
STINNER Victor added the comment:
For Python 2, file.read() looks wrong: if only checks ferror() if fread()
returns 0, whereas Py_UniversalNewlineFread() can call fread() more than once,
and according to fread() manual page, fread() result can be different than 0 on
error.
If an error
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - TextTestRunner methods are not documented
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11389
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8631
___
___
Python-bugs-list
Masami HIRATA added the comment:
Thanks, pitrou.
Your patch seems ok to me.
$ python3.4.1_with_patch -m unittest
.
--
Ran 1 test in 0.001s
It seems that this issue is same as
Antoine Pitrou added the comment:
Here is a patch with tests.
--
keywords: +patch
nosy: +benjamin.peterson
stage: - patch review
versions: +Python 3.5
Added file: http://bugs.python.org/file35834/f_locals_clear.patch
___
Python tracker
Robin Schoonover added the comment:
I agree, the current patch is too permissive.
Both a server I wrote a while ago, and most other complaint servers deal with
the problem the exact same way as that patch, and that extra permissiveness led
to my misinterpretation when analyzing why I had made
Terry J. Reedy added the comment:
I would like a simple patcher for three reasons.
1. hg, at least as I see it exposed through tortoisehg workbenck, will not
apply a patch if there is already an uncommitted change. (But perhaps someone
will tell me that there is a 'do it anyway' option.)
Terry J. Reedy added the comment:
That has been pointed out to me. I need to repost with the results after
correcting the commands (there is still a problem).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8631
Florent Xicluna added the comment:
The patch proposed by Christian addresses the issue. Good to merge.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18099
___
Steve Holden added the comment:
In my experience the devs are pretty well in touch with the user base (though
they don't always acknowledge its input). If you leave a programming language
at the first sign of wart I fear yo may eventually run out of languages.
--
nosy: +holdenweb
Changes by Robin Schoonover ro...@cornhooves.org:
Added file: http://bugs.python.org/file35836/wsgiref-empty-byte-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21890
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
assignee: - berker.peksag
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21755
___
Roundup Robot added the comment:
New changeset b88525a8c01d by Berker Peksag in branch 'default':
Issue #21755: Skip {Frozen,Source}_DeadlockAvoidanceTests tests when
http://hg.python.org/cpython/rev/b88525a8c01d
--
nosy: +python-dev
___
Python
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/issue21755
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21755
___
___
Som Veettil added the comment:
i had similar issue with python 2.7.. works fine with fix provided by vijay
(luckycusp)
msg107935 - (view) - http://bugs.python.org/msg107935
thanks a lot.
--
nosy: +som_veettil
___
Python tracker
1 - 100 of 103 matches
Mail list logo