[issue1006238] cross compile patch

2010-01-07 Thread Jacob Godserv
Jacob Godserv jacobgods...@gmail.com added the comment: This bug affects me as well. Adding myself to CC. -- nosy: +javaJake ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1006238 ___

[issue1006238] cross compile patch

2010-01-07 Thread Jacob Godserv
Jacob Godserv jacobgods...@gmail.com added the comment: The stage of this bug could be changed to patch review, since a patch is available. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1006238

[issue1006238] cross compile patch

2010-01-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +needs review stage: test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1006238 ___

[issue7651] Python3: guess text file charset using the BOM

2010-01-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Oops, fix read() method of my previous patch. -- Added file: http://bugs.python.org/file15783/open_bom-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7651

[issue7654] [patch] Enable additional bytes and memoryview tests.

2010-01-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7654 ___

[issue5827] os.path.normpath doesn't preserve unicode

2010-01-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5827 ___ ___

[issue7635] 19.6 xml.dom.pulldom doc: stub?

2010-01-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The xml.dom.pulldom module doesn't have docstrings so I guess that when the doc page has been created only the names of the classes/method have been listed. -- nosy: +ezio.melotti, loewis priority: - normal versions: +Python 2.6,

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-01-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- title: UnicodeEncodeError - I can't even see license - Use Py_UCS4 instead of Py_UNICODE in unicodectype.c versions: +Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org

[issue7656] test_hashlib fails on some installations (specifically Neal's regression test runner)

2010-01-07 Thread R. David Murray
New submission from R. David Murray rdmur...@bitdance.com: The patch in issue3745 to build and run all hash tests in a debug build seems to have caused test_hashlib to start failing when run by the build.sh regression test runner. See the recent emails on python-checkins, where I used -W to

[issue5277] email message.get_params() and related methods sometimes fail.

2010-01-07 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +easy priority: - normal stage: - test needed versions: +Python 2.7, Python 3.2 -Python 2.4, Python 2.5, Python 3.0 ___ Python tracker rep...@bugs.python.org

[issue7105] weak dict iterators are fragile because of unpredictable GC runs

2010-01-07 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: LGTM -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7105 ___

[issue7653] Fix description of the way the PythonPath Windows registry key works

2010-01-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If, as the OP indicates, the value of the key itself is ignored, this should be mentioned in the doc, especially if it normally has an apparently valid value. -- nosy: +r.david.murray ___

[issue2539] Windows Registry issue with 2.5.2 AMD64 msi

2010-01-07 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: It seems like this may have been the result of registry redirection. Jason didn't say if the 2.5.1 install he went back to was 64-bit or not, but that could have been the difference. Given how old this is, I doubt he remembers :) wxPython has 32

[issue7657] test_ctypes failure on AIX 5.3

2010-01-07 Thread sangamesh
New submission from sangamesh swamy.sangam...@gmail.com: I built the python-2.6.2 with the latest libffi-3.0.9 in AIX 5.3 using xlc compiler. When i try to run the ctypes test cases, two failures are seen in test_bitfields. test_ints (ctypes.test.test_bitfields.C_Test) ... FAIL test_shorts

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread Richard Hansen
Changes by Richard Hansen rhan...@bbn.com: Removed file: http://bugs.python.org/file15748/unicode_escape_reorg.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7615 ___

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread Richard Hansen
Richard Hansen rhan...@bbn.com added the comment: Attaching updated unicode_escape_reorg.patch. This addresses two additional issues: * removes pickle's workaround of raw-unicode-escape's broken escaping * eliminates duplicated code (the raw escape encode function was copied with only a

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread Richard Hansen
Richard Hansen rhan...@bbn.com added the comment: I believe this issue is ready to be bumped to the patch review stage. Thoughts? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7615 ___

[issue7652] Merge C version of decimal into py3k.

2010-01-07 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: I've created this issue to keep track of progress in merging Stefan Krah's work on decimal in c into py3k. We've created a branch py3k-cdecimal (with merge tracking from py3k) for this work. When the branch is fully working and tested

[issue7652] Merge C version of decimal into py3k.

2010-01-07 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Is the intention to write Decimal.__format__ in C, too? That would be quite a bit of work, and I'm not sure I could recommend it. But I'm not sure if your plan is to get rid of all Python code or not. If your plan is to rewrite absolutely

[issue7649] u'%c' % char broken for chars in range '\x80'-'\xFF'

2010-01-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: If we allow it to work on 2.7 the code will break: 1) when ported to Py3, where mixing bytes strings and unicode is not allowed; 2) when used on Py2.7, where the behavior is broken; 3) when converted to str.format, where only ints are

