[issue8777] Add threading.Barrier

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: Well, that change would be fine by me, it was just not explained anywhere in the patch. So if it's going to be documented (with versionchanged etc.), just leave it in. -- ___ Python tracker

[issue8777] Add threading.Barrier

2010-10-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Right. The condition object change is necessary to have timeout work. I can remove that feature, and slate it for another day. Add a separate patch for a Condition.wait() return value. All of the other apis are able to let the caller know whether

[issue8777] Add threading.Barrier

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: The tests pass for me, and the patch looks good except for a stray change to Condition objects. -- ___ Python tracker ___ ___

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: Applied after review in r85874. (Please make sure your patches don't have trailing whitespace.) -- ___ Python tracker ___ ___

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Georg Brandl
Changes by Georg Brandl : -- Removed message: http://bugs.python.org/msg119757 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: Applied after review in r85873. (Please make sure your patches don't have trailing whitespace.) -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue8777] Add threading.Barrier

2010-10-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: ping? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue10038] json.loads() on str should return unicode, not str

2010-10-27 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. : -- title: Returntype of json.loads() on strings -> json.loads() on str should return unicode, not str ___ Python tracker ___

[issue10217] python-2.7.amd64.msi install fails

2010-10-27 Thread Brian Curtin
Brian Curtin added the comment: The 2.6, 2.7, and 3.1 amd64 installers work on my 64-bit Windows 7 machines. Can you follow the steps in msg83923 on #4735? -- ___ Python tracker __

[issue10217] python-2.7.amd64.msi install fails

2010-10-27 Thread Manfred Bartz
Manfred Bartz added the comment: since the error msg suggests that the installer detected a 32 bit system, I attached a partial screen cap of system properties -- it really is a Win7-64 system, Enterprise edition. -- Added file: http://bugs.python.org/file19392/Python-64bit_on_Win7-6

[issue10217] python-2.7.amd64.msi install fails

2010-10-27 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10217] python-2.7.amd64.msi install fails

2010-10-27 Thread Manfred Bartz
New submission from Manfred Bartz : python-2.7.amd64.msi as well as python-2.6.6.amd64.msi fail to install on a Windows7-64 system. In both cases with: "An error occurred during the installation of assembly 'Microsoft.VC90.CRT,version=9.0.21022.8 ...'" See attached screen-cap. The installer

[issue10038] Returntype of json.loads() on strings

2010-10-27 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: I'll note that it seems relevant that this package is not considered "externally maintained" by the terms of PEP 360: http://www.python.org/dev/peps/pep-0360/ Given the level of attention this has received from the originator of the code, we should not

[issue10116] Sporadic failures in test_urllibnet

2010-10-27 Thread Stephen Hansen
Stephen Hansen added the comment: The attached patch wraps all the calls to the internet in support.transient_internet; I ran it against 3.x and it passed, and then I ran it for quite awhile with the -F option, and encountered one event that I believe would previously had resulted in one of t

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I disagree. It's not a new feature. We're merely completing an old feature (adding new-style buffers from 3.x to 2.7) that wasn't fully implemented. by the core. The new buffer isn't accepted in a lot of places where you'd expect it to be. The goo

[issue10211] BufferObject doesn't support new buffer interface

2010-10-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Do you mean that we should disable writing for the new style buffer interface? Currently the patch respects the Buffer object's read-only flag (self->b_readonly): static int buffer_getbuffer(PyBufferObject *self, Py_buffer *buf, int flags) {

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2010-10-27 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Stephen Hansen
Stephen Hansen added the comment: Oh: and I tested it against branches/py3k in the head, it applies cleanly and builds, and test_zipfile runs without error. -- ___ Python tracker __

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Stephen Hansen
Stephen Hansen added the comment: Considering I do use zipfiles a lot, I slightly care about this (at least, eventually)-- I'm attaching a new patch, with doc and test changes as well (and the compatibility alias). What convinced me was looking at test_zipfile, and noticing how often it actu

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Boštjan Mejak
Boštjan Mejak added the comment: No alias. Be stubborn and let the stdlib die in inconsistency. On Thu, Oct 28, 2010 at 2:11 AM, Stephen Hansen wrote: > > Stephen Hansen > added the > comment: > > You may "not care" about backwards compatibility, but introducing a > breaking change in 3.2 for

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Stephen Hansen
Stephen Hansen added the comment: You may "not care" about backwards compatibility, but introducing a breaking change in 3.2 for mere style-conformity is not OK, IMO. If the patcher insists on it being a breaking change, it should be rejected. FWIW, this casing is sufficiently bizarre and inc

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Boštjan Mejak
Changes by Boštjan Mejak : Removed file: http://bugs.python.org/file19387/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Boštjan Mejak
Boštjan Mejak added the comment: I am -1 for the alias. I want that this gets renamed in Python 3.2, not aliased. I don't care about old pickles. Anyway, who has BadZipfile object pickled? Just incorporate my patch and fix the docs and any test cases/units. Thanks. On Wed, Oct 27, 2010 at 10:4

