Ned Deily added the comment:
After spending some time investigating this issue, I believe that potential
upgrade compatibility issues have been introduced by the changes for
Issue13169. How critical they are and, in particular, whether they violate our
implicit promises of maintenance
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: docs@python - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18032
___
Raymond Hettinger added the comment:
We don't normally document implementation details or the presences or absence
of internal optimizations. This gives us freedom to change the implementation
and it allows freedom for other implementations (such as Jython, IronPython,
and PyPy) to make
Gael Le Mignot added the comment:
It's not something that can be easily benched because it depends a lot of the
use case. If some conditions are present (big amount of data sent to XML-RPC,
the XML-RPC server taking a long time to answer, end either Python giving back
the memory to the OS or
Raymond Hettinger added the comment:
IMO nothing should change here (either the docs or the implementation).
The OP has observed an implementation detail of old-style classes (which were
reimplemented in Python 2.2 using descriptor logic instead of their former
hard-wired behaviors).
Serhiy Storchaka added the comment:
Yes, it would be nice if you provided an example.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1747670
___
berdario added the comment:
I found out what's the problem, from the CreateProcess docs:
http://msdn.microsoft.com/en-us/library/ms682425.aspx
If the file name does not contain a directory path, the system searches for the
executable file in the following sequence:
The directory from which
Changes by Łukasz Langa luk...@langa.pl:
--
versions: +Python 3.4 -Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue672115
___
Changes by Łukasz Langa luk...@langa.pl:
--
nosy: +lukasz.langa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue672115
___
___
Python-bugs-list
Changes by Julian Berman julian+python@grayvines.com:
--
nosy: +Julian
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18050
___
___
Samuel John added the comment:
Ned, incredibly helpful description. Thanks for investigating! I have nothing
to add to that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18050
___
Changes by Ed Maste carpedd...@gmail.com:
--
nosy: +Ed.Maste
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15745
___
___
Python-bugs-list mailing
New submission from Brett Cannon:
importlib.util.module_for_loader (as well as set_package and set_loader) only
set those attributes either when they are not already set or when the module is
new. I realized this is a problem as it means a reload won't work the way one
might expect.
I want
New submission from Samuel John:
In the `_osx_support.py` module, there seems to be a bug in the method
`compiler_fixup` which occurs if
* the `customize_compiler` method from `distutils/sysconfig` has been called
and after that
* `_compile` from `distutils/unixcompiler.py` is called. The
Samuel John added the comment:
The symptom for the end-user looks kind of weird:
running build_ext
building 'Cython.Plex.Scanners' extension
/ A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p
e r / T o o l c h a i n s / X c o d e D e f a u l t . x c t o o l c h
Eric V. Smith added the comment:
I don't think anyone would (or should!) write code that cares, so I think your
proposed change is a good one.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18070
New submission from Brett Cannon:
I'm contemplating adding an implementation of
importlib.abc.InspectLoader.get_code() which relies on get_source() (and then
another version in ExecutionLoader which uses get_filename()). The reason I'm
hesitant is get_source() is often an expensive operation
Changes by Brett Cannon br...@python.org:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18072
___
___
Python-bugs-list
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18070
___
___
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18072
___
___
R. David Murray added the comment:
Heh. Yeah, I use patch because I don't just work with mercurial/python, and I
find the patch command simpler to use for applying patches in general, since I
never want an autocommit. (The exception would be if I'm applying a patch
that involves extended
Changes by Senthil Kumaran sent...@uthcode.com:
--
assignee: - orsenthil
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8083
___
Changes by Markus bela domla...@yahoo.com:
--
components: +Windows -Library (Lib), Unicode
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17656
___
Shriramana Sharma added the comment:
I'm sorry but I don't get why this is a WONTFIX. I reported what is (now)
apparently a dup: issue 18067. Just like the OP of this bug, I feel that in
doing testing and such, one would naturally symlink and expect the library in
the *current* directory to
R. David Murray added the comment:
When a script is executed by python, it does *not* import from the CWD, it
imports from the *location of the script*. From this, then, you can see that
there are two possible interpretations of the location of the script when the
script is a symlink, and we
Dmi Baranov added the comment:
Added a patch
--
keywords: +patch
nosy: +dmi.baranov
Added file: http://bugs.python.org/file30387/issue17987.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17987
Roundup Robot added the comment:
New changeset 687295c6c8f2 by Raymond Hettinger in branch '2.7':
Issue #18015: Fix unpickling of 2.7.3 and 2.7.4 namedtuples.
http://hg.python.org/cpython/rev/687295c6c8f2
--
nosy: +python-dev
___
Python tracker
New submission from Julien Muchembled:
I use pickle over sockets to make 2 processes communicate and I experience
hangs when the resulting pickle message is exactly 4097 bytes.
Attached file is a small script reproducing the issue, trying a few values
around 4096. It runs on both Python 2.7
Dmi Baranov added the comment:
Sorry for noise, missed changes in Doc/library/test.rst. Updated patch added
--
hgrepos: +192
Added file: http://bugs.python.org/file30389/issue17987_2.patch
___
Python tracker rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +alexandre.vassalotti, pitrou, serhiy.storchaka
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18073
___
Serhiy Storchaka added the comment:
Print to stdin?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17987
___
___
Dmi Baranov added the comment:
Yes, I agree that this is not an obvious sample, but:
$ ./python -m test.test_support | grep test_captured_stdin
test_captured_stdin (__main__.TestSupport) ... ok
What's about that?
with captured_stdin() as s:
s.write('hello\n')
s.seek(0)
captured =
Dmi Baranov added the comment:
Added py3 patch
--
keywords: +patch
nosy: +dmi.baranov
versions: +Python 3.4
Added file: http://bugs.python.org/file30390/issue18033_py3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18033
Dmi Baranov added the comment:
py2
--
Added file: http://bugs.python.org/file30391/issue18033_py2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18033
___
Dmi Baranov added the comment:
Added a patch. Not covered by test, because this case require external module
in test package definition.
--
keywords: +patch
nosy: +dmi.baranov
Added file: http://bugs.python.org/file30392/issue18045.patch
___
Python
Roundup Robot added the comment:
New changeset aff41a6421c2 by Benjamin Peterson in branch 'default':
don't expand the operand to Py_XINCREF/XDECREF/CLEAR/DECREF multiple times
(closes #17206)
http://hg.python.org/cpython/rev/aff41a6421c2
--
nosy: +python-dev
resolution: - fixed
New submission from Sworddragon:
Positional arguments which have no dest attribute doesn't replace any - with _.
In the attachments is an example script which demonstrate this. The output
looks like this:
sworddragon@ubuntu:~$ ./args.py foo
Namespace(foo-bar2='foo', foo_bar1=None)
--
Nick Coghlan added the comment:
The current behaviour is also needed to sanely support Python scripts
symlinked from Linux /bin directories.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6386
Ned Deily added the comment:
Sorry, I am unable to reproduce the problem with a vanilla Python 2.7.5 and a
downloaded Cython 0.19.1 either installing directly with Cython's setup.py or
using Pip 1.3.1. customize_compiler is used as part of every extension module
build in Distutils; it is not
Sworddragon added the comment:
I have found another report about this: http://bugs.python.org/issue15125
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18074
Changes by Sworddragon sworddrag...@aol.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18074
___
___
Python-bugs-list
Brett Cannon added the comment:
So it turns out I will simply have to make the methods not abstract anymore.
Thanks to multiple inheritance I can't implement the method in ExecutionLoader
and keep it abstract in case someone subclasses InspectLoader and then creates
another subclass of
Changes by R. David Murray rdmur...@bitdance.com:
--
superseder: - argparse: positional arguments containing - in name not handled
well
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18074
New submission from Brett Cannon:
If you run any test that has infinite recursion (test_json test_exceptions
test_sys test_runpy) it will segfault with a fresh checkout under OS X 10.8.3
using Clang. Not sure how widespread this is.
I did check that I am using a clean checkout of the default
Roundup Robot added the comment:
New changeset 11510db74223 by Brett Cannon in branch 'default':
Issue #18072: Implement get_code() for importlib.abc.InspectLoader and
http://hg.python.org/cpython/rev/11510db74223
New changeset 2ea849fde22b by Brett Cannon in branch 'default':
NEWS entry for
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18072
___
New submission from Brett Cannon:
Right now importlib.abc.SourceLoader implements get_source(), but most of it is
decoding bytes properly. That should probably be abstracted out to
importlib.util so that it's available even for loaders which don't provide
get_data() or get_filename().
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18055
___
___
Roundup Robot added the comment:
New changeset 24c3e7e08168 by Terry Jan Reedy in branch '3.3':
Issue #15392: Create a unittest framework for IDLE.
http://hg.python.org/cpython/rev/24c3e7e08168
--
nosy: +python-dev
___
Python tracker
Terry J. Reedy added the comment:
Before committing, I experimented with disabling test/test_idle. The simple and
safe method is to comment out the 'load_tests' line. With no tests discovered,
all pass ;-). Without verbosity, there is no indication that there were none. A
little harder, and
Shriramana Sharma added the comment:
The current behaviour is also needed to sanely support Python
scripts symlinked from Linux /bin directories.
OK that clinched it for me -- I can't argue against that! And obviously it is
not meaningful to copy/symlink *all* the current-directory modules
Jason R. Coombs added the comment:
Ugh. So it seems the 3.3 implementation of win_symlink, which is now been
renamed to posix_symlink, is now much more complicated. Not only does it handle
symlink arguments on Unix platforms, providing abstraction for a couple of
underlying system calls, but
New submission from Elazar Gershuni:
dis.dis('pass')
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python2.7/dis.py, line 45, in dis
disassemble_string(x)
File /usr/lib/python2.7/dis.py, line 112, in disassemble_string
labels = findlabels(code)
Elazar Gershuni added the comment:
it happens that: (code, i) == ('pass', 4)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18077
___
___
Nick Coghlan added the comment:
That's fair - reopening this as a docs bug.
--
assignee: brett.cannon -
components: +Documentation
resolution: wont fix -
stage: test needed - needs patch
status: closed - open
type: behavior - enhancement
versions: -Python 3.2
Roundup Robot added the comment:
New changeset 29a2557d693e by Jason R. Coombs in branch '3.3':
Issue #13772: Restored directory detection of targets in `os.symlink` on
Windows, which was temporarily removed in Python 3.2.3 due to an incomplete
implementation. The implementation now works even
New submission from João Bernardo:
If users could provide an inner lock for `threading.Condition` acquire when
making a thread wait, it would allow for notifying a specific waiter.
Because of race conditions, using:
cond.notify(1)
may not wake the thread I want. Also, I may not want to
Terry J. Reedy added the comment:
Last I checked, test_idle passes on the stable buildbots.
But it fails on a machine without threads, such as
http://buildbot.python.org/all/builders
/AMD64%20Fedora%20without%20threads%203.3/builds/752/steps/test/logs/stdio
On this machine, thread-related
Senthil Kumaran added the comment:
Not actually, It is still translating to http.cookies.Cookie - which does not
exist.
$ ./cpythonvenv/bin/2to3-3.4 bug-fixes/test1.py
RefactoringTool: Refactored bug-fixes/test1.py
--- bug-fixes/test1.py (original)
+++ bug-fixes/test1.py (refactored)
@@ -1,2
59 matches
Mail list logo