[issue15224] Range: Additional Methods (min/max/__and__)

2012-06-30 Thread Serhiy Storchaka
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),

[issue9239] zipfile: truncating comment can corrupt the zipfile

2012-06-30 Thread Serhiy Storchaka
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

[issue1160] Medium size regexp crashes python

2012-06-30 Thread Serhiy Storchaka
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

[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2012-06-30 Thread Serhiy Storchaka
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

[issue15224] Range: Additional Methods (min/max/__and__)

2012-06-30 Thread Mark Dickinson
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

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2012-06-30 Thread Davide Rizzo
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

[issue15226] max( str ) should be fast with PEP 393

2012-06-30 Thread Martin v . Löwis
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 ___

[issue3754] cross-compilation support for python build

2012-06-30 Thread Roundup Robot
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

[issue15227] Fatal Python error: PyEval_RestoreThread: NULL tstate on example script..

2012-06-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gpolo, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15227 ___ ___ Python-bugs-list

[issue15216] Support setting the encoding on a text stream after creation

2012-06-30 Thread Antoine Pitrou
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

[issue3754] cross-compilation support for python build

2012-06-30 Thread Roundup Robot
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

[issue15216] Support setting the encoding on a text stream after creation

2012-06-30 Thread Nick Coghlan
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

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Matthias Klose
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

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14330 ___ ___ Python-bugs-list mailing

[issue3754] cross-compilation support for python build

2012-06-30 Thread Matthias Klose
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 ___ ___

[issue3754] cross-compilation support for python build

2012-06-30 Thread Matthias Klose
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

[issue14324] Do not rely on AC_RUN_IFELSE tests in the configury

2012-06-30 Thread Matthias Klose
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

[issue14324] Do not rely on AC_RUN_IFELSE tests in the configury

2012-06-30 Thread Roundup Robot
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

[issue3754] cross-compilation support for python build

2012-06-30 Thread Roundup Robot
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

[issue15225] Add negative tests for passing str to hmac.HMAC and hmac.new

2012-06-30 Thread Marc Abramowitz
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 ___

[issue15225] Add negative tests for passing str to hmac.HMAC and hmac.new

2012-06-30 Thread Marc Abramowitz
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 ___

[issue15225] Add negative tests for passing str to hmac.HMAC and hmac.new

2012-06-30 Thread Roundup Robot
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

[issue1160] Medium size regexp crashes python

2012-06-30 Thread Antoine Pitrou
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

[issue9239] zipfile: truncating comment can corrupt the zipfile

2012-06-30 Thread Roundup Robot
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

[issue9239] zipfile: truncating comment can corrupt the zipfile

2012-06-30 Thread Antoine Pitrou
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

[issue15225] Add negative tests for passing str to hmac.HMAC and hmac.new

2012-06-30 Thread Antoine Pitrou
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

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2012-06-30 Thread Richard Oudkerk
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

[issue14591] Value returned by random.random() out of valid range on 64-bit

2012-06-30 Thread Roundup Robot
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

[issue15216] Support setting the encoding on a text stream after creation

2012-06-30 Thread Matthew Barnett
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

[issue3754] cross-compilation support for python build

2012-06-30 Thread Matthias Klose
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

[issue3754] cross-compilation support for python build

2012-06-30 Thread Roundup Robot
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 --

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Roundup Robot
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 ___

[issue15216] Support setting the encoding on a text stream after creation

2012-06-30 Thread Antoine Pitrou
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

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Éric Araujo
É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

[issue15171] Fix 64-bit building for buildbot scripts (3.2)

2012-06-30 Thread Roundup Robot
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 -- ___

[issue15170] Fix 64-bit building for buildbot scripts (2.7)

2012-06-30 Thread Roundup Robot
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 -- ___

[issue3754] cross-compilation support for python build

2012-06-30 Thread Matthias Klose
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 ___

[issue3754] cross-compilation support for python build

2012-06-30 Thread Roundup Robot
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

[issue15224] Range: Additional Methods (min/max/__and__)

2012-06-30 Thread Yclept Nemo
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

[issue15222] mailbox.mbox writes without empty line after each message

2012-06-30 Thread Petri Lehtinen
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

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Éric Araujo
É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

[issue15224] Range: Additional Methods (min/max/__and__)

2012-06-30 Thread Mark Dickinson
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

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Matthias Klose
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

[issue3754] cross-compilation support for python build

2012-06-30 Thread Ray Donnelly
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

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Roundup Robot
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 --

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: applied -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14330 ___ ___

[issue3754] cross-compilation support for python build

2012-06-30 Thread Matthias Klose
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? --

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Matthias Klose
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

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Éric Araujo
É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

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Éric Araujo
É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:

[issue3754] cross-compilation support for python build

2012-06-30 Thread Roumen Petrov
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

[issue15198] multiprocessing Pipe send of non-picklable objects doesn't raise error

2012-06-30 Thread Richard Oudkerk
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

[issue15171] Fix 64-bit building for buildbot scripts (3.2)

2012-06-30 Thread Stefan Krah
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

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Roumen Petrov
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

[issue15198] multiprocessing Pipe send of non-picklable objects doesn't raise error

2012-06-30 Thread Ian Bell
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. --

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Roumen Petrov
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

[issue15228] os.utime() docs not clear on behavior on nonexistant files

2012-06-30 Thread Daniel Grace
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

[issue15229] stringification of subclasses of OSError can cause crash

2012-06-30 Thread Richard Oudkerk
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

[issue15229] stringification of subclasses of OSError can cause crash

2012-06-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +pitrou priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15229 ___ ___

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Roundup Robot
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 --

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Matthias Klose
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 ___

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14330 ___ ___ Python-bugs-list

[issue15229] stringification of subclasses of OSError can cause crash

2012-06-30 Thread Antoine Pitrou
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

[issue15229] stringification of subclasses of OSError can cause crash

2012-06-30 Thread Roundup Robot
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

[issue15229] stringification of subclasses of OSError can cause crash

2012-06-30 Thread Antoine Pitrou
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

[issue10650] decimal.py: quantize(): excess digits with watchexp=0

2012-06-30 Thread Stefan Krah
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:

[issue10650] decimal.py: quantize(): excess digits with watchexp=0

2012-06-30 Thread Mark Dickinson
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. --

[issue14330] don't use host python, use host search paths for host compiler

2012-06-30 Thread Roundup Robot
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

[issue15194] libffi-3.0.11 update

2012-06-30 Thread Roundup Robot
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 -- ___

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2012-06-30 Thread Daniel Lenski
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

[issue15034] Devguide should document best practices for stdlib exceptions

2012-06-30 Thread Terry J. Reedy
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__

[issue15194] libffi-3.0.11 update

2012-06-30 Thread Roundup Robot
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

[issue1207613] Bottom Scroll Bar

2012-06-30 Thread Terry J. Reedy
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

[issue15141] IDLE horizontal scroll bar missing (Win-XPsp3)

2012-06-30 Thread Terry J. Reedy
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 ___

[issue15230] runpy.run_path broken: Breaks scoping; pollutes sys.modules; doesn't set __package__

2012-06-30 Thread Benjamin S Wolf
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

[issue15224] Range: Additional Methods (min/max/__and__)

2012-06-30 Thread Raymond Hettinger
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

[issue10650] decimal.py: quantize(): excess digits with watchexp=0

2012-06-30 Thread Raymond Hettinger
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. --

[issue15158] Add support for multi-character delimiters in csv

2012-06-30 Thread Terry J. Reedy
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',

[issue15178] Doctest should handle situations when test files are not readable

2012-06-30 Thread Terry J. Reedy
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',

[issue15180] Cryptic traceback from os.path.join when mixing str bytes

2012-06-30 Thread Terry J. Reedy
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 ___

[issue15189] tkinter.messagebox does not use the application's icon

2012-06-30 Thread Terry J. 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

[issue15231] update PyPI upload doc to say --no-raw passed to rst2html.py

2012-06-30 Thread Chris Jerdonek
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

[issue1207613] Bottom Scroll Bar

2012-06-30 Thread Roger Serwy
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

[issue15178] Doctest should handle situations when test files are not readable

2012-06-30 Thread R. David Murray
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

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Luke Kenneth Casson Leighton
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

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Luke Kenneth Casson Leighton
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

[issue15232] maildir parsing can split up messages with 'From ' at the start of a line

2012-06-30 Thread Chris Pickett
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

[issue15232] maildir parsing can split up messages with 'From ' at the start of a line

2012-06-30 Thread R. David Murray
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 ___