[issue9685] tuples should remember their hash value

2013-01-07 Thread Mark Dickinson
Mark Dickinson added the comment: Given the responses so far, I suggest closing this as rejected. -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9685 ___

[issue16866] libainstall doesn't create $(BINDIR) directory

2013-01-07 Thread Benno Leslie
Benno Leslie added the comment: In a similar manner the bininstall target relies on $(LIBPC), but does not create that. This makes me consider if the libainstall target should be installing pkg-config sciprt at all (and whether bininstall should be installing the .pc files). It is hard for

[issue9685] tuples should remember their hash value

2013-01-07 Thread Christian Heimes
Christian Heimes added the comment: I'm not too worried about the slightly increased memory usage. For example one of our largest application instances consumes about 8 GB memory right now. It has just about 22k tuples in gc.get_objects(). An additional Py_hash_t in tuple's struct would

[issue16883] --enable-shared during configure forces 2.7.3 to build as 2.7.2+ on Ubuntu 11.10

2013-01-07 Thread Ned Deily
Ned Deily added the comment: You need to be careful when using a Python with --enable-shared to ensure that the correct dynamic libraries are being used at execution time. Normally, after a make, you use make install to install the Python executable and the shared library into the configured

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Charles-François Natali added the comment: Also notice the need for a third constant, SELECT_CONNECT. For details see the class WindowsPollPollster in the Tulip code. I'll trust Richard on all Windows matter, so if you need a SELECT_CONNECT constant, I'll expose one. However, two Tulip

[issue16882] Python 2.7 has 73 files with hard references to /usr/local when building on *NIX

2013-01-07 Thread Ned Deily
Ned Deily added the comment: Thanks for your suggestion. However, the issue you've created is too wide in scope to be actionable. As you note, just because the string /usr/local appears in a file within the Python source distribution does not indicate a problem. Many of the cites are in

[issue9685] tuples should remember their hash value

2013-01-07 Thread Georg Brandl
Georg Brandl added the comment: Still, actual benefits in some kind of benchmark will be needed to show that this is not a premature optimization. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9685

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Charles-François Natali added the comment: The second test runs fine on Linux, and from a cursory look, I don't see how it could fail (the socket should be reported as write ready upon ECONNREFUSED). Hum, thinking about it, I wonder is OS-X doesn't report POLLPRI or some other esoteric event

[issue10156] Initialization of globals in unicodeobject.c

2013-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here are patches for all four Python versions. They fixes possible usage of the followed non-initialized global variables: free_list, numfree, interned, unicode_empty, static_strings, unicode_latin1, bloom_linebreak, unicode_default_encoding. --

[issue10156] Initialization of globals in unicodeobject.c

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: commit review - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10156 ___

[issue16884] logging handler automatically added starting in 3.2+

2013-01-07 Thread Chris Jerdonek
New submission from Chris Jerdonek: Starting in 3.2, the logging module no longer outputs the following message when logging and no handlers are configured for the root logger: log = logging.getLogger() log.error('test') 'No handlers could be found for logger root' However, I can't

[issue16850] Add x mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT

2013-01-07 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: Atomic open + close-and-exec - Add x mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16850

[issue16850] Add x mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT

2013-01-07 Thread STINNER Victor
STINNER Victor added the comment: Oh, my patch doesn't check fcntl() error code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16850 ___ ___

[issue16883] --enable-shared during configure forces 2.7.3 to build as 2.7.2+ on Ubuntu 11.10

2013-01-07 Thread Isaac (.ike) Levy
Isaac (.ike) Levy added the comment: Ned, absolutely correct, thank you! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16883 ___ ___

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2013-01-07 Thread Nick Coghlan
Nick Coghlan added the comment: To clarify the vague allusion in my last comment, Ron's suggestion was along the lines of creating a dis.Bytecode object that encapsulated everything the dis module can figure out about a piece of compiled code. That would mean exposing the kind of info

[issue16882] Python 2.7 has 73 files with hard references to /usr/local when building on *NIX

