[issue3326] py3k shouldn't use -fno-strict-aliasing anymore

2010-03-30 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Attached is a patch for configure.in and configure that implements Benjamin's suggestion. The patch sets things up to continue to use -fno-strict-aliasing on gcc versions that support -fno-strict-aliasing *and* generate

[issue8236] ./configure: ImportError: No module named asdl (when run from buildout's python)

2010-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: That sounds like the likely explanation. -- resolution: - works for me stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7994] object.__format__ should reject format strings

2010-03-30 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Meador: Your patch (-3) looks identical to mine (-2), unless I'm making some mistake. Could you check? I'd like to get this applied in the next few days, before 2.7b1. Thanks! -- ___ Python tracker

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-30 Thread Valerio
Valerio turturici.vale...@gmail.com added the comment: Now i make patches for other versions of Python. How i try if the patched test still work with the older zlib? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-30 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I'm not sure simply changing the value is the right thing to do - with older zlib versions (which do the wrong thing with 0), we definitely want that exception to be triggered. For newer versions, we want to check that passing in 0 worked as

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-30 Thread Valerio
Valerio turturici.vale...@gmail.com added the comment: Seems that from Python 2.6 to 3.2 the test work fine. With -1 still raises the exception. By the way, the original problem of Arkadiusz was with Python 2.5. -- ___ Python tracker

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-30 Thread Valerio
Valerio turturici.vale...@gmail.com added the comment: The original test, with 0, pass in all versions of Python, from 2.6 to 3.2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193 ___

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-03-30 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: The regrtest returns success, even if the test suite is not run completely. The last running test is test_unittest. http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%20trunk/builds/171 ... 51 tests OK. 2 tests skipped:

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-03-30 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: I wonder if unittest.test.test_break runs and the signals.SIGINT it sends terminates a process early? Do you have access to this platform to try it Florent? -- ___ Python tracker

[issue8264] hasattr doensn't show private (double underscore) attributes exist

2010-03-30 Thread Nick Craig-Wood
New submission from Nick Craig-Wood n...@craig-wood.com: I just spend a while tracking down a bug in my code which turned out to be an unexpected behaviour of hasattr. Running this class Test(object): def __init__(self): self.__private = Hello def test(self):

[issue8265] test_float fails on ARM Linux EABI

2010-03-30 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: All the ARM Linux EABI buildbots fail on the same test. http://www.python.org/dev/buildbot/all/builders/ARM%20Linux%20EABI%202.6/builds/5 test_float test test_float failed -- Traceback (most recent call last): File

[issue3409] ElementPath.Path.findall problem with unicode input

2010-03-30 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: With the recent ElementTree changes on trunk, this bug no longer applies, AFAICS. -- nosy: +Neil Muller, flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3409

[issue8265] test_float fails on ARM Linux EABI

2010-03-30 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Same failure on trunk: http://www.python.org/dev/buildbot/all/builders/ARM%20Linux%20EABI%20trunk/builds/12 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8265

[issue3409] ElementPath.Path.findall problem with unicode input

2010-03-30 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- priority: - normal resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3409

[issue8264] hasattr doensn't show private (double underscore) attributes exist

