[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > So people who say sys.platform shouldn't be used: what do you propose to > do with Lib/plat-linux2 (or, more generally, Lib/plat-*)? These directories look useless to me. (IIRC, putting an obvious syntax error there does not trigger any failure in the regress

[issue7434] general pprint rewrite

2011-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +aronacher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue7434] general pprint rewrite

2011-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Link to Armin's work on a pprint improvement based on a Ruby pprint tool: https://github.com/mitsuhiko/prettyprint -- ___ Python tracker __

[issue7434] general pprint rewrite

2011-06-22 Thread Łukasz Langa
Łukasz Langa added the comment: Mine still lies here: https://bitbucket.org/langacore/nattyprint -- ___ Python tracker ___ ___ Python

[issue9561] distutils: set encoding to utf-8 for input and output files

2011-06-22 Thread Michał Górny
Michał Górny added the comment: Now that installing scripts with unicode characters was fixed, shall I open a separate bug for writing egg files with utf8 chars in author name? -- ___ Python tracker __

[issue12386] packaging fails in install_distinfo when writing RESOURCES

2011-06-22 Thread Vinay Sajip
New submission from Vinay Sajip : This part of install_distinf.run(): if install_data.get_resources_out() != []: resources_path = os.path.join(self.distinfo_dir, 'RESOURCES') logger.info('creating %s', resources_path) with open(re

[issue9561] distutils: set encoding to utf-8 for input and output files

2011-06-22 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Please file a separate issue. -- nosy: +Arfrever ___ Python tracker ___ ___ Pyt

[issue12087] install_egg_info fails with UnicodeEncodeError depending on locale

2011-06-22 Thread Michał Górny
Changes by Michał Górny : -- nosy: +mgorny ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-22 Thread R. David Murray
R. David Murray added the comment: Indeed, the lib/plat- directories should continue to work just fine using linux3, correct? Or using linux, if we change sys.platform. (Note: just because we don't import them in the test suite doesn't mean that user code in the field isn't using them...I go

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-22 Thread Éric Araujo
Éric Araujo added the comment: > the platform does external calls to system commands such as "uname", I guess it’s the platform module. -- ___ Python tracker ___ ___

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-06-22 Thread Charles-François Natali
Charles-François Natali added the comment: Here's a patch. -- keywords: +needs review, patch stage: -> patch review Added file: http://bugs.python.org/file22423/kevent_openbsd.diff ___ Python tracker

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-06-22 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file22423/kevent_openbsd.diff ___ Python tracker ___ ___ Python-bugs

[issue1874] email parser does not register a defect for invalid Content-Transfer-Encoding on multipart messages

2011-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a2602939d5d by R David Murray in branch 'default': #1874: detect invalid multipart CTE and report it as a defect. http://hg.python.org/cpython/rev/5a2602939d5d -- nosy: +python-dev ___ Python tracker <

[issue1874] email parser does not register a defect for invalid Content-Transfer-Encoding on multipart messages

2011-06-22 Thread R. David Murray
R. David Murray added the comment: Thanks for the patches. I didn't use them, but they were helpful references. This is in a grey area between a bug and a feature request. The fact is, though, that for the most part the email module currently doesn't make extra effort to detect defects, it

[issue12387] IDLE save hotkey problem

2011-06-22 Thread Jacob VB
New submission from Jacob VB : IDLE (for Python 3.2) fails to save using the ctrl-s keyboard shortcut when caps-lock is enabled, and instead only saves when ctrl-shift-s is pressed. When caps-lock is disabled, all shortcuts work normally. -- components: IDLE messages: 138828 nosy: Jacob

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Jacob VB
Changes by Jacob VB : -- title: IDLE save hotkey problem -> IDLE save keyboard shortcut problem ___ Python tracker ___ ___ Python-bugs

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Jacob VB
Jacob VB added the comment: IDLE (for Python 3.2) fails to save using the ctrl-s keyboard shortcut when caps-lock is enabled, and instead only saves when ctrl-shift-s is pressed. When caps-lock is disabled, all shortcuts work normally. -- ___ Python

[issue12313] make install misses test dirs for packaging and email modules

2011-06-22 Thread Vinay Sajip
Vinay Sajip added the comment: The changes have been checked in by Barry and David, so I'm closing this issue. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue12383] subprocess.Popen(..., env={}) fails to pass empty env.

2011-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset da3af4b131d7 by Victor Stinner in branch '3.2': Issue #12383: fix test_empty_env() of subprocess on Mac OS X http://hg.python.org/cpython/rev/da3af4b131d7 New changeset 29819072855a by Victor Stinner in branch 'default': (merge 3.2) Issue #12383: f

[issue12363] test_signal.test_without_siginterrupt() sporadic failures on FreeBSD 6.4

2011-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset aff0a7b0cb12 by Victor Stinner in branch 'default': Issue #12363: improve siginterrupt() tests http://hg.python.org/cpython/rev/aff0a7b0cb12 -- ___ Python tracker ___

[issue12363] test_signal.test_without_siginterrupt() sporadic failures on FreeBSD 6.4

2011-06-22 Thread STINNER Victor
STINNER Victor added the comment: > Apart from removing those tests, I don't see what we can do here. The previous version of the test rarely failed (only sometimes on the FreeBSD 6.4 buildbox). We may revert my commits to restore the previous test if the new tests fail more often. > the rea

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-06-22 Thread STINNER Victor
STINNER Victor added the comment: Why did you remove your patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue9642] #ifdef and mbcs: don't check for defined(HAVE_USABLE_WCHAR_T)

2011-06-22 Thread STINNER Victor
STINNER Victor added the comment: have_mbcs.patch: use HAVE_MBCS define instead of different tests to check if the MBCS codec can be used or not. HAVE_MBCS is defined in unicodeobject.h by: #if defined(MS_WINDOWS) && defined(HAVE_USABLE_WCHAR_T) # define HAVE_MBCS #endif > > We should just c

[issue12388] cannot specify recursive extra_files in packaging setup.cfg

2011-06-22 Thread Vinay Sajip
New submission from Vinay Sajip : When given a section like [files] extra_files = somedir/** only the first-level contents of somedir and included in the tarball created when you run "pysetup3 run sdist". Ideally, the entire tree below somedir should be included. A real example is refere

[issue12383] subprocess.Popen(..., env={}) fails to pass empty env.

2011-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52c5f80122dd by Victor Stinner in branch '3.2': Issue #12383: skip test_empty_env() of subprocess on Windows http://hg.python.org/cpython/rev/52c5f80122dd New changeset 93cd98782f47 by Victor Stinner in branch 'default': (merge 3.2) Issue #12383: s

[issue12389] typo in urllib: missing space after dot at sentence end

2011-06-22 Thread Vladimir Rutsky
New submission from Vladimir Rutsky : There is a typo in urllib module documentation: missing space after dot at sentence end. Please see attached path for details. -- assignee: docs@python components: Documentation files: urllib-typo-space-after-dot.patch keywords: patch messages: 1388

[issue12389] typo in urllib: missing space after dot at sentence end

2011-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset a0ad25ca772b by R David Murray in branch '2.7': #12389: fix missing space at sentence end. http://hg.python.org/cpython/rev/a0ad25ca772b -- nosy: +python-dev ___ Python tracker

[issue12389] typo in urllib: missing space after dot at sentence end

2011-06-22 Thread R. David Murray
R. David Murray added the comment: Thanks. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread R. David Murray
Changes by R. David Murray : -- nosy: +kbk, terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: After thinking about this awhile, I see the key sentence of David's reply as "The data type of the arguments to the method have no necessary relationship with the datatype of the object." While true in general, in it not true with respect to corresponing text

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg138829 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: (The message I deleted was a duplicate of the original). Verified with 3.2.0 on WinXP (Jacob, I/O issues, including keyboard, especially need system specified. What is yours? If Windows, this might be Windows-specific.) With CAPS LOCK on, Cntl-N, Cntl-O, Cntl

[issue12387] IDLE save keyboard shortcut problem

2011-06-22 Thread Jacob VB
Jacob VB added the comment: I'm running Windows 7 Home Premium 64-bit, on an Alienware M17x (a laptop) using the built-in keyboard. It's definitely possible that the problem is Windows-specific; perhaps it has to do with the fact that when caps lock is on the shift modifier seems to invert t

[issue10354] tempfile.template is broken

2011-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset eafe8c7f7049 by R David Murray in branch 'default': #10354: remove last public mentions of 'template' and comment as private. http://hg.python.org/cpython/rev/eafe8c7f7049 -- nosy: +python-dev ___ Python

[issue10354] tempfile.template is broken

2011-06-22 Thread R. David Murray
R. David Murray added the comment: I have removed the last mentions of template from the docs and docstrings, and added a comment that it is a private variable despite its name. I do not see a reason to break backward compatibility just to have a leading underscore in the name. If there is

[issue9921] os.path.join('x','') behavior

2011-06-22 Thread R. David Murray
R. David Murray added the comment: Here is a patch that I think describes the algorithm correctly, based on the comments in the module, with a clarifying parenthetical to cover the non-obvious consequence of that algorithm. -- versions: +Python 3.3 -Python 3.1 Added file: http://bugs.

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-22 Thread Chris Withers
Chris Withers added the comment: Just got bitten by this as well, what still needs to happen with the patch? -- keywords: -easy nosy: +cjw296 ___ Python tracker ___

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-22 Thread R. David Murray
R. David Murray added the comment: One question is whether this is a bug fix or a feature request. Other than that, I'd like to see the test classes collapsed into a single test class, considering that each one only has a single test in it. Probably ProxyAuthTests should be refactored so tha

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2011-06-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, it is a feature. Sorry that I have not paid attention to this. The Windows (IIS) part led me to delay as I did not have any to test. Let me take this up and see through it in 3.3. -- ___ Python tracker

[issue12390] urllib.parse.urlencode encoding lists as strings

2011-06-22 Thread Joesph
New submission from Joesph : """ Per the documentation urlencode is supposed to encode a structure returned by parse_qs back to a query string. However, urlencode appears to not be processing the lists associated with each key. Example: """ import urllib.parse dictQuery = urllib.parse.parse_qs(

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-06-22 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12390] urllib.parse.urlencode encoding lists as strings

2011-06-22 Thread Senthil Kumaran
Senthil Kumaran added the comment: I see you missed the doseq parameter which is applicable in this case. print(urllib.parse.urlencode(dictQuery, encoding='iso8859-1',doseq=True)) a=b&c=d&c=e&b=c -- nosy: +orsenthil resolution: -> invalid status: open -> closed __

[issue10206] python program starting with unmatched quote spews spaces to stdout

2011-06-22 Thread Petri Lehtinen
Petri Lehtinen added the comment: I'm unable to reproduce this. I checked out the commit 65614:18989ad44636 (corresponding to r85814, right?), built and ran python -c "'", but didn't get a space flood on my face. Just a normal SyntaxError. -- nosy: +petri.lehtinen ___