Zachary Ware added the comment:
I closed this prematurely: I successfully added /fp:strict to ICC builds, but
it didn't fix the underlying issue.
--
resolution: fixed ->
stage: resolved ->
status: closed -> open
___
Python
Zachary Ware added the comment:
I am also unable to reproduce. I've attached the exact code I used, and built
it with:
cl /I "C:\Program Files\Python35\include" embtest.c /link /libpath:"C:\Program
Files\Python35\libs"
Output is the expected result of '
Zachary Ware added the comment:
Each of the .pyd files has its own .vcxproj in PCbuild. You might be able to
make use of pcbuild.sln or pcbuild.proj, each of which include all of the
various project files.
--
resolution: -> not a bug
stage: -> resolved
status: open -&g
Changes by Zachary Ware :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<http://bugs.python.org/issue26
Zachary Ware added the comment:
After your `import threading` line, try `print(threading.__file__)`. The path
should be something like `/usr/local/lib/python3.4/threading.py`; if it's not
(particularly if the current directory is part of the path), you've found the
source of yo
Zachary Ware added the comment:
So there is actually no relation to #1947.
--
resolution: duplicate ->
superseder: Exception exceptions.AttributeError '_shutdown' in
___
Python tracker
<http://bugs.pytho
Changes by Zachary Ware :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<http://bugs.python.org/issue26
Zachary Ware added the comment:
Activate.ps1 creates a 'deactivate' function, just like activate.*sh on UNIX.
deactivate.bat is an implementation detail, because Windows cmd does not
support functions. In any activated venv on any platform, simply doing
`deactivate` shou
Changes by Zachary Ware :
--
hgrepos: -339
___
Python tracker
<http://bugs.python.org/issue20767>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
hgrepos: -337
___
Python tracker
<http://bugs.python.org/issue24557>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
assignee: docs@python ->
nosy: -docs@python, supriyanto maftuh, supriyantomaftuh, zach.ware
versions: +Python 2.7
___
Python tracker
<http://bugs.python.org/issu
Changes by Zachary Ware :
--
hgrepos: -338
___
Python tracker
<http://bugs.python.org/issue19217>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
hgrepos: -341
___
Python tracker
<http://bugs.python.org/issue15984>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
hgrepos: -340
___
Python tracker
<http://bugs.python.org/issue26639>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
hgrepos: -336
___
Python tracker
<http://bugs.python.org/issue24136>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
hgrepos: -331
___
Python tracker
<http://bugs.python.org/issue23076>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
hgrepos: -330
___
Python tracker
<http://bugs.python.org/issue25496>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
hgrepos: -327
___
Python tracker
<http://bugs.python.org/issue25835>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
hgrepos: -334
___
Python tracker
<http://bugs.python.org/issue15216>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
nosy: +florin.papa, zach.ware
___
Python tracker
<http://bugs.python.org/issue26757>
___
___
Python-bugs-list mailing list
Unsub
Zachary Ware added the comment:
Thanks, Shaun!
--
___
Python tracker
<http://bugs.python.org/issue26706>
___
___
Python-bugs-list mailing list
Unsubscribe:
Zachary Ware added the comment:
This looks very like a case of shadowing a standard library module. Just
before your call to Beep(), try "print(winsound.__file__)". If it's not
"C:\SomePathToPython\DLLs\winsound.pyd" (with an appropriate real path in place
of &quo
Zachary Ware added the comment:
Glad I could guide you to a solution :)
--
stage: -> resolved
___
Python tracker
<http://bugs.python.org/issue26761>
___
___
Py
Changes by Zachary Ware :
--
dependencies: +SYS_getdents64 does not need to be defined on android API 21,
add a COMPILEALL_FLAGS Makefile variable, add function to os module for getting
path to default shell, add platform.android_ver() for android, android
compilation and link flags
Zachary Ware added the comment:
If only I had reloaded the page before pushing...
Btw, this was first reported in issue1209411, but only the docs were changed,
not the docstring.
--
nosy: +zach.ware
resolution: fixed ->
stage: resolved ->
status: closed -
Zachary Ware added the comment:
Thanks for the report and patch!
--
nosy: +zach.ware
versions: +Python 3.5, Python 3.6
___
Python tracker
<http://bugs.python.org/issue26
Changes by Zachary Ware :
--
nosy: +christopher.hogan
___
Python tracker
<http://bugs.python.org/issue26876>
___
___
Python-bugs-list mailing list
Unsubscribe:
Zachary Ware added the comment:
I can't seem to get the patch to apply, could you please regenerate it against
a fresh checkout of https://hg.python.org/cpython#default (or 'master' of
github.com/python/cpython)?
This looks fairly straightforward, but I'm far from an
Changes by Zachary Ware :
--
nosy: -Rogi
title: new message -> Spam
___
Python tracker
<http://bugs.python.org/issue26879>
___
___
Python-bugs-list mai
Changes by Zachary Ware :
--
Removed message: http://bugs.python.org/msg264455
___
Python tracker
<http://bugs.python.org/issue26879>
___
___
Python-bugs-list m
Zachary Ware added the comment:
The documentation for 2.6 is no longer maintained (and neither is 2.6 itself,
so we highly recommend upgrading to at least 2.7 if at all possible), and this
has already been fixed in 2.7.
Thanks for the report anyway!
--
assignee: -> docs@pyt
Zachary Ware added the comment:
Forgot that step, thanks Serhiy!
--
___
Python tracker
<http://bugs.python.org/issue26874>
___
___
Python-bugs-list mailin
Zachary Ware added the comment:
#23903 is closely related, but I haven't made it back to that one in some time.
--
nosy: +zach.ware
___
Python tracker
<http://bugs.python.org/is
Zachary Ware added the comment:
Unassigning since I haven't made it anywhere with this in a year; if anybody
else would like to pick it up, feel free. Otherwise I'll get to it some day :)
--
assignee: zach.ware ->
versions: +Python 3.
Zachary Ware added the comment:
The clinic tests should probably be integrated into the regrtest suite, since
clinic is integrated into the build process.
--
nosy: +zach.ware
___
Python tracker
<http://bugs.python.org/issue26
Zachary Ware added the comment:
> There is a code for parsing preprocessor instructions in Argument Clinic.
> May be it can be reused here.
It already is, actually; its availability was a major factor in my thinking
this would be possible and starting to work
Changes by Zachary Ware :
--
components: +email
nosy: +barry, r.david.murray
versions: +Python 3.6
___
Python tracker
<http://bugs.python.org/issue26912>
___
___
Changes by Zachary Ware :
--
versions: -Python 3.4
___
Python tracker
<http://bugs.python.org/issue26913>
___
___
Python-bugs-list mailing list
Unsubscribe:
Zachary Ware added the comment:
(The version field is for the whole issue, not per patch.)
--
versions: +Python 3.5, Python 3.6
___
Python tracker
<http://bugs.python.org/issue26
Zachary Ware added the comment:
I agree that what is currently in the docs is technically correct. The section
on the power operator:
power ::= await ["**" u_expr]
should be read as:
power ::= (["await"] primary) ["**" u_expr]
just as the definition of
Zachary Ware added the comment:
+1 for await_expr
--
___
Python tracker
<http://bugs.python.org/issue26156>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Zachary Ware:
The comment at Lib/threading.py:925 notes that sys.stderr should be used if
possible, but the implementation uses self._stderr in spite of checking
_sys.stderr is not None. I believe this was just an oversight in 644b677c2ae5,
which added the check and also
Changes by Zachary Ware :
--
assignee: -> docs@python
resolution: not a bug ->
stage: resolved -> needs patch
status: closed -> open
versions: +Python 3.6
___
Python tracker
<http://bugs.python
Changes by Zachary Ware :
--
nosy: +doko
___
Python tracker
<http://bugs.python.org/issue27052>
___
___
Python-bugs-list mailing list
Unsubscribe:
Zachary Ware added the comment:
Hugh, could you check your environment and see if you have any PYTHON*
variables set, particularly PYTHONHOME?
--
___
Python tracker
<http://bugs.python.org/issue27
Zachary Ware added the comment:
Also, I suspect your pip issue on Windows 10 is due to the fact that you need
to either specify the --user flag or run pip as administrator, since your user
account can't write to the global site-packages under Program
Zachary Ware added the comment:
Here's some pretty compelling evidence for a bad PYTHONHOME setting:
C:\>set PYTHONHOME=C:\path\not\here
C:\>py -3.5
Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'
Current th
Zachary Ware added the comment:
Xavier: It's been long enough that I don't remember whether regular Users can
adjust Dependencies, but since you didn't do it yourself I assume they can't.
I've just given you the Developer role, so you can now :)
--
Zachary Ware added the comment:
I'm very much +1 on the patch.
A couple thoughts:
- Note that 2.7 doesn't come with a launcher.
- As I understand it, the 3.5+ installer won't overwrite a newer launcher than
what it would install, but the 3.4- installer will. So the only really
Zachary Ware added the comment:
> Maybe we should have at least one buildbot testing test_curses with a TTY?
My non-debug and installed Gentoo bot does run the tests with a PTY, so you
can use its custom builders for experimentation (assuming it can complete a
cl
Changes by Zachary Ware :
--
stage: patch review -> resolved
___
Python tracker
<http://bugs.python.org/issue27064>
___
___
Python-bugs-list mailing list
Un
Zachary Ware added the comment:
> That seems crazy...
What's crazy about it? There are very very few legitimate situations where you
need to permanently set any PYTHON* variable, particularly PYTHONPATH and
PYTHONHOME. Adding site-packages to sys.path via PYTHONPATH is co
Changes by Zachary Ware :
--
Removed message: http://bugs.python.org/msg266251
___
Python tracker
<http://bugs.python.org/issue27102>
___
___
Python-bugs-list m
Changes by Zachary Ware :
--
nosy: -cerberos
resolution: -> not a bug
stage: -> resolved
status: open -> closed
title: nice story -> Spam
___
Python tracker
<http://bugs.python
Zachary Ware added the comment:
Clement Rouault added the comment:
> Stated as you did, it makes sens. Should the change of return type be
> acknowledged somewhere in the documentation ?
Yes, it should be mentioned in Doc/whatsnew/3.6.rst and probably also
somewhere in Doc/library/winr
Changes by Zachary Ware :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue27116>
___
___
Changes by Zachary Ware :
--
stage: -> resolved
___
Python tracker
<http://bugs.python.org/issue27054>
___
___
Python-bugs-list mailing list
Unsubscrib
Changes by Zachary Ware :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue23026>
___
___
Python-bugs-list
Zachary Ware added the comment:
Would you be interested in submitting a patch? The whole ctypes package and
the bundled libffi in particular are fairly unloved.
As a workaround, if you have libffi installed on your system, you can use the
'--with-system-ffi' flag to Python's c
Zachary Ware added the comment:
The problem is, the interpreter can't know what you meant to do, so it can only
point out what it can't compile. We did recently add a special case for print
without parentheses, but adding special cases for everything is just not
feasible. Besi
Zachary Ware added the comment:
(My last comment was aimed at Larry's comment about abandoning two-pass...)
--
___
Python tracker
<http://bugs.python.org/is
Zachary Ware added the comment:
That may be for the best.
--
___
Python tracker
<http://bugs.python.org/issue20323>
___
___
Python-bugs-list mailing list
Unsub
Zachary Ware added the comment:
Tim Golden added the comment:
> The problem is that this isn't an area I'm particularly familiar with
> (either in Python nor in Windows) so I need time to ramp up my awareness
> of what Steve's proposing plus then assessing the change. I&
Changes by Zachary Ware :
--
nosy: +zach.ware
___
Python tracker
<http://bugs.python.org/issue23593>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Zachary Ware :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue23610>
___
___
Zachary Ware added the comment:
Terry J. Reedy added the comment:
> Sorry. That has to be "py -3 ... " unless you have configured 'py' to
run 3.x, or "py -m idlelib.idle ..." for 2.7.
>
Any reason not to add idlelib.__main__ to 2.7? It works the same in
Zachary Ware added the comment:
Paul Moore added the comment:
>
> Note that in spite of the name, the process should also work for Python
> 3.2 and 3.3, which also use VS2008 (but I haven't tested that explicitly).
>
Just 3.2; 3.3 was the first vers
Zachary Ware added the comment:
> Either by accident or by design the main build will run in addition.
By design; I intended get_externals.bat to be run explicitly if you just
wanted to pull the externals.
--
___
Python tracker
&l
Zachary Ware added the comment:
Is this still a problem? I haven't noticed it on docs.python.org in quite some
time. Ezio, can you still reproduce?
--
status: open -> pending
___
Python tracker
<http://bugs.python.org
Changes by Zachary Ware :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue21416>
___
___
Zachary Ware added the comment:
Steve: is this fixed and ready for next time?
--
resolution: -> fixed
stage: -> resolved
status: open -> pending
___
Python tracker
<http://bugs.python.or
Zachary Ware added the comment:
This has been complicated by the migration to VS2015, which added a bunch of
new warnings. Obviously we can't enable this now without either fixing all the
warnings (unlikely, I think; most of them are just about shadowing vars) or
disabling particular
Zachary Ware added the comment:
Considering the consensus somewhere in the middle of this discussion that this
is not a Python bug, the unavailability of VS2008 Express, and the availability
of the Visual C++ Compiler for Python 2.7 package, I'm closing this as 'wont
fix'.
Zachary Ware added the comment:
I've updated 2.7 and 3.4, but 3.5 is a different matter. Steve, I'll want to
take a look at it with you at the sprints; 1.0.2 changed enough that the
projects you wrote for OpenSSL broke.
--
___
Pyth
Zachary Ware added the comment:
Steve Dower added the comment:
> I think we should fix all the warnings, but turning this on is a great
way to make the build bots red often.
That is the obvious downside. On the other hand, we do have a very old open
issue (though I don't have the numb
Zachary Ware added the comment:
Unfortunately, I don't have any ideas. Mark, is this still happening? If so,
I think your real solution is going to be to install VS2015 CTP 6 (and later
the real thing, in whatever the free flavor is). Same for #
Zachary Ware added the comment:
Looks like that covers it. The one thing I'm concerned about is that,
historically, we've always said "you can point our build system at whatever
version of OpenSSL you want and it should work", but obviously this locks us in
to 1.
Zachary Ware added the comment:
Still an issue in 2.7.10rc0+. Here's a couple different reproducers that come
closer to the heart of the matter:
"""
>>> import os
[43913 refs]
>>> os.close(1)
[43913 refs]
>>> input()
1
[43915 refs]
""&
Zachary Ware added the comment:
On sudden inspiration, here's an even simpler reproducer:
"""
>>> import os
[43913 refs]
>>> os.close(2)
"""
--
_
Zachary Ware added the comment:
...and that one does crash 3.4, so I'm a bit more interested again. I'll try
to look at this at the sprints.
--
priority: high -> critical
title: crash while writing to a closed file descriptor -> fflush called on
pointer to potenti
New submission from Zachary Ware:
Uninteresting bits of the output elided:
C:\Data\code\CPython\hg.python.org\default>python -m test -vn test_os
Running Debug|Win32 interpreter...
== CPython 3.5.0a3+ (default:0b3027a2abbc, Apr 11 2015, 21:11:57) [MSC v.1900 32
bit (Intel)]
== Wind
Zachary Ware added the comment:
Here's the problem with that:
C:\Data\code\CPython\hg.python.org\default>python -m test.test_os
Running Debug|Win32 interpreter...
s..
--
___
Python tracker
<http://bugs.python.org
Zachary Ware added the comment:
That works for me.
Of course, the thing we both forgot was NEWS.
--
___
Python tracker
<http://bugs.python.org/issue23
Zachary Ware added the comment:
s/Only One/One Obvious/ ;)
Which way is more obvious? How would it affect nullable ints?
--
___
Python tracker
<http://bugs.python.org/issue23
Zachary Ware added the comment:
Pretty much.
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Windows Installer won't - even when using "just for me"option
___
Python tracker
<htt
New submission from Zachary Ware:
(Brought up by 'Tronster' on docs@)
https://docs.python.org/3/tutorial/controlflow.html#function-annotations
In light of the PEP 484 and its clear intentions for function annotations, the
tutorial section on function annotations is out of date. It
Changes by Zachary Ware :
--
nosy: +zach.ware
___
Python tracker
<http://bugs.python.org/issue17769>
___
___
Python-bugs-list mailing list
Unsubscribe:
Zachary Ware added the comment:
I'm ambivalent on whether to do it, but Marc is right that it's just a version
update in Tools/buildbot/external-common.bat and PCbuild/pyproject.vsprops.
--
assignee: -> steve.dower
___
Python t
Zachary Ware added the comment:
@Marin: That changeset is touching test_multiprocessing, not
ctypes.test.test_macholib.
--
nosy: +zach.ware
___
Python tracker
<http://bugs.python.org/issue17
Zachary Ware added the comment:
@Juti: Thanks for the patch! I've left a review on Rietveld, which should have
sent you an email (or you can get to it through the 'review' link).
--
___
Python tracker
<http://bugs.pyt
Zachary Ware added the comment:
Michael, I failed to attribute you in the commit messages, sorry about that.
Thanks for the patch!
--
___
Python tracker
<http://bugs.python.org/issue18
Zachary Ware added the comment:
Cleaned it up just a little bit and committed. Thanks for the patch, Juti!
--
___
Python tracker
<http://bugs.python.org/issue23
Zachary Ware added the comment:
Ahh. Not quite, though; that change just changed the way unittest reports the
results on non-Mac platforms. The problem is actually here:
https://hg.python.org/cpython/file/default/Lib/ctypes/test/test_macholib.py#l34
We need a patch to try that import
Changes by Zachary Ware :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Zachary Ware added the comment:
Thanks for the patch!
--
nosy: +zach.ware
___
Python tracker
<http://bugs.python.org/issue23938>
___
___
Python-bugs-list mailin
Zachary Ware added the comment:
Steve, Andrew, does either of you want to take care of this or shall I give it
a shot? I'm figuring on using the patch here and re-adding PyCFunction_New as
it had been.
--
___
Python tracker
Zachary Ware added the comment:
Same patch, with diff to python3.def to make it available.
--
Added file: http://bugs.python.org/file38967/23903_with_python3.def.diff
___
Python tracker
<http://bugs.python.org/issue23
Zachary Ware added the comment:
Thanks for the patch!
--
nosy: +zach.ware
versions: -Python 3.6
___
Python tracker
<http://bugs.python.org/issue23730>
___
___
Zachary Ware added the comment:
Here's an updated patch for clean application. Larry, could you give this a
look?
--
Added file: http://bugs.python.org/file38969/issue20586.v3.diff
___
Python tracker
<http://bugs.python.org/is
Zachary Ware added the comment:
Thanks Larry
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.4
___
Python tracker
<http://bugs.python.or
2501 - 2600 of 2740 matches
Mail list logo