2013-01-07 Thread Isaac (.ike) Levy
Isaac (.ike) Levy added the comment: Hi Ned, Thanks. Your logic is rational here, I'll close it, and open another if I can carve out time to attack this with an appropriate patch for setup.py - to attempt resolution of the 3rd party library build issues. However, off the top of your head if

[issue16882] Python 2.7 has 73 files with hard references to /usr/local when building on *NIX

2013-01-07 Thread Isaac (.ike) Levy
Changes by Isaac (.ike) Levy ike.l...@axialmarket.com: -- resolution: wont fix - duplicate ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16882 ___

[issue16882] Python 2.7 has 73 files with hard references to /usr/local when building on *NIX

2013-01-07 Thread Isaac (.ike) Levy
Changes by Isaac (.ike) Levy ike.l...@axialmarket.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16882 ___ ___

[issue16868] Python Developer Guide: Include a reminder to ping bug report if not reviewed in timely manner

2013-01-07 Thread Todd Rovito
Todd Rovito added the comment: Ok I changed the time to one month...now the patch reads: To begin with, please be patient! There are many more people submitting patches than there are people capable of reviewing your patch. Getting your patch reviewed requires a reviewer to have the spare time

[issue16868] Python Developer Guide: Include a reminder to ping bug report if not reviewed in timely manner

2013-01-07 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: Removed file: http://bugs.python.org/file28573/16868PythonDeveloperGuidePingIssueBeforeEmailingPython-dev.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16868

[issue16868] Python Developer Guide: Include a reminder to ping bug report if not reviewed in timely manner

2013-01-07 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: Removed file: http://bugs.python.org/file28603/16868PythonDeveloperGuidePingIssueBeforeEmailingPython-devV2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16868

[issue16868] Python Developer Guide: Include a reminder to ping bug report if not reviewed in timely manner

2013-01-07 Thread Brett Cannon
Brett Cannon added the comment: Wording LGTM -- stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16868 ___ ___

[issue16884] logging handler automatically added starting in 3.2+

2013-01-07 Thread Vinay Sajip
Vinay Sajip added the comment: Although there is no versionadded directive, the HOWTO documentation does state that the behaviour relates to Python 3.2 and later, and how to obtain the earlier behaviour. I will add documentation (including a versionadded) to the reference docs and also

[issue5575] Add env vars for controlling building sqlite, hashlib and ssl

2013-01-07 Thread Isaac (.ike) Levy
Changes by Isaac (.ike) Levy ike.l...@axialmarket.com: -- nosy: +ikeaxial ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5575 ___ ___

[issue16884] logging handler automatically added starting in 3.2+

2013-01-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 95a4ff8c540b by Vinay Sajip in branch '3.2': Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate. http://hg.python.org/cpython/rev/95a4ff8c540b New changeset 3b5c4190e256 by Vinay Sajip in

[issue5066] IDLE documentation for Unix obsolete/incorrect

2013-01-07 Thread Zachary Ware
Zachary Ware added the comment: I wonder, is there any really good reason to keep a separate Lib/idlelib/help.txt, or can Doc/library/idle.rst be used for its purpose (with or without a small amount of processing to, for instance, remove comments and extra backslashes)? Both have most of the

[issue16885] SQLite3 iterdump ordering

2013-01-07 Thread Jamie Spence
New submission from Jamie Spence: After dumping a database with iterdump, trying to execute the dumped SQL sometimes results in an error because the statement order may be wrong. In my case, it is a view that is being created before the view it is referencing. Would ordering the sqlite_master

[issue8745] zipimport is a bit slow

2013-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In general, the patch LGTM, however I can't try it on Windows, and on Linux it has no any performance effect. Can anyone try it on Windows? I have re-uploaded the patch for review after converting it from UTF-16 and CRLF. -- Added file:

[issue16850] Add e mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT

2013-01-07 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: Add x mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT - Add e mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT ___ Python tracker rep...@bugs.python.org