[issue7649] u'%c' % char broken for chars in range '\x80'-'\xFF'

2010-01-07 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: There's no perfect answer. And since we've gotten this far without anyone caring, and 2.7 is basically the end of life for this issue, perhaps doing nothing is the best course. Any change we make will affect code that runs in both 2.6 and 2.7,

[issue7644] bug in nntplib.body() method with possible fix

2010-01-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yes, it should be another issue. That said, there are similar (worse, actually) problems with the py3 email package that we are moving toward addressing. There we are planning to have dual APIs. If you want to work on fixing nntplib

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Does the last patch obsolete the first two? If so please delete the obsolete ones. I imagine there are might be small doc updates required, as well. I haven't looked at the patch itself, but concerning your test patch: your

[issue7649] u'%c' % char broken for chars in range '\x80'-'\xFF'

2010-01-07 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Tested on 2.5... ~ $ python2.5 Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32) [GCC 4.3.2] on linux2 Type help, copyright, credits or license for more information. u'%c' % '\x80' u'\Uff80' On 2.7 (trunk) I get same behaviour as

[issue7649] u'%c' % char broken for chars in range '\x80'-'\xFF'

2010-01-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: First patch that makes u'%c' % '\x80' raise a UnicodeDecodeError. I could reproduce the problem on Linux 32/64bit, Windows 32bit and Python from 2.4 to 2.7. The '\Uff80' is returned by wide builds. -- Added file:

[issue7652] Merge C version of decimal into py3k.

2010-01-07 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Just to clarify, no decision has yet been made on *whether* the cdecimal work should be integrated into py3k; we'll consult python-dev on this once we've got a working branch and performance information. --

[issue7319] Silence DeprecationWarning by default

2010-01-07 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: Removed file: http://bugs.python.org/file15743/warnings_rst_reword.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7319 ___

[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2010-01-07 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1034 ___ ___ Python-bugs-list

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-07 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Antoine (2to3 should be able to do the module rename -- Benjamin, does it?). 2to3 will rename cPickle to pickle. -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org

[issue7636] Add a set update action to optparse

2010-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'm not sure how much value this adds, given that you can just call set() on the list resulting from append actions. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org

[issue7636] Add a set update action to optparse

2010-01-07 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I think it's overkill, especially given the easy alternatives. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7636 ___

[issue7652] Merge C version of decimal into py3k.

2010-01-07 Thread Juan José Conti
Changes by Juan José Conti jjco...@gmail.com: -- nosy: +jjconti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___ ___ Python-bugs-list

[issue7455] cPickle: stack underflow in load_pop()

2010-01-07 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: Removed file: http://bugs.python.org/file15605/issue7455_silence_py3k_warning.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7455 ___

[issue1379416] email.Header encode() unicode P2.6

2010-01-07 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@divmod.com added the comment: Any hope of this being fixed? -- nosy: +exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1379416 ___

[issue7650] test_uuid is invalid

2010-01-07 Thread Austin English
Austin English austinenglish+pyt...@gmail.com added the comment: More info from the wine bug: Whoops, I didn't notice that Python uses UuidCreateSequential. From MSDN: For security reasons, UuidCreate was modified so that it no longer uses a machine's MAC address to generate UUIDs.

[issue1379416] email.Header encode() unicode P2.6

2010-01-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1379416 ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-07 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: Added file: http://bugs.python.org/file15773/issue7092_cpickle.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7092 ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-07 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: Removed file: http://bugs.python.org/file15740/issue7092_lib_many_fixes_v3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7092 ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-07 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: Removed file: http://bugs.python.org/file15628/issue7092_compiler.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7092 ___

[issue7636] Add a set update action to optparse

2010-01-07 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- priority: - low resolution: - rejected stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7636

[issue7455] cPickle: stack underflow in load_pop()

2010-01-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in all four branches. Thank you Victor and Florent! -- nosy: +pitrou resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue7650] test_uuid is invalid