[issue6715] xz compressor support

2010-10-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: As promised, here is a quick review of the module. https://code.launchpad.net/~proyvind/pyliblzma/py3k looks ready for a new entry in the PyPI, but for inclusion in core python it needs some cleanup: - I suppose that src/pyliblzma.c is the only interesti

[issue6715] xz compressor support

2010-10-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6715] xz compressor support

2010-10-27 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: I've (finally) finalized the api and prepared pyliblzma to be ready for inclusion now. The code can be found in the 'py3k' branch referred to earlier. Someone else (don't remember who:p) volunteered for writing the PEP earlier, so I leave it up to that p

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2010-10-27 Thread Rodrigue Alcazar
Rodrigue Alcazar added the comment: > someone wanting to get to know the process of working on CPython without > having to deal with anything that is particularly tricky to understand. That sounds exactly like me :) I can have a look at this ticket. -- nosy: +Rodrigue.Alcazar __

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-10-27 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-10-27 Thread R. David Murray
R. David Murray added the comment: Yes this is deliberate. On linux, 'python' is Python2, and 'python3' is Python3. I'm not a mac user, so I don't know exactly how the naming conventions work there, but I certainly wouldn't expect the 'current version' of 'python' to change to python3. I t

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-10-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> ronaldoussoren nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10038] json.loads() on str should return unicode, not str

2010-10-27 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- title: json.loads() on str erroneously returns str. should return unicode -> json.loads() on str should return unicode, not str ___ Python tracker _

[issue10038] json.loads() on str erroneously returns str. should return unicode

2010-10-27 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- title: Returntype of json.loads() on strings -> json.loads() on str erroneously returns str. should return unicode ___ Python tracker ___ __

[issue10038] Returntype of json.loads() on strings

2010-10-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I completely agree with Fred; this is a regression and a bug in Python 2.7 and should be fixed. I have a doctest in Mailman 3 for example that cannot pass in both Python 2.6 and 2.7 (without IMO ugly hackery). Not only that, but json is documented as conve

[issue10216] json.loads() on str erroneously returns str

2010-10-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Yay. I guess I have to submit a tracker bug now because searching for "json unicode" didn't turn up the original bug. ;/ Thanks for duping it __ap__. -- ___ Python tracker ___

[issue9942] Allow memory sections to be OS MERGEABLE

2010-10-27 Thread Dave Malcolm
Dave Malcolm added the comment: One possible use for this: mark the "str" buffers of PyUnicodeObject instances when demarshalling docstrings from disk; in theory these ought not to change, and can be quite large: the bulk of the memory overhead is stored in a separate allocation from the obje

[issue8852] _socket fails to build on OpenSolaris x64

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r85868 (3.2), r85869 (3.1) and r85870 (2.7). Thank you. -- resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue10216] json.loads() on str erroneously returns str

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Duplicate of issue10038. -- nosy: +pitrou resolution: -> duplicate status: open -> closed superseder: -> Returntype of json.loads() on strings ___ Python tracker ___

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-27 Thread Éric Araujo
Éric Araujo added the comment: Boštjan, you need to update your patch to add the missing alias to the old name, as well as docs and test updates. I’m +0 on the change. -- stage: committed/rejected -> patch review title: Documentation typos found in "zipfile — Work with ZIP archives" -

[issue10216] json.loads() on str erroneously returns str

2010-10-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: BTW, the workaround for Python 2.7 is to pass a unicode to json.loads(). -- ___ Python tracker ___ ___

[issue10216] json.loads() on str erroneously returns str

2010-10-27 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : json is defined as mapping the JSON string type into unicodes. This works as advertised in Python 2.6 and 3, but in Python 2.7 it returns a str. % python2.6 -c "import json; print json.loads('{\"foo\":\"bar\"}')" {u'foo': u'bar'} % python2.7 -c "import jso

[issue10215] Mac Python 3.1 installer does less than earlier installers