[issue13173] Default values for string.Template

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13173 ___ ___

[issue12939] Add new io.FileIO using the native Windows API

2013-01-07 Thread STINNER Victor
STINNER Victor added the comment: Hum, _get_osfhandle() was not mentionned in this issue. This function may be used to retrieve the internel file handle from a file descriptor. http://msdn.microsoft.com/en-us/library/ks2530z6%28v=vs.100%29.aspx There is also the opposite: _open_osfhandle().

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

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: -serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13790 ___ ___

[issue15335] IDLE - debugger steps through run.py internals

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: -serhiy.storchaka versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15335 ___

[issue9522] xml.etree.ElementTree forgets the encoding

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- versions: +Python 3.4 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9522 ___

[issue15438] document that math.pow is inappropriate for integers

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: -serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15438 ___ ___

[issue15695] Correct __sizeof__ support for StgDict

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15695 ___ ___

[issue15972] wrong error message for os.path.getsize

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15972 ___ ___

[issue9374] urlparse should parse query and fragment for arbitrary schemes

2013-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: It may be fixing a bug, but the bug is not obvious and the fix is not backward compatible. I therefore suggest to roll back the commits to 3.2 and 2.7. Well, the bug is quite obvious to me :-) (just hit it here) The fix for those who want the old behaviour

[issue14072] urlparse on tel: URI-s misses the scheme in some cases

2013-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, urlparse still doesn't handle bare tel URIs such as tel:1234: parse.urlparse(tel:1234) ParseResult(scheme='', netloc='', path='tel:1234', params='', query='', fragment='') This is not terribly important since these URLs are not RFC

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-07 Thread Frank Wierzbicki
New submission from Frank Wierzbicki: test_dictcomp hard codes the dict output of various tests of Dict Comprehensions. Since Jython has a different dict ordering we are currently altering this test. When we get to 3.x it will be nicer if we can use this test as is. Also I've seen some

[issue16884] logging handler automatically added starting in 3.2+

2013-01-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks a lot, Vinay. By the way, I noticed that the PLEASE NOTE reformatting can also be applied to 2.7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16884

[issue15442] Expand the list of default dirs filecmp.dircmp ignores

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: -serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15442 ___ ___

[issue15988] Inconsistency in overflow error messages of integer argument

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15988 ___ ___

[issue2263] struct.pack() + numpy int raises SystemError

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: -serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2263 ___ ___

[issue16273] f.tell() returning negative number on Windows build

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16273 ___ ___

[issue5803] email/quoprimime: encode and decode are very slow on large messages

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5803 ___ ___

[issue15027] Faster UTF-32 encoding

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15027 ___

[issue15278] UnicodeDecodeError when readline in codecs.py

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - duplicate stage: patch review - committed/rejected status: open - closed superseder: - UTF-16 incremental decoder doesn't support partial surrogate pair ___ Python tracker

[issue16836] configure script disables support for IPv6 on a system where IPv6 is disabled

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16836 ___ ___ Python-bugs-list

[issue11461] UTF-16 incremental decoder doesn't support partial surrogate pair

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11461 ___ ___

[issue13899] re pattern r[\A] should work like A but matches nothing. Ditto B and Z.

2013-01-07 Thread Matthew Barnett
Matthew Barnett added the comment: I've attached a patch. -- keywords: +patch Added file: http://bugs.python.org/file28614/issue13899.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13899

[issue16096] Get rid of dangerous integer overflow tricks

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16096 ___ ___

[issue14377] Modify serializer for xml.etree.ElementTree to allow forcing the use of long tag closing

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14377 ___ ___

[issue16335] Integer overflow in unicode-escape decoder

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16335 ___ ___

[issue16404] Uses of PyLong_FromLong that don't check for errors

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: docs@python - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16404 ___