2010-01-07 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- priority: - normal stage: - needs patch type: - behavior versions: +Python 2.6, Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7650

[issue4766] email documentation needs to be precise about strings/bytes

2010-01-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: We've concluded that the email package does need to be able to read bytes. To do this and still support reading text, we're going to have to change the API. So the docs will get fixed when they get rewritten for the new API. Patches

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread Richard Hansen
Richard Hansen rhan...@bbn.com added the comment: Does the last patch obsolete the first two? If so please delete the obsolete ones. Yes and no -- it depends on what the core Python developers want and are comfortable with: * unicode_escape_single_quotes.patch: Only escapes single

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread Richard Hansen
Changes by Richard Hansen rhan...@bbn.com: Removed file: http://bugs.python.org/file15746/unicode_escape_tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7615 ___

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread Richard Hansen
Richard Hansen rhan...@bbn.com added the comment: Attaching updated unit tests for the unicode_escape codec. I removed the raw_unicode_escape tests and will attach a separate patch for those. -- Added file: http://bugs.python.org/file15774/unicode_escape_tests.patch

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread Richard Hansen
Richard Hansen rhan...@bbn.com added the comment: Attaching updated unit tests for the raw_unicode_escape codec. -- Added file: http://bugs.python.org/file15775/raw_unicode_escape_tests.patch ___ Python tracker rep...@bugs.python.org

[issue7651] Python3: guess text file charset using the BOM

2010-01-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: You should ask on the mailing-list (python-dev) because this is an important behaviour change which I'm not sure will get accepted. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue4388] test_cmd_line fails on MacOS X

2010-01-07 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- priority: - normal stage: - needs patch versions: +Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4388 ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-01-07 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: The Big Patch™. It removes 99% of noisy deprecation messages. -- Added file: http://bugs.python.org/file15776/issue7092_Lib_tests_big_patch.diff ___ Python tracker rep...@bugs.python.org

[issue5063] python-2.6.spec doesn't build properly

2010-01-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I see that, eg, 'libver', which the patch wants to change to 'libvers', is still 'libver' in trunk/py3k. I know nothing about RPM, so am adding Martin as nosy since svn indicates he was the author of most of the file. -- nosy:

[issue5063] python-2.6.spec doesn't build properly

2010-01-07 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I just created the first version of the spec file after migration to subversion, by copying from an older version, which then got copied across versions. The original RPM support was from Jeremy Hylton (r18101); the spec file in its

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2010-01-07 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: Removed file: http://bugs.python.org/file15313/issue2777.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2777 ___

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2010-01-07 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Minor patch change -- keywords: +needs review stage: - patch review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 Added file: http://bugs.python.org/file15777/issue2777.patch ___ Python

[issue7653] Fix description of the way the PythonPath Windows registry key works

