Serhiy Storchaka storch...@gmail.com added the comment:
On a side note, glancing at Python-3.3.0a4/Objects/rangeobject.c:
range_contains seems to iterate through the entire range whereas __contains__
from the attached Range.py is O(1)
See issue1766304. For int range.__contains__ is O(1),
Serhiy Storchaka storch...@gmail.com added the comment:
Then the tests may still be added to test_zipfile?
Yes, they may. Here is a patch with adapted for 3.3 tests only.
--
Added file:
http://bugs.python.org/file26216/zipfile_appendmode_comment_tests.patch
Serhiy Storchaka storch...@gmail.com added the comment:
This has probably been fixed in 3.3 in c67b7e0c818a.
Then the issue may be closed?
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1160
Serhiy Storchaka storch...@gmail.com added the comment:
Serhiy: I'm not sure what you're saying. At the point that str.format() is
producing its error message, it doesn't know as much as %-formatting does
about the original arguments, so it can't produce a similar message.
I'm surprised
Mark Dickinson dicki...@gmail.com added the comment:
However, the concept of the intersection of ordered sets is commonplace
and implemented in other libraries, for example:
None of those are specific to arithmetic progressions (i.e., range-like lists /
sets), as far as I can tell. I could
Davide Rizzo sor...@gmail.com added the comment:
Daniel, Nick, shouldn't the context manager yield f within a with block?
--
nosy: +davide.rizzo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14243
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15226
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 56c574a1819a by doko in branch 'default':
- Issue #3754, refactor sys.platform / get_platform bits, use a
http://hg.python.org/cpython/rev/56c574a1819a
--
nosy: +python-dev
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gpolo, loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15227
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
The proposal [1] is that TextIOWrapper support a set_encoding() method
that is only supported between creation of the stream and the first
read or write operation.
That will be fragile. A bit of prematurate input or output (for whatever
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset af15910d2ffb by doko in branch 'default':
- Issue #3754: Use AC_PATH_TOOL and AC_CHECK_TOOLS instead of
http://hg.python.org/cpython/rev/af15910d2ffb
--
___
Python
Nick Coghlan ncogh...@gmail.com added the comment:
Indeed. However, the current alternatives (based on detach() and fileNo()) are
also problematic - using detach() breaks the corresponding sys.__std*__ entry,
while using fileNo() means you now have two independent IO stacks using the
same
Matthias Klose d...@debian.org added the comment:
the updated patch addresses:
- fix typo mentioned in msg156044
- don't use the host python during build and installation
- for include files and libraries, use the search directories
provided by gcc, and only fall back to hard coded
Changes by Matthias Klose d...@debian.org:
--
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14330
___
___
Python-bugs-list mailing
Matthias Klose d...@debian.org added the comment:
updated the patch in issue #14330.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Matthias Klose d...@debian.org added the comment:
some chunks of the python-py3k-20120607-CROSS.patch patch are now checked in.
I didn't see any issues with the symlinks, and generating the posix vars, so
maybe these bits should be dropped from the patch.
remaining issues are:
- the
Matthias Klose d...@debian.org added the comment:
use a linker test to check for profiling support (derived from the patch in
issue #3754.
--
Added file: http://bugs.python.org/file26218/profiling.diff
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 575efae8ec57 by doko in branch 'default':
- Issue #14324: use a linker test to check for profiling support
http://hg.python.org/cpython/rev/575efae8ec57
--
___
Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d158b0a78390 by doko in branch 'default':
- Issue #3754: Some unrelated configure.ac cleanups.
http://hg.python.org/cpython/rev/d158b0a78390
--
___
Python tracker
Marc Abramowitz msabr...@gmail.com added the comment:
Updating patch
--
Added file: http://bugs.python.org/file26219/hmac.py.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15225
___
Changes by Marc Abramowitz msabr...@gmail.com:
--
type: - enhancement
Added file: http://bugs.python.org/file26220/test_hmac.py.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15225
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b0605b34b2de by Antoine Pitrou in branch 'default':
Issue #15225: improve error message when hmac is passed a wrong key type.
http://hg.python.org/cpython/rev/b0605b34b2de
--
nosy: +python-dev
Antoine Pitrou pit...@free.fr added the comment:
Then the issue may be closed?
Well, it's still present in 2.7 and 3.2 (assuming we consider it's important
enough to fix).
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e13c9f99fbae by Antoine Pitrou in branch '3.2':
Issue #9239: add tests for modifying zipfile comments in append mode.
http://hg.python.org/cpython/rev/e13c9f99fbae
New changeset b299b4279e13 by Antoine Pitrou in
Antoine Pitrou pit...@free.fr added the comment:
Thanks, committed!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9239
Antoine Pitrou pit...@free.fr added the comment:
Thank you Marc, your patches are now committed!
--
components: +Library (Lib)
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: enhancement - behavior
___
Python tracker
Richard Oudkerk shibt...@gmail.com added the comment:
Rather than add a NamedTemporaryFile.delete_after() classmethod, would it not
be simpler to just add a close_without_unlink() method to NamedTemporaryFile?
with NamedTemporaryFile() as f:
write to f
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6df0b4ed8617 by Mark Dickinson in branch '2.7':
Closes #14591: Random.jumpahead could produce an invalid MT state on 64-bit
machines.
http://hg.python.org/cpython/rev/6df0b4ed8617
--
nosy: +python-dev
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
Would a set_encoding method be Pythonic? I would've preferred an encoding
property which flushes the output when it's changed.
--
nosy: +mrabarnett
___
Python tracker
Matthias Klose d...@debian.org added the comment:
for the readline ldd check, I'm checking in a patch to use readelf instead of
ldd for the cross build.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e6e99d449bdc by doko in branch 'default':
- Issue #3754: Use readelf instead of ldd for the cross build readline check
http://hg.python.org/cpython/rev/e6e99d449bdc
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b285ec79e5de by Matthias Klose in branch 'default':
previous patch needs patch from issue #14330
http://hg.python.org/cpython/rev/b285ec79e5de
--
nosy: +python-dev
___
Antoine Pitrou pit...@free.fr added the comment:
Would a set_encoding method be Pythonic? I would've preferred an
encoding property which flushes the output when it's changed.
I would prefer to have a method. The side-effect is too violent to be
hidden behind a property.
Besides, you want to
Éric Araujo mer...@netwok.org added the comment:
I thought that the distutils-is-frozen rule was only for Python 2.x
and that they would be allowed for 3.x? Is this not true?
It is not. The normal rule is that stable versions (like 2.7) get only bug
fixes while new features go only to the
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 177f93f0f5b9 by Stefan Krah in branch '3.2':
Issue #15171: Quote the variable that expands to the current directory.
http://hg.python.org/cpython/rev/177f93f0f5b9
--
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 97445ca895d5 by Stefan Krah in branch '2.7':
Issue #15170: Quote the variable that expands to the current directory.
http://hg.python.org/cpython/rev/97445ca895d5
--
___
Matthias Klose d...@debian.org added the comment:
the ncurses/_flags changes seem to be unrelated. please open a separate issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 12a56a349af2 by doko in branch 'default':
- Issue #3754: Fix /dev/ptmx, /dev/ptc file checks for cross builds,
http://hg.python.org/cpython/rev/12a56a349af2
--
___
Python
Yclept Nemo orbisvi...@gmail.com added the comment:
None of those are specific to arithmetic progressions (i.e., range-like
lists / sets), as far as I can tell.
Does this (the data-type involved) really matter?
I could see more use for general list-intersection functionality.
The way to
Petri Lehtinen pe...@digip.org added the comment:
I'm afraid that's not enough details to do any fixing. I would need a concrete
way to reproduce the issue.
--
status: open - pending
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Patch looks okay as it contains no important changes to distutils, the
compilers or any big part; it’s the sort of changes that have been accepted to
fix Mac issue or support multiarch on Debian. I would prefer safer names for
environment
Mark Dickinson dicki...@gmail.com added the comment:
Okay, I'm closing this as rejected. Some responses:
I don't think that complexity or specialisation should matter.
Well, Python's supposed to be a general-purpose language; range objects *are*
generally useful for all sorts of tasks, but
Matthias Klose d...@debian.org added the comment:
PYTHON_BUILD_HOST_PLATFORM is confusing/misleading. I'll use
_PYTHON_HOST_PLATFORM (with the leading underscore to mark it somehow internal).
--
___
Python tracker rep...@bugs.python.org
Ray Donnelly mingw.andr...@gmail.com added the comment:
NCURSES_INTERNALS stuff appears to be redundant:
Mac OS X curses.h, Linux curses.h and Windows PDCurses.h don't reference it,
nor does the Python 3.3.0b1 source code. Of course, I haven't checked any other
systems.
However: see
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset cfbe51e66749 by doko in branch 'default':
- Issue #14330: For cross builds, don't use host python, use host search paths
http://hg.python.org/cpython/rev/cfbe51e66749
--
Matthias Klose d...@debian.org added the comment:
applied
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14330
___
___
Matthias Klose d...@debian.org added the comment:
Roumen, I would like to close this issue. Please could you file separate issues
for the remaining bits?
- the thread/pthread configure issue
- the generation of the Setup / pyconfig.h files?
--
Matthias Klose d...@debian.org added the comment:
the cross build support is now updated for 3.3. so the mingw32 patches need an
update. Not sure if they will go into 3.3, because there seem to be non-trivial
changes for in Lib/distutils. Other self-contained changes probably should
still go
Éric Araujo mer...@netwok.org added the comment:
+if _PROJECT_BASE in os.environ:
Can you use _PYTHON_PROJECT_BASE here? Thanks.
(BTW it would be nice if you could mark the bugs for which you did commits as
closed+fixed+committed.)
--
___
Python
Éric Araujo mer...@netwok.org added the comment:
Not sure if they will go into 3.3, because there seem to be non-trivial
changes for in Lib/distutils.
The feature freeze applies to all branches. Even when 3.4 starts, the same
rule that has been repeatedly explained for two years will apply:
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Matthias I cannot follow all you questions as I'm on vacation so briefly:
a) ac_cv_thread is type correct one is with'p'
b) ncurses
NCURSES_INTERNALS reported again in issue 14598
NCURSES_OPAQUE - i don't have time to explain all
Richard Oudkerk shibt...@gmail.com added the comment:
What type of object did you try to send, and how can the problem be reproduced?
There are plenty of types which don't support pickling, and where pickling only
succeeds in producing invalid data which cannot be successfully unpickled. The
Stefan Krah stefan-use...@bytereef.org added the comment:
Did the Windows XP-4 bot start failing after 334ff92a8483 ?
The logs don't go back very far:
http://buildbot.python.org/all/builders/x86%20XP-4%203.2
--
___
Python tracker
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Eric.
please could could you revert PEP 405 as distutils is frozen or step down as It
seems to me you don't flow distutils evolution.
--
___
Python tracker rep...@bugs.python.org
Ian Bell ian.h.b...@gmail.com added the comment:
I had issues with a class that I wrote myself. It is a rather involved data
structure with all kinds of interesting things going on. Unfortunately I
cannot put together a minimal working example that will cause a Python hang.
--
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Hi Mattias ,
I have ready to upload patches for 3.3.30b1 but after recent changes I will
postpone upload .
Part of already uploaded patch cover cygwin native build .
For instance
a) --enable-new-dtags is only for elf binaries.
b) use
New submission from Daniel Grace thisgenericn...@gmail.com:
The documentation for os.utime() at
http://docs.python.org/py3k/library/os.html#os.utime states:
Set the access and modified times of the file specified by path. [...] The
effect is similar to running the Unix program touch on the
New submission from Richard Oudkerk shibt...@gmail.com:
If you subclass OSError without calling OSError.__init__() then you can get a
crash. For example
Python 3.3.0b1 (default:cfbe51e66749, Jun 30 2012, 20:50:54) [MSC v.1600 32
bit
(Intel)] on win32
Type help, copyright, credits or
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +pitrou
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15229
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 86ac09f118be by doko in branch 'default':
- Issue #14330: For cross builds, don't use host python, use host search paths
http://hg.python.org/cpython/rev/86ac09f118be
--
Matthias Klose d...@debian.org added the comment:
now renamed, add added the news entry
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14330
___
Changes by Matthias Klose d...@debian.org:
--
resolution: - fixed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14330
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
Here is a quick patch (needs a test):
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -834,6 +834,7 @@ oserror_init(PyOSErrorObject *self, PyOb
#endif
/* Steals the
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1cbab581bf1e by Antoine Pitrou in branch 'default':
Issue #15229: An OSError subclass whose __init__ doesn't call back
http://hg.python.org/cpython/rev/1cbab581bf1e
--
nosy: +python-dev
Antoine Pitrou pit...@free.fr added the comment:
It should be fixed now.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15229
Stefan Krah stefan-use...@bytereef.org added the comment:
Ping. We have to decide if we need watchexp in _decimal. I've left it
out so far since all I can gather from the docs is that it somehow
behaves like _rescale.
Can we deprecate it and replace it by a proper rescale?
--
nosy:
Mark Dickinson dicki...@gmail.com added the comment:
I'd be happy to see watchexp deprecated. It feels like a leftover
implementation artefact; its behaviour isn't properly defined anywhere, and as
far as I can tell it has only a single testcase.
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7955d769fdf5 by doko in branch 'default':
- Issue #14330: Don't derive the include and library search dirs
http://hg.python.org/cpython/rev/7955d769fdf5
--
___
Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 989efaab9525 by doko in branch 'default':
- Issue #15194: check in the missing m4/ax_check_compile_flag.m4 file.
http://hg.python.org/cpython/rev/989efaab9525
--
___
Daniel Lenski dlen...@gmail.com added the comment:
Davide, the @contextlib.contextmanager decorator effectively wraps the
yield statement in the necessary glue so that everything prior to the yield
statement occurs in the __enter__() method of the contextmanager, while
everything subsequent
Terry J. Reedy tjre...@udel.edu added the comment:
I agree with Raymond that this, especially super() is not tutorial material. I
agree with David that we need something somewhere else. Just today a commit was
pushed about IOException subclasses causing problems because they have an
__init__
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6fe974b8056c by doko in branch 'default':
- Issue #15194: check in the missing m4/ax_append_flag.m4 file.
http://hg.python.org/cpython/rev/6fe974b8056c
--
___
Python
Terry J. Reedy tjre...@udel.edu added the comment:
#15141, which I will close as a duplicate, makes the same request (for the edit
window). Roger Serwy notes that his extension package
http://idlex.sourceforge.net/extensions.html
has horizontal.py, which does what is requested. He is willing
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - duplicate
status: open - closed
superseder: - Bottom Scroll Bar
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15141
___
New submission from Benjamin S Wolf jokeser...@gmail.com:
(Python 3.2.3)
1. After discarding the module run_path used to run the code in, all references
to variables from local scopes (even if they are references to global
variables) are bound to None, preventing any code in functions from
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
FWIW, I concur with rejecting this for the reasons that Mark mentioned.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15224
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Does anyone know why watchexp was put there in the first place?
http://speleotrove.com/decimal/daops.html#refquant
If no motivation for this can be found, I agree with Mark that it should be
deprecated and removed.
--
Terry J. Reedy tjre...@udel.edu added the comment:
Did you read Unfortunately, delimiter is represented by a character in C. in
one of the answers? If so, this should be rejected. For the posted problem, I
added the following.
list(s[1:-1] for s in '1234||abcd||a1s1'.split('||'))
['1234',
Terry J. Reedy tjre...@udel.edu added the comment:
Failure modes tend to get less attention that successful behavior. If I wrote a
program that used doctest/unittest to test multiple files, I should like it to
run an many as possible. If a filename is bad, print name as usual, say
'aborted',
Terry J. Reedy tjre...@udel.edu added the comment:
This strikes me as a bugfix that does not get backported because code might
depend on the bug. If the policy for exception messages, such as it is,
documented somewhere?
--
nosy: +terry.reedy
___
Terry J. Reedy tjre...@udel.edu added the comment:
It is not clear to me what change your are proposing.
--
nosy: +gpolo, terry.reedy
type: - enhancement
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
New submission from Chris Jerdonek chris.jerdo...@gmail.com:
I had an issue whereby my reST long_description wasn't getting rendered as HTML
when uploaded to PyPI. Following the instructions here did not work as-is:
http://docs.python.org/dev/distutils/uploading.html#pypi-package-display
It
Roger Serwy roger.se...@gmail.com added the comment:
I wrote Horizontal.py as an extension in order to avoid forking IDLE. It
should be simple to incorporate a toggling horizontal scroll bar within
the EditorWindow class itself.
(Note: it would seem nice to be able to get a list of extensions
R. David Murray rdmur...@bitdance.com added the comment:
The problem with running all the files as things stand is that the errors get
lost in the other output. Changing that would definitely be an enhancement.
--
___
Python tracker
Luke Kenneth Casson Leighton l...@lkcl.net added the comment:
distutils2 is the place to add such new features.
you're not getting it. you've just told both this
mingw32 project and also the new effort by ray that
they can go fuck themselves, because their efforts
are a total waste of time
Luke Kenneth Casson Leighton l...@lkcl.net added the comment:
The feature freeze applies to all branches. Even when 3.4 starts, the
same rule that has been repeatedly explained for two years will apply:
no new features in distutils. Again, neither Tarek nor I are happy
about that, but it
New submission from Chris Pickett cpi...@gmail.com:
tar xvfz maildir_bug.tar.gz
cd maildir_bug
./bug.sh
The attachment contains a maildir with a single message. This message has two
body lines beginning with 'From '. When converted to mbox using the
maildir2mbox.py, only the second line
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email
nosy: +barry, r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15232
___
88 matches
Mail list logo