Adam Bartoš added the comment:
Yes, it is a behavior change between Python 2 and Python 3. I just tried with
2.7 and 3.0.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18838
___
New submission from Alexandre Badez:
Hi,
Here is a sample of what I do:
import argparse
main_parser = argparse.ArgumentParser()
group_ex = main_parser.add_mutually_exclusive_group()
group_ex1 = group_ex.add_argument_group()
group_ex1.add_argument('-a', '--atest', help=help about -a) and
New submission from Pankaj Sharma:
Hi,
there is an issue reported for dereferencing a null return by function
PyString_FromStringAndSize() file:Python-2.7.10/Python/compile.c .so there
should be check for NULL before dereferencing in function compiler_nameop().
Please review attached patch.
Roundup Robot added the comment:
New changeset d10f7e0cd059 by Berker Peksag in branch '3.4':
Issue #24728: Fix building without threads.
https://hg.python.org/cpython/rev/d10f7e0cd059
New changeset 401bb7ceb7e8 by Berker Peksag in branch '3.5':
Issue #24728: Null merge
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24733
___
___
Python-bugs-list
Berker Peksag added the comment:
Thanks Louis. If you are going to continue contributing patches, please sign
the PSF Contribution Agreement: https://www.python.org/psf/contrib/contrib-form/
--
nosy: +berker.peksag
resolution: - fixed
stage: - resolved
status: open - closed
eric added the comment:
The python documentation says that when one calls logger.getLogger with the
same identifier that one gets the same instance of the logger. I would guess
that in the case of a Process this is not the case. I would have to assume that
the handlers attached to that
New submission from Stefan Krah:
There's a corner case in cwr_next(), where the pool size is zero
but pool[0] is accessed:
from itertools import *
it = combinations_with_replacement([], 0)
next(it)
Patch attached.
--
components: Extension Modules
files: itertools_invalid_access.diff
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24735
___
Vinay Sajip added the comment:
Context is crucial. The Python documentation is not wrong, but doesn't belabour
the point that it refers to the most common, single-process case. The problem
you encountered is not specific to logging: you need to understand all aspects
of how forking works and
Stefan Krah added the comment:
Sorry, I'm still not convinced that the C-contiguity explanation is in the
right place. The docs have to be terse in order to be useful as a reference,
and the explanation at that particular location breaks the flow of reading.
So, please don't commit that.
Stefan Krah added the comment:
Closing, since I'm -0 and usually Raymond is against these kinds of
changes (Raymond: please correct me if I'm wrong).
--
resolution: - rejected
stage: patch review - resolved
status: open - closed
___
Python tracker
node added the comment:
Can is there and equivalent for iPad? Mean, can Python code be written on an
iPad; because still a headache to get it loaded on Windows 8.1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24720
Stefan Krah added the comment:
Unassigning, since I've no time for reviewing (I think the patch
needs review though, either by Mark or Raymond).
--
assignee: skrah -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20008
Roundup Robot added the comment:
New changeset 68cd7a64fbb0 by Benjamin Peterson in branch '2.7':
check return value of PyString_FromStringAndSize for NULL (closes #24734)
https://hg.python.org/cpython/rev/68cd7a64fbb0
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status:
Stefan Krah added the comment:
Steve, this issue has been open for a while: Do you have an
opinion on whether this is useful to have?
I originally opened the issue because I am using masm in cdecimal,
but there are workarounds.
--
nosy: +skrah, steve.dower
Erik Bray added the comment:
As I wrote (late) in the thread that shall not be named, I don't think it makes
any sense to have magic assert_ methods on the Mock object. Not only does the
magic clearly lead to too many ambiguities and other problems--I think they
make less sense from an API
Brett Cannon added the comment:
The official requirements for OS support is outlined in
https://www.python.org/dev/peps/pep-0011/#supporting-platforms which requires a
core dev to step forward to maintain bitrig support as well as a buildbot
running bitrig. Unfortunately neither has happened
Yury Selivanov added the comment:
Berker, the patch looks good to me. Please commit.
Larry, is it possible we can include this in 3.5.0?
--
nosy: +yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23441
eryksun added the comment:
The permission error comes from calling SetHandleInformation on an invalid
socket value. The code shouldn't make it that far. The problem starts earlier
in sock_accept_impl. This function checks whether SOCKET_T ctx-result is
non-negative to determine whether the
R. David Murray added the comment:
Hmm. It's a tutorial. It would probably be better to just say the default is
platform dependent with a link to the open docs.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
Brett Cannon added the comment:
Apparently we are shipping an old version in 3.5b4 (3.8.3.1 and the latest
release is 3.11), so this should probably be upgraded before rc.
--
nosy: +brett.cannon
versions: +Python 3.5
___
Python tracker
Evan Hubinger added the comment:
I wrote a patch to blacklist FunctionTestCase in TestLoader, and a test to make
sure FunctionTestCase doesn't show up in the TestSuite after loading a module
that includes it. The test runs successfully. This is my first patch, so
feedback would be appreciated
Ned Deily added the comment:
Berker, the part of the patch for test_rlcompleter.py does not apply cleanly.
Here's an updated version of it. Both the fix and the test seem to work as
advertised on current 3.5 tip. It would be nice to fix this finally.
--
nosy: +ned.deily
Added file:
Steve Dower added the comment:
I'm not against adding the support (to 3.6), though I'd be interested in what
the workarounds are and whether it'd be more useful as an example (e.g. here's
how to support a special build step vs. all special build steps need to be
merged into core).
There are
Roundup Robot added the comment:
New changeset 82ccdf2df5ac by Berker Peksag in branch '3.4':
Issue #23441: rcompleter now prints a tab character instead of displaying
https://hg.python.org/cpython/rev/82ccdf2df5ac
New changeset d55bdd2dc45e by Berker Peksag in branch '3.5':
Issue #23441:
Antoine Pitrou added the comment:
Thank you Berker for putting an end to this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23441
___
___
Berker Peksag added the comment:
Thanks for the patch Martin and thank you all for testing and reviewing patches!
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset cd60eccaa331 by Victor Stinner in branch '3.5':
Issue #24732, #23834: Fix sock_accept_impl() on Windows
https://hg.python.org/cpython/rev/cd60eccaa331
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset cd60eccaa331 by Victor Stinner in branch '3.5':
Issue #24732, #23834: Fix sock_accept_impl() on Windows
https://hg.python.org/cpython/rev/cd60eccaa331
--
nosy: +python-dev
___
Python tracker
STINNER Victor added the comment:
According to hg bisect: (...)
summary: Issue #23834: Add sock_call() helper function
Oh, I'm not too surprised. I had to modify _deeply_ socketmodule.c to implement
the PEP 475. I stressed the code on Linux, but on Windows I only ran Python
test suite
New submission from STINNER Victor:
Hi, I'm unable to compile Python default (3.6) on Windows 7 with Visual Studio
2010: it requires ucrtd.lib which looks like a new feature of Visual Studio
2015. Please update the developer guide to be more explicit:
Current text says that VS 2010 SP1 is
Steve Dower added the comment:
I agree, and I know that backwards compatibility is a very high priority
especially now that SQLite is shipping as part of Windows 10. While we *could*
take a dependency on this binary (winsqlite3.dll, for those who have it), I
don't think it's actually any
Steve Dower added the comment:
Technically it says that it will work until VS 2015 is released (which happened
last Monday), but the statement certainly should be clarified now. I'll do it.
I'm still waiting to hear what options will be available for installing the
compilers without a full
STINNER Victor added the comment:
I'm still waiting to hear what options will be available for installing the
compilers without a full VS, but right now there aren't any good options I'm
afraid.
Well, for me the most important point is to document the current supported
compilers. Good if
eryksun added the comment:
LGTM on Windows 7:
Python 3.5.0b4+ (default, Jul 27 2015, 17:46:34) [MSC v.1900 64 bit
(AMD64)] on win32
Type help, copyright, credits or license for more information.
import socket
sock = socket.socket()
sock.bind(('127.0.0.1', 52380))
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: commit review - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23931
___
STINNER Victor added the comment:
LGTM on Windows 7:
I just compiled Python default (3.6) on Windows 8.1 with Visual Studio 2015: I
confirm, the example of the original message now works as expected (raise
BlockingIOError: [WinError 10035] A non-blocking socket operation could not be
New submission from Gary Peck:
argparse.FileType should support a newline argument that corresponds to the
newline parameter to open(). In addition to more closely mirroring the open()
API, this is also needed to properly use argparse.FileType with csv.reader() or
csv.writer() (which require
New submission from Harry Lam (WaXHeLL):
Storage Spaces (RAID volumes) under Windows 8.1 / Server 2012 R2 use ReFS which
does not support hard links.
If the Users directory has been moved to a ReFS volume, it causes any script
that uses os.link to hang (pip is one of the notable examples). As
Harry Lam added the comment:
Slight bit of clarification:
This doesn't affect all scripts -- just those which don't have proper Except
OSError handling. In pip's case, a timeout is not passed to the acquire()
function when it is first being called and causes this issue with hanging.
Changes by Cory Benfield c...@lukasa.co.uk:
--
nosy: +Lukasa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23670
___
___
Python-bugs-list mailing
eryksun added the comment:
The problem is that the 3rd party [lockfile][1] module assumes that if os.link
exists it means hard links are supported for all file systems on a given
platform. So in your case it gets stuck repeatedly trying an operation that can
never succeed. This can probably
Robert Collins added the comment:
The change in exec doesn't make sense to me (but see lower :))
__file__ should be in globals, not locals, right?
Also if it is right, then exec(foo, g) should be equivalent :)
The reset of the patch looks ok. But I can see your patch shows this breaking -
Roundup Robot added the comment:
New changeset d8950778e3c2 by Robert Collins in branch 'default':
Issue #23426: run_setup was broken in distutils.
https://hg.python.org/cpython/rev/d8950778e3c2
--
nosy: +python-dev
___
Python tracker
Changes by Robert Collins robe...@robertcollins.net:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23426
___
New submission from Robert Collins:
./python ./Tools/scripts/patchcheck.py
Getting the list of files that have been added/changed ... 0 files
Fixing whitespace ... 0 files
Fixing C file whitespace ... 0 files
Fixing docs whitespace ... 0 files
Docs modified ... NO
Misc/ACKS updated ... NO
Robert Collins added the comment:
I'm struggling to understand this bug. I've tried idle and plain cPython and
neither exhibit it. I suspect thats due to how readline is itself tokenizing
things.
Python 3.6.0a0 (default:ef5a2ba9df62, Jul 28 2015, 15:48:19)
[GCC 4.9.1] on linux
Type help,
paul added the comment:
resolution: not a bug
^ because of private API?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24683
___
___
49 matches
Mail list logo