2010-10-27 Thread Bruce Sherwood
New submission from Bruce Sherwood : For Python 2.x on Macs, the installer added PATH code to .profile and switched /Library/Framework/Python.framework/Versions/Current to point to the newly installed version of Python. Neither of these actions is carried out by the 3.1.2 installer, and I wond

[issue7351] Documentation typos found in "zipfile — Work with ZIP archives"

2010-10-27 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue7351] Documentation typos found in "zipfile — Work with ZIP archives"

2010-10-27 Thread Boštjan Mejak
Boštjan Mejak added the comment: I'm reopening this and I am making it a feature request for Python 3.2 -- components: +Interpreter Core -Documentation resolution: wont fix -> status: closed -> open type: -> feature request versions: -Python 2.6, Python 2.7, Python 3.1 _

[issue9942] Allow memory sections to be OS MERGEABLE

2010-10-27 Thread Konstantin Svist
Konstantin Svist added the comment: This issue sounds very interesting to me for a somewhat different reason. My problem is that I'm trying to run multiple processes on separate CPUs/cores with os.fork(). In short, the data set is the same (~2GB) and the separate processes do whatever they nee

[issue5752] xml.dom.minidom does not escape CR, LF and TAB characters within attribute values

2010-10-27 Thread Ralph Gauges
Ralph Gauges added the comment: I tried to apply the minidom.diff patch below, but it seems that removing the two lines that replace the "<" and ">" characters is not a good idea. It least in some files I now suddenly get "<" and ">" characters in text elements where there should be > and < A

[issue10213] tests shouldn't fail with unset timezone

2010-10-27 Thread R. David Murray
R. David Murray added the comment: Well, djc's patch (turned into a skip) would only skip if the specific system error checked for was found. The message is a system message, you'll see it in the 'date' command output if the timezone isn't set. A little googling indicates that it is not Gent

[issue5027] xml namespace not understood by xml.sax.saxutils.XMLGenerator

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r85858 (3.2), r85859 (3.1) and r85860 (2.7). Thank you! -- resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue10199] Move Demo/turtle under Lib/

2010-10-27 Thread Gregor Lingl
Gregor Lingl added the comment: Imho it is very important to clarify the name convention for demoscripts to be added to the demo before committing (or at least before the apperance of beta1). It decides about adding scripts to the Examples Menu of the viewer. We all know, that things once the

[issue5027] xml namespace not understood by xml.sax.saxutils.XMLGenerator

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: According to http://www.w3.org/TR/xml-names/: “The prefix xml is by definition bound to the namespace name http://www.w3.org/XML/1998/namespace. It MAY, but need not, be declared, and MUST NOT be bound to any other namespace name. Other prefixes MUST NOT be b

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

2010-10-27 Thread Eric Smith
Eric Smith added the comment: This is caused by r85814. I've got a fix, as soon as I get it in a presentable state I'll post it. -- nosy: +eric.smith ___ Python tracker ___ ___

[issue2001] Pydoc interactive browsing enhancement

2010-10-27 Thread Nick Coghlan
Nick Coghlan added the comment: Unassigning from ping given the lack of comments - I should be able to have a look at this in time for beta 1 -- assignee: ping -> ncoghlan ___ Python tracker __

[issue10214] Misc/python-mode.el is out of date.

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: +1 -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1702036] Make Turtle thread-safe so it does not crash

2010-10-27 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +gregorlingl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue7074] Turtle module crashes python

2010-10-27 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +gregorlingl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2010-10-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Same error occurs when the python -m turtle demo is interrupted by closing the window. I think the correct fix is to exit when the window is closed, but I cannot figure out the best way to achieve that. This probably should be done at the application/

[issue10193] Simplify instrospection used by turtle module

2010-10-27 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Pyth

[issue10193] Simplify instrospection used by turtle module

2010-10-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Wed, Oct 27, 2010 at 8:10 AM, Éric Araujo wrote: .. > I wonder about the name “name”, since we’re looping other default values > here.) Good point. I changed that and committed in revision 85857. -- ___

[issue10214] Misc/python-mode.el is out of date.

2010-10-27 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : Misc/python-mode.el is pretty far out of date. http://launchpad.net/python-mode has the latest versions. Of course, there's also python.el that comes with GNU Emacs. I will replace Misc/python-mode.el with Misc/README.Emacs -- assignee: barry me

[issue9916] errno module is missing some symbols