[issue15845] Fixing some byte-to-string conversion warnings

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15845 ___ ___

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13153 ___ ___ Python-bugs-list mailing list

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file28616/selector-8.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file28615/tulip-selectors-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file28606/selector_poll_events.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file28602/selector-6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Added file: http://bugs.python.org/file28617/selector-8.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Added file: http://bugs.python.org/file28618/tulip-selectors-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue9685] tuples should remember their hash value

2013-01-07 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9685 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file28618/tulip-selectors-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file28584/selector-5.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Added file: http://bugs.python.org/file28619/tulip-selectors-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file28564/selector-3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file28575/selector-data.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue15845] Fixing some byte-to-string conversion warnings

2013-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This will raise an error if curdir is a non-ascii str, so, unless the same error was already raised later in the code, this is backward incompatible. On all supported platforms curdir is a ascii str (':' on Mac Classic, '.' on all other). The same idiom

[issue5066] IDLE documentation for Unix obsolete/incorrect

2013-01-07 Thread Todd Rovito
Todd Rovito added the comment: Zachary, I like your idea about joining idle.rst with help.txt but I think that should be covered under a separate bug issue. The way I see it this bug is about fixing the current documentation. So I suggest you open up a new issue and get people's take on

[issue5066] IDLE documentation for Unix obsolete/incorrect

2013-01-07 Thread Zachary Ware
Zachary Ware added the comment: Right you are, Todd; I'll get another issue opened for that soon. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5066 ___

[issue9685] tuples should remember their hash value

2013-01-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 17038de56fd4 by Christian Heimes in branch 'default': Add a comment about *not* caching the hash value. Issue #9685 suggested to memorize the hash value, but the feature request was rejected because no speed ups were found.

[issue16887] IDLE - tabify/untabify applied when clicking Cancel

2013-01-07 Thread Roger Serwy
New submission from Roger Serwy: Krystian Rosiński notified me about an error with Tabify/Untabify. Clicking cancel still performs the operation because the _asktabwidth function in Lib/idlelib/EditorWindow.py always returns a number, regardless of cancel being clicked. This bug is visibly

[issue15972] wrong error message for os.path.getsize

2013-01-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b68dc917321 by Serhiy Storchaka in branch '3.3': Issue #15972: Fix error messages when os functions expecting a file name or http://hg.python.org/cpython/rev/1b68dc917321 New changeset 71fb426ee972 by Serhiy Storchaka in branch 'default': Issue

[issue15972] wrong error message for os.path.getsize

2013-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed. Thank you for report, John. -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15972

[issue16675] Ship Python with a package manager

2013-01-07 Thread Matt Hickford
Matt Hickford added the comment: Please could you share a link to a previous discussion about packaging? I'm interested in user experience 'Python should ship with first class package management like other languages' rather than technical details 'Python should ship with distutils rather than

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Zachary Ware
Zachary Ware added the comment: I've come up with a semi-comprehensive list of the tests that cause ugly failures with test discovery. Tests were run on 3.4 debug, on Windows 7 32bit without several of the 'external' projects built, using the command ``PCbuild\python_d.exe -m unittest

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Added file: http://bugs.python.org/file28621/selector-8.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Added file: http://bugs.python.org/file28622/tulip-selectors-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file28617/selector-8.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: Removed file: http://bugs.python.org/file28619/tulip-selectors-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16853 ___

[issue16675] Ship Python with a package manager

2013-01-07 Thread R. David Murray
R. David Murray added the comment: I'm afraid the discussions are many and lengthly and on several lists (python-dev, distutils-sig, probably also python-list and python-ideas), and that you will rarely find a discussion of whether without an accompanying discussion of what. I'm sorry I

[issue16748] Make CPython test package discoverable

2013-01-07 Thread R. David Murray
R. David Murray added the comment: Great list, thanks. The ones that fail to be run/skipped when run under discovery can probably be fixed by moving them to the more modern unittest 'skip' functions instead of depending on being run under regrtest and using the test.support resource

[issue16878] argparse: positional args with nargs='*' defaults to []