2010-01-07 Thread Paul Keating
New submission from Paul Keating keat...@acm.org: The 2.6.4 docs (at http://docs.python.org/using/windows.html) do not give enough detail for an ordinary user to work out how the registry key HKLM\SOFTWARE\Python\PythonCore\version\PythonPath actually works. It says: Modifying the module

[issue7652] Merge C version of decimal into py3k.

2010-01-07 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: To answer Eric's question: Decimal.__format__ is already implemented in Stefan's work---it looks like most of the code is in http://svn.python.org/projects/python/branches/py3k-cdecimal/Modules/cdecimal/io.c (Stefan, is this right?)

[issue7652] Merge C version of decimal into py3k.

2010-01-07 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: So the new branch looks great---thanks, Stefan! I'm only just beginning to look at the code properly, though. A couple of things: (1) Could we unify test_decimal and test_cdecimal somehow? This would avoid them getting out of sync when

[issue7653] Fix description of the way the PythonPath Windows registry key works

2010-01-07 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: It seems a bit wordy. I propose an alternate wording in the attached patch. -- keywords: +needs review, patch nosy: +brian.curtin priority: - low stage: - patch review versions: +Python 2.7, Python 3.1, Python 3.2 Added file:

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Richard Hansen wrote: Richard Hansen rhan...@bbn.com added the comment: Does the last patch obsolete the first two? If so please delete the obsolete ones. Yes and no -- it depends on what the core Python developers want and are

[issue7532] Extended slicing with classic class behaves strangely

2010-01-07 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: I would suggest to keep the tests, even if the bug is closed. -- Added file: http://bugs.python.org/file15779/issue7532_wontfix_tests.diff ___ Python tracker rep...@bugs.python.org

[issue7652] Merge C version of decimal into py3k.

2010-01-07 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: mark (1) Could we unify test_decimal and test_cdecimal somehow? mark This would avoid them getting out of sync when new tests are mark added, and would make it clear what the differences between mark them are. It looks like there's currently a lot

[issue1506122] Add compose function to the functools

2010-01-07 Thread Demur Rumed
Demur Rumed junkm...@hotmail.com added the comment: A type safe compose could be useful. One which instead of returning a function that takes (*args,**kwargs), takes the same as the first function which the arguments would be passed to. Copying a functions argument semantics would be useful

[issue7532] Extended slicing with classic class behaves strangely

2010-01-07 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Okay, sounds reasonable. Reopening to consider tests. -- assignee: - mark.dickinson status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7532

[issue7654] [patch] Enable additional bytes and memoryview tests.

2010-01-07 Thread Florent Xicluna
New submission from Florent Xicluna la...@yahoo.fr: Some tests in test_bytes are XXX. They could be enabled. Additionally the BaseBytesTest.test_index() is duplicated. This patch enable the additional tests and remove dead code. -- components: Tests files:

[issue7653] Fix description of the way the PythonPath Windows registry key works

2010-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, applied your patch in r77360. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7653 ___

[issue7624] isinstance(... , collections.Callable) fails with oldstyle class i nstances

2010-01-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7624 ___ ___ Python-bugs-list

[issue7655] PEP 374 Title usage script redirection typo fixes

2010-01-07 Thread Bernard A. Badger
New submission from Bernard A. Badger badg...@brevardcc.edu: Change obvious usage error /chosing/choosing/ and script redirection /.// typos. -- assignee: georg.brandl components: Documentation files: pep-0374.txt.patch keywords: patch messages: 97383 nosy: bab9e9, georg.brandl

[issue7655] PEP 374 Title usage script redirection typo fixes

2010-01-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, applied in r77361. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7655 ___

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread Richard Hansen
Richard Hansen rhan...@bbn.com added the comment: We'll need a patch that implements single and double quote escaping for unicode_escape and a \u style escaping of quotes for the raw_unicode_escape encoder. OK, I'll remove unicode_escape_single_quotes.patch and update

[issue7615] unicode_escape codec does not escape quotes

2010-01-07 Thread Richard Hansen
Changes by Richard Hansen rhan...@bbn.com: Removed file: http://bugs.python.org/file15716/unicode_escape_single_quotes.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7615 ___

[issue7651] Python3: guess text file charset using the BOM

2010-01-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: open_bom.patch is the proof of concept. It only works in read mode. The idea is to delay the creation of the encoding and the decoder. We wait for just after the first read_chunk(). The patch changes the default behaviour of