2010-10-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm not surprised -m doesn't work with extension modules. It would certainly be a new feature to implement such a thing, so it would only be possible for 3.2. It's not a priority for me to add this support. -- _

[issue9281] Race condition in distutils.dir_util.mkpath()

2010-10-27 Thread Éric Araujo
Éric Araujo added the comment: Yes, it should, that’s why the versions field lists 2.7 too. I’ll get to this in some days. -- assignee: tarek -> eric.araujo status: open -> pending ___ Python tracker _

[issue10207] test_file2k crashes under Windows

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: There's a patch in issue9295 which might fix a similar problem ("test_close_open_print_buffered sometimes crashes"). Could you try it? -- ___ Python tracker _

[issue9916] errno module is missing some symbols

2010-10-27 Thread Éric Araujo
Éric Araujo added the comment: You could ask python-ideas about -m support. This test seems to reveal that runpy does not support extension modules: $ python -m sys /usr/bin/python: No code object available for sys This may be another bug or feature request to open. -- nosy: +eric

[issue9939] Add a pipe type (FIFO) to the io module

2010-10-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue949667] setblocking() method on file objects

2010-10-27 Thread STINNER Victor
Changes by STINNER Victor : Added file: http://bugs.python.org/file19385/test_process.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue949667] setblocking() method on file objects

2010-10-27 Thread STINNER Victor
STINNER Victor added the comment: Prototype to test nonblocking file objet: - add getblocking() and setblocking() methods to _io._FileIO and all _pyio classes - fileio_setblocking() is implemented using fcntl(fd, F_SETFL, flags | O_NONBLOCK) (POSIX only?) - BufferedReader.read() uses read1(

[issue4769] b64decode should accept strings or bytes

2010-10-27 Thread Éric Araujo
Changes by Éric Araujo : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9281] Race condition in distutils.dir_util.mkpath()

2010-10-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Still, shouldn't this also be fixed in 2.7? -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-li

[issue10203] sqlite3.Row doesn't support sequence protocol

2010-10-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Just as data point: the DB-API 2.0 requires that the row objects returned by the various .fetch*() methods are sequences, i.e. they need to implement the sequence protocol. -- nosy: +lemburg ___ Python tracker

[issue8852] _socket fails to build on OpenSolaris x64

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, here is an updated patch with finer-grained constants injection. -- Added file: http://bugs.python.org/file19383/buildsocket.patch ___ Python tracker __

[issue10193] Simplify instrospection used by turtle module

2010-10-27 Thread Éric Araujo
Éric Araujo added the comment: +1. This is a small but nice improvement for the added readability and foremost for the removal of obscure code (testing for varargs is easier to understand than “if co_flags & 0x4”). (“"=%r" % (name,)” reminds me I never remember to protect my RHS with %-form

[issue10210] os.get_exec_path() should not produce any warning

2010-10-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10203] sqlite3.Row doesn't support sequence protocol

2010-10-27 Thread Éric Araujo
Éric Araujo added the comment: (Gerhard, sorry, not well awake :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue10203] sqlite3.Row doesn't support sequence protocol

2010-10-27 Thread Éric Araujo
Éric Araujo added the comment: Hello Paul, thanks for the report. The doc only describe Row as a tuple-like object, but tuple does implement the Sequence ABC, so I’m inclined to agree with you this is a bug and not a feature request (my first reaction). Adding Georg, the maintainer of the mo

[issue8852] _socket fails to build on OpenSolaris x64

2010-10-27 Thread John Levon
John Levon added the comment: The posted patch: better if the PACKET_* tests were just at the two missing ones rather than removing all of the ones that are actually there like PACKET_OUTGOING. -- ___ Python tracker

[issue10213] tests shouldn't fail with unset timezone

2010-10-27 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : test_strptime in test_time fails when the timezone is not set: == FAIL: test_strptime (test.test_time.TimeTestCase) -- Tra

[issue8852] _socket fails to build on OpenSolaris x64

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: David's patch works here (OpenSolaris build 134). -- components: +Build, Extension Modules nosy: +laca, movement, pitrou resolution: -> accepted stage: -> commit review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___

[issue10201] Fix building of socket module under Solaris

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, there's a better patch in #8852. -- resolution: -> duplicate status: open -> closed superseder: -> _socket fails to build on OpenSolaris x64 ___ Python tracker ___

[issue10205] Can't have two tags with the same QName

2010-10-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4

2010-10-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: I'm also unable to reproduce this. -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailin

[issue1813] Codec lookup failing under turkish locale

2010-10-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Looking at this again, I think we should change the codec registry C code to use Py_TOLOWER() and the encoding search function code to use the .translate() approach that Antoine suggested. -- ___ Python tracker

[issue10211] BufferObject doesn't support new buffer interface

2010-10-27 Thread Éric Araujo
Éric Araujo added the comment: Unless there is a mismatch between the documentation and the code, I suspect this will be rejected by the release manager. -- nosy: +benjamin.peterson, eric.araujo ___ Python tracker

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-27 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Extension Modules -Interpreter Core nosy: +benjamin.peterson, eric.araujo status: open -> pending ___ Python tracker ___

[issue9913] Misc/SpecialBuilds.txt is out of date

2010-10-27 Thread Éric Araujo
Éric Araujo added the comment: Agreed the file needs updating. Can you do it? I’m not sure the contents of this file should be moved under Doc. There is no build/installation guide on docs.python.org, probably because most users don’t build themselves. Having advanced docs under Misc with

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: You can't add buffer protocol support to cStringIO in a bugfix release, since it would be a new feature. -- nosy: +pitrou ___ Python tracker _

[issue8852] _socket fails to build on OpenSolaris x64

2010-10-27 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10201] Fix building of socket module under Solaris

2010-10-27 Thread John Levon
John Levon added the comment: This is not a bug in Solaris - the interfaces Python is trying to use are not standardized. (It's a reasonable RFE for Solaris to fully support these, though - I'll follow up on that.) WRT the patch, at least the PACKET_* defined would be better done via a spec

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-27 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : When doing socket IO, it is beneficial to use a bytearra() and then using sock.recv_into() to avoid moving data about. However, many useful functions still don't accept new style buffers, such as the bytearray and memoryview. In particular, the stru

[issue1813] Codec lookup failing under turkish locale

2010-10-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: We've included this patch in Gentoo for about two years now. Can we get some discussion going on doing something like this? -- nosy: +djc ___ Python tracker _

[issue10202] ftplib doesn't check close status after sending file

2010-10-27 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Proper behavior for ftplib when sending is to send all desired data, > then call "sock.shutdown(socket.SHUT_RDWR)". This indicates that no > more data will be sent, and blocks until the receiver has acknowledged > all their data. I'm not sure about th

[issue10108] ExpatError not property wrapped

2010-10-27 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. : -- nosy: +fdrake ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10201] Fix building of socket module under Solaris

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Jesús Cea Avión added the comment: > > Could this to be considered a bug in OpenSolaris?. That's a good question. Perhaps Laca (who wrote the original patch) can chime in. > If not, I think this fix should be backported to 2.5/2.6/2.7/3.1. It's not a secu

[issue10211] BufferObject doesn't support new buffer interface

2010-10-27 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : The BufferObject in 2.7 doesn't support the new buffer interface. This makes it useless for use with the new memoryview object. This simple patch adds that support. -- components: Interpreter Core files: buffer_newbuf.patch keywords: easy, pat

[issue10208] add mazovia.py to encodings/

2010-10-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Piotr Matuszewski wrote: > > New submission from Piotr Matuszewski : > > mazovia is an old encoding for Polish language, it's modified cp437 (more > info at http://en.wikipedia.org/wiki/Mazovia_encoding and (in Polish, but > tables are useful anyway) htt

[issue7911] unittest.TestCase.longMessage should default to True in Python 3.2

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: Michael: ping? Will you do this before beta1? -- nosy: +georg.brandl ___ Python tracker ___ ___ Python

[issue4828] patch suggestion for webbrowser

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: Oh, sorry. Shouldn't do too many things at once. Well, I think there aren't many webbrowsers that come as a .com file, for example. And as Amaury shows, the patch can't be applied as is anyway. -- nosy: +georg.brandl _

[issue7167] Smarter FTP passive mode

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: Closing following Giampaolo's suggestion. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker ___ __

[issue5975] csv unix file format ('\n' line terminator)

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: Added in r85856. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue4828] patch suggestion for webbrowser

2010-10-27 Thread anatoly techtonik
anatoly techtonik added the comment: Any explanations? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue4828] patch suggestion for webbrowser

2010-10-27 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue2703] SimpleXMLRPCDispatcher.__init__ is not python2.4-backward-compatible

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: Seems to have been changed in 2.6 and 2.7 already. -- nosy: +georg.brandl status: open -> closed ___ Python tracker ___ __

  1   2   >