2013-01-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attached is a doc patch. I also improved some other aspects of the *default* section while I was there. We should probably make sure a test exists for the newly-documented behavior (i.e. for passing no arguments for a positional argument with nargs='*' and

[issue13229] Improve tools for iterating over filesystem directories

2013-01-07 Thread Charles-François Natali
Charles-François Natali added the comment: Nick, I think this would be a great addition (I have often seen people trying to implement this in their own code, and I certainly did it myself). What's the status of walkdir, do you think it's mature enough to be merged? --

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2013-01-07 Thread Ronan Amicel
Changes by Ronan Amicel ronan.ami...@gmail.com: -- nosy: +ronnix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13866 ___ ___ Python-bugs-list

[issue16888] Fix test discovery for test_array.py

2013-01-07 Thread Zachary Ware
New submission from Zachary Ware: Here's a patch to fix test_array.py -- components: Tests files: test_array.diff keywords: patch messages: 179291 nosy: brett.cannon, ezio.melotti, zach.ware priority: normal severity: normal status: open title: Fix test discovery for test_array.py type:

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Ezio Melotti
Ezio Melotti added the comment: While we are at it, should we also move these tests to use unittest.main() instead of test_main() and similar? -- dependencies: +Fix test discovery for test_array.py ___ Python tracker rep...@bugs.python.org

[issue13229] Improve tools for iterating over filesystem directories

2013-01-07 Thread STINNER Victor
STINNER Victor added the comment: pathlib and walkdir are two nice piece of code, but do we need two modules? It would be nice to merge them into one unique module :-) (Or is it a stupid idea?) -- ___ Python tracker rep...@bugs.python.org

[issue16850] Add e mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT

2013-01-07 Thread STINNER Victor
STINNER Victor added the comment: Updated patch. I tested it on Linux Fedora (3.6), Linux Debian (3.0), Windows 7, FreeBSD 8.2 (don't support O_CLOEXEC), OpenIndiana (oi_148, SunOS 5.11), OpenBSD 4.9, OpenBSD 5.2, Mac OS X 10.8. test_builtin pass on all these platforms... except OpenBSD 4.9.

[issue16888] Fix test discovery for test_array.py

2013-01-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16888 ___

[issue16143] Building with configure option --without-doc-strings crashes first time through PyUnicode_DecodeUTF8Stateful

2013-01-07 Thread Stefan Krah
Stefan Krah added the comment: Closing as a duplicate of #10156, which has several patches. -- resolution: - duplicate stage: needs patch - committed/rejected status: open - closed superseder: - Initialization of globals in unicodeobject.c ___

[issue10156] Initialization of globals in unicodeobject.c

2013-01-07 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +Gregory.Andersen, georg.brandl, kushou, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10156 ___

[issue10156] Initialization of globals in unicodeobject.c

2013-01-07 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- priority: high - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10156 ___ ___

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_main makes it trivial to import a test file and run the test. import test/test_xxx as t; t.test_main() I do not know the implications of unittest.main(), but I would dislike losing the above ability. -- ___

[issue16850] Add e mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT

2013-01-07 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Removed file: http://bugs.python.org/file28561/open_mode_e.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16850 ___

[issue16748] Make CPython test package discoverable

2013-01-07 Thread R. David Murray
R. David Murray added the comment: As we discussed in another issue, you just need to change your pattern to: import unittest.main as runtest import test.test_xxx as t runtest(t) Which granted is more typing if you are running just one test, but not much more if you are running more than

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Ezio Melotti
Ezio Melotti added the comment: Without test_main you would have to do unittest.main(t, exit=False). I'm not sure there's an easier way. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16748

[issue16853] add a Selector to the select module

2013-01-07 Thread Felipe Cruz
Felipe Cruz added the comment: Hi.. 2 comments related to Kqueue/OSX(16.8) 1 - In tulip/selectors.py L311 and L314 - is key.fd not fd 2 - In EventLoopTestsMixin::test_writer_callback if the writer socket isn't non-blocking, the test hangs forever.. 3 - Errors: ERROR: testCreateSslTransport

  1   2   >