2010-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: You are correct, this is the expected behavior. Name mangling happens only at compilation time (see http://docs.python.org/reference/expressions.html#atom-identifiers). A doc note for get/setattr would probably be useful. (I removed

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-30 Thread Valerio
Valerio turturici.vale...@gmail.com added the comment: I try again and ValueError not raised. The test pass without problem, both Python 2.6 and next. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193

[issue8193] test_zlib fails with zlib 1.2.4

2010-03-30 Thread Valerio
Valerio turturici.vale...@gmail.com added the comment: P.S: the value it's default, 0. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193 ___

[issue1028432] Specify a source baseurl for bdist_rpm.

2010-03-30 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: Is it preferable to specify a URL for the Source field in a .spec file (rather than just a filename)? Fedora (see for example http://fedoraproject.org/wiki/Packaging/SourceURL ) encourages using a full url when available, so having

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-03-30 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Sorry, but I don't have such environment. Proposed patch will add a notice if the regrtest is interrupted (Ctrl+C). And the exitcode is set to 1, meaning test failed for the buildbot. -- keywords: +patch Added file:

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-03-30 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: That sounds very useful from a diagnostic point of view. If it does turn out to be the problem then we will have to disable the test for that platform. At the moment test_break runs on all platforms that have os.kill(...). --

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-03-30 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16697/issue8263_regtest_SIGINT.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8263 ___

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-03-30 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Slightly different, with a count of omitted tests And removed All .. tests OK is there's some tests omitted. -- Added file: http://bugs.python.org/file16698/issue8263_regtest_SIGINT_v2.diff

[issue8266] tarfile library should support xz compression

2010-03-30 Thread tdjacr
Changes by tdjacr tdjacr.f...@gmail.com: -- nosy: thedjatclubrock severity: normal status: open title: tarfile library should support xz compression type: feature request versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3

[issue8266] tarfile library should support xz compression

2010-03-30 Thread tdjacr
New submission from tdjacr tdjacr.f...@gmail.com: See http://bugs.python.org/issue6715 for more info regarding support of .xz in general -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8266

[issue8266] tarfile library should support xz compression

2010-03-30 Thread tdjacr
tdjacr tdjacr.f...@gmail.com added the comment: https://launchpad.net/pyliblzma may help? -- components: +Library (Lib) versions: -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue6715] xz compressor support

2010-03-30 Thread tdjacr
tdjacr tdjacr.f...@gmail.com added the comment: Once xz is implemented, xz compatibility should be added to the tarfile library. -- nosy: +thedjatclubrock ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715

[issue8266] tarfile library should support xz compression

2010-03-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Duplicate of #5689. -- nosy: +brian.curtin resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8266

[issue7994] object.__format__ should reject format strings

2010-03-30 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Hi Eric, (-2) and (-3) are different. The changes that I made, however, are pretty minor. Also, they are all in 'test_builtin.py'. -- ___ Python tracker rep...@bugs.python.org

[issue8240] ssl.SSLSocket.write may fail on non-blocking sockets

2010-03-30 Thread Cyril
Cyril c...@excellency.fr added the comment: Hmm, indeed. What you can do, very simply, is cache the getvalue() result once you have generated it. After some thoughts, it's not really an option: my cStringIO.StringIO buffer is, well a buffer. To append data to the buffer, I call

[issue7643] What is a Unicode line break character?

2010-03-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Which functions are affected by this change? Py_UNICODE_ISLINEBREAK()? unicode.splitlines()? -- assignee: - flox nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org

[issue8240] ssl.SSLSocket.write may fail on non-blocking sockets

2010-03-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: If socket.write() returns zero byte written, I'll have to wait until I get another chance to send my buffer. But in the meantime, some more data might get appended to the buffer, and the string returned by getvalue() will be different from the

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-03-30 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16698/issue8263_regtest_SIGINT_v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8263 ___

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-03-30 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Regrtest.py fixed with r79497 to report keyboard interrupt as a failure. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8263

[issue7643] What is a Unicode line break character?

2010-03-30 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Committed to trunk: r79494 and r79496. Afaict, it changes Py_UNICODE_ISLINEBREAK, _PyUnicode_IsLinebreak and the Unicode functions which depend on it (splitlines(), _sre module). -- ___

[issue8265] test_float fails on ARM Linux EABI

2010-03-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Matthias, can you please take a look? -- nosy: +doko, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8265 ___

[issue3326] py3k shouldn't use -fno-strict-aliasing anymore

2010-03-30 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Thanks for the patch. Applied in r79499. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3326

[issue1553375] Add traceback.print_full_exception()

2010-03-30 Thread Pascal Chambon
Changes by Pascal Chambon chambon.pas...@gmail.com: -- nosy: +pakal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1553375 ___ ___ Python-bugs-list

[issue3135] inspect.getcallargs()

2010-03-30 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Applied in r79500. Note I removed the error checking that a bound method received an instance of the class as the first argument because that error checking is a function of the calling of the function, not the binding of the arguments.

[issue8248] Add test cases for bool

2010-03-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r79502, r79504 (trunk) and r79503 (py3k). Thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8267] Tutorial secion on dictionary keys recommends sort instead of sorted

2010-03-30 Thread Kent Engström
New submission from Kent Engström k...@lysator.liu.se: The 2.[567] documentation recommends the use of the sort() method to get a sorted list of dictionary keys. If would be less confusing to new users if we recommended the sorted() functions instead. The corresponding piece of Python 3

[issue8267] Tutorial section on dictionary keys recommends sort instead of sorted

2010-03-30 Thread Kent Engström
Changes by Kent Engström k...@lysator.liu.se: -- title: Tutorial secion on dictionary keys recommends sort instead of sorted - Tutorial section on dictionary keys recommends sort instead of sorted ___ Python tracker rep...@bugs.python.org

[issue8265] test_float fails on ARM Linux EABI with soft floating point

2010-03-30 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: the buildbot labeled ARM Linux 3.x is an ARM EABI as well, compiler defaults -march=armv7 -math=vfp -float-abi=softfp. The failing test_float test is an ARM EABI, armv4, ARM mode, soft floating point. I never did see the test_float test suceed

[issue7643] What is a Unicode line break character?

2010-03-30 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Ported to 3.x with r79506 -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7643

[issue8256] TypeError: bad argument type for built-in operation

2010-03-30 Thread Filip Gruszczyński
Filip Gruszczyński grusz...@gmail.com added the comment: I have read, that I shouldn't directly use Py_FileSystemDefaultEncoding and rather use PyUnicode_GetDefaultEncoding, so I have changed the code a little. -- Added file: http://bugs.python.org/file16700/8256_3.patch

[issue8256] TypeError: bad argument type for built-in operation

2010-03-30 Thread Filip Gruszczyński
Changes by Filip Gruszczyński grusz...@gmail.com: Removed file: http://bugs.python.org/file16688/8256_1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8256 ___

[issue8256] TypeError: bad argument type for built-in operation

2010-03-30 Thread Filip Gruszczyński
Changes by Filip Gruszczyński grusz...@gmail.com: Removed file: http://bugs.python.org/file16689/8256_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8256 ___

[issue8268] Make old-style classes weak referenceable

2010-03-30 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: New-style classes are weak referenceable, but old-style classes are not. For a proper implementation of ABC caches without any memory leaks (see issue2521), this limitation should be raised. -- components: Interpreter Core messages:

[issue2521] ABC caches should use weak refs

2010-03-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- dependencies: +Make old-style classes weak referenceable ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2521 ___

[issue8268] Make old-style classes weak referenceable

2010-03-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a patch. -- keywords: +patch nosy: +amaury.forgeotdarc stage: needs patch - patch review Added file: http://bugs.python.org/file16701/weakref-classobj.patch ___ Python tracker

[issue8268] Make old-style classes weak referenceable

2010-03-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file16701/weakref-classobj.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8268 ___

[issue8268] Make old-style classes weak referenceable

2010-03-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Added file: http://bugs.python.org/file16702/weakref-classobj.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8268 ___

[issue8269] Missing return values for PyUnicode C/API functions

2010-03-30 Thread Arnaud Fontaine
New submission from Arnaud Fontaine ar...@debian.org: For example, PyUnicode_FromFormat() does not specify the return value but it does not seem to be only one. I only have a basic knowledge of Python C/API, so I am not sure whether it is meaningful. -- assignee: georg.brandl

[issue2521] ABC caches should use weak refs

2010-03-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hmm, Benjamin pointed out that ABCs only support new-style classes, so old-style classes could be detected early instead of being added to the _abc_negative_cache. -- ___ Python tracker

[issue2521] ABC caches should use weak refs

2010-03-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: By the way, Daniel, your patch doesn't look right. First, you shouldn't need all the sortedlist/sortedset hierarchy. Second, len(gc.get_objects()) is a truly horrible way of checking the classes have been destroyed. Just take a weakref to the

[issue2521] ABC caches should use weak refs

2010-03-30 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: I hadn't realized that old style classes didn't support ABCs. That certainly simplifies things! I'm working on a new patch. -- ___ Python tracker rep...@bugs.python.org

[issue2521] ABC caches should use weak refs

2010-03-30 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Are you sure the old-style classes don't support ABCs? ABCTestCase.validate_isinstance in Lib/test/test_collection.py specifically tests that both new-style and old-style classes work, unless I'm reading it wrong. (and those

[issue2521] ABC caches should use weak refs

2010-03-30 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: In those cases, it's because __subclasscheck__ is overridden. You can't register a old-style class. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org

[issue2521] ABC caches should use weak refs

2010-03-30 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: ABCTestCase.validate_isinstance ... specifically tests that both new-style and old-style classes work... I fixed some parts with issue #7624, and changeset r78800. -- ___ Python tracker

[issue8270] Should socket.PF_PACKET be removed, in favor of socket.AF_PACKET?

2010-03-30 Thread Denilson Figueiredo de Sá
New submission from Denilson Figueiredo de Sá denilso...@gmail.com: If you look at socket module, there are around 29 AF_* constants (like AF_INET). On the other hand, there is only one PF_ constant: PF_PACKET. This constant is also defined as AF_PACKET. Following the There should be one--

[issue8270] Should socket.PF_PACKET be removed, in favor of socket.AF_PACKET?

2010-03-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Library (Lib) nosy: +loewis priority: - low type: - behavior versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8270

[issue8269] Missing return values for PyUnicode C/API functions

2010-03-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8269 ___ ___ Python-bugs-list mailing

[issue2521] ABC caches should use weak refs

2010-03-30 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: You can't register an old-style class, but many ABCs support duck-typing by implementing __subclasshook__. ABCMeta caches those results and stores a reference to old-style classes, sometimes in _abc_cache and sometimes in

[issue8208] test_issue7820 fails: name '?' is not defined

2010-03-30 Thread Shashwat Anand
Shashwat Anand anand.shash...@gmail.com added the comment: I did not find any issue here. Trunk running on OS X 10.6.2: 06:25:00 l0nwlf-MBP:test $ python2.7 -V Python 2.7a4+ 06:25:05 l0nwlf-MBP:test $ python2.7 test_pep263.py test_compilestring (__main__.PEP263Test) ... ok test_issue3297

[issue1083] Confusing error message when dividing timedelta using /

2010-03-30 Thread Shashwat Anand
Shashwat Anand anand.shash...@gmail.com added the comment: I do not understand why python2.7 is marked in Version tag ? I reproduced the error on 3.1 but no isues on 2.7 06:39:30 l0nwlf-MBP:data $ python2.7 Python 2.7a4+ (trunk:78750, Mar 7 2010, 08:09:00) [GCC 4.2.1 (Apple Inc. build 5646)

[issue7040] test_smtplib fails on os x 10.6

2010-03-30 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7040 ___ ___ Python-bugs-list

[issue1693050] \w not helpful for non-Roman scripts

2010-03-30 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1693050 ___ ___

[issue1220212] os.kill on windows

2010-03-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Here is a patch with some tests and doc changes. I'm having trouble coming up with tests which will work with CTRL_C_EVENT and CTRL_BREAK_EVENT. Based on my understanding of GenerateConsoleCtrlEvent, I figured this example

[issue7245] better Ctrl-C support in pdb (program can be resumed) (issue216067)

2010-03-30 Thread Ilya Sandler
Ilya Sandler ilya.sand...@gmail.com added the comment: Is there anything else I can do for this patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7245 ___

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2010-03-30 Thread John Machin
New submission from John Machin sjmac...@users.sourceforge.net: Unicode 5.2.0 chapter 3 (Conformance) has a new section (headed Constraints on Conversion Processes) after requirement D93. Recent Pythons e.g. 3.1.2 don't comply. Using the Unicode example:

[issue1220212] os.kill on windows

2010-03-30 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: Removed file: http://bugs.python.org/file16703/issue1220212.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1220212 ___

[issue1220212] os.kill on windows

2010-03-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Removed an unnecessary goto and fixed a few tab/space inconsistencies (ugh). -- Added file: http://bugs.python.org/file16704/issue1220212.patch ___ Python tracker rep...@bugs.python.org

[issue8225] Wrong link in xml.etree documentation

2010-03-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Fixed in trunk (r79518), release26-maint (r79519), py3k (r79520), and release31-maint (r79521). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 2.7, Python 3.1, Python 3.2

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-03-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Anyone opposed to this being checked in? Other than some style issues which I'll fix on checkin, I believe this is ready to go. I'd like to get it in so I can backport it to 2.7 before the beta on Saturday. -- assignee: eric.smith -

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-03-30 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I had some style issues at one point, but I haven't looked at it closely recently. I won't have time to look at this before next week, so proceed without me. -- ___ Python tracker

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-03-30 Thread sorin
sorin sorin.sbar...@gmail.com added the comment: For me the patch worked. It would be really nice to have it in 2.7 - I really hate Python functions that are not working on Windows. -- ___ Python tracker rep...@bugs.python.org

[issue8272] Odd exception messages when using cStringIO.StringIO instances as callables.

2010-03-30 Thread workshed
New submission from workshed workshe...@gmail.com: Just a minor nit (or I'm missing something), but the results of trying to use a cStringIO.StringIO instance as a callable look wrong to me. It should of course raise an exception, but shouldn't the 'cStringIO.StringO' and 'cStringIO.StringI'