Re: Komodo, Python

2012-06-17 Thread Ian Kelly
On Sat, Jun 16, 2012 at 3:20 AM, Dieter Maurer die...@handshake.de wrote: In addition it shows that the kdb.py code is very old. whrandom is been replaced by random a long time ago. Komodo 2.5 was released in 2003. At the time, Python was on release 2.3. Komodo is currently on version 7. The

Re: Pythonic cross-platform GUI desingers ?? la Interface Builder (Re: what gui designer is everyone using)

2012-06-17 Thread Chris Fox
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/06/2012 03:42, Chris Angelico wrote: On Fri, Jun 15, 2012 at 7:47 AM, Dietmar Schwertberger n...@schwertberger.de wrote: The point is, that if you want to promote Python as replacement for e.g. VB, Labview etc., then an easy-to-use GUI

Re: Academic citation of Python

2012-06-17 Thread Stefan Behnel
Dennis Lee Bieber, 17.06.2012 02:46: On Sat, 16 Jun 2012 20:25:29 -0400, Terry Reedy declaimed the following in gmane.comp.python.general: Thank you for the correction. I was going by an old book (1996) he co-wrote that just had 'Rossum' on the spine. I guess that must have been done

How does python bytecode works?

2012-06-17 Thread gmspro
We know python is written in C. C is not portable. So how does python work on a webserver like apache/httpd for a python website? How does the intermediate language communicate with server without compiling python code? Or how does python interpreted code work with webserver for python based

Re: Python 3.3.0a4, please add ru'...'

2012-06-17 Thread Serhiy Storchaka
On 16.06.12 20:36, jmfauth wrote: u'a' 'a' ur'a' 'a' Please, never use u'' in new Python 3 code. This is only for compatibility with Python 2. And Python 2 does not support ru''. -- http://mail.python.org/mailman/listinfo/python-list

Re: How does python bytecode works?

2012-06-17 Thread Kev Dwyer
gmspro wrote: We know python is written in C. C is not portable. So how does python work on a webserver like apache/httpd for a python website? How does the intermediate language communicate with server without compiling python code? Or how does python interpreted code work with webserver

Re: Python 3.3.0a4, please add ru'...'

2012-06-17 Thread Christian Heimes
Am 16.06.2012 19:36, schrieb jmfauth: Please consistency. Python 3.3 supports the ur syntax just as Python 2.x: $ ./python Python 3.3.0a4+ (default:4c704dc97496, Jun 16 2012, 00:06:09) [GCC 4.6.3] on linux Type help, copyright, credits or license for more information. ur '' [73917 refs]

Re: Python 3.3.0a4, please add ru'...'

2012-06-17 Thread jmfauth
On 17 juin, 13:30, Christian Heimes li...@cheimes.de wrote: Am 16.06.2012 19:36, schrieb jmfauth: Please consistency. Python 3.3 supports the ur syntax just as Python 2.x: $ ./python Python 3.3.0a4+ (default:4c704dc97496, Jun 16 2012, 00:06:09) [GCC 4.6.3] on linux Type help, copyright,

Re: Python 3.3.0a4, please add ru'...'

2012-06-17 Thread Steven D'Aprano
On Sun, 17 Jun 2012 05:11:25 -0700, jmfauth wrote: PS2 Opinion, if not really useful, consistency nver hurts. If you're doing something useless or harmful, why would you want to do more of it for the sake of consistency? Consistency requires somebody to write the code in the first place,

Re: Python 3.3.0a4, please add ru'...'

2012-06-17 Thread Christian Heimes
Am 17.06.2012 14:11, schrieb jmfauth: I noticed this at the 3.3.0a0 realease. The main motivation for this came from this: http://bugs.python.org/issue13748 PS I saw the dev-list message. PS2 Opinion, if not really useful, consistency nver hurts. We are must likely drop the ur syntax

Re: Threads vs subprocesses

2012-06-17 Thread John O'Hagan
On Sat, 16 Jun 2012 13:27:45 -0400 Dennis Lee Bieber wlfr...@ix.netcom.com wrote: On Sat, 16 Jun 2012 20:01:12 +1000, John O'Hagan resea...@johnohagan.com declaimed the following in gmane.comp.python.general: That looks like a possible way to do all the streams in a single thread,

Re: Academic citation of Python

2012-06-17 Thread Curt
On 2012-06-16, Christian Heimes li...@cheimes.de wrote: Actually it's van Rossum, Guido, not Rossum, Guido van. The van is part of the family name, not a middle name. It's like da Vinci, Leonardo or von Sydow, Max. On one occasion Guido complained that Americans always get his name wrong.

Re: Pythonic cross-platform GUI desingers ?? la Interface Builder (Re: what gui designer is everyone using)

2012-06-17 Thread Chris Angelico
On Sun, Jun 17, 2012 at 7:01 PM, Chris Fox ch...@robotninja.net wrote: On 17/06/2012 03:42, Chris Angelico wrote: I want to promote Linux as a replacement for Windows. But I do not see that Linux needs to be able to run Internet Explorer in order to do that. Maybe when people move to a

Re: Python 3.3.0a4, please add ru'...'

2012-06-17 Thread jmfauth
On 17 juin, 15:48, Christian Heimes li...@cheimes.de wrote: Am 17.06.2012 14:11, schrieb jmfauth: I noticed this at the 3.3.0a0 realease. The main motivation for this came from this: http://bugs.python.org/issue13748 PS I saw the dev-list message. PS2 Opinion, if not really useful,

How can i build python3 without optimization?

2012-06-17 Thread gmspro
I tried this: CFLAG=-g ./configure --prefix=/home/user/localdir But during debugging python i get: (gdb)next (gdb)print variable (gdb)$1 = value optimized out What should i do? How can i get the value of a variable instead of value optimized out ? Thanks. --

Re: Is that safe to use ramdom.random() for key to encrypt?

2012-06-17 Thread Rafael Durán Castañeda
El 17/06/12 06:48, Chris Angelico escribió: On Sun, Jun 17, 2012 at 2:18 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: Safe from what? What is your threat model? Are you worried about your little sister reading your diary? Or the NSA discovering your plans to assassinate the

Re: How can i build python3 without optimization?

2012-06-17 Thread Kev Dwyer
gmspro wrote: I tried this: CFLAG=-g ./configure --prefix=/home/user/localdir But during debugging python i get: (gdb)next (gdb)print variable (gdb)$1 = value optimized out What should i do? How can i get the value of a variable instead of value optimized out ? Thanks. Maybe

Re: How does python bytecode works?

2012-06-17 Thread Terry Reedy
On 6/17/2012 5:54 AM, gmspro wrote: We know python is written in C. Nope. The CPython Python interpreter is written in (as portable as possible) C. The Jython, IronPython, and PyPy Python interpreters are written in Jave, C#, and Python respectively. Each compiles Python to something

[ANNC] vbot-0.3

2012-06-17 Thread Lee Harr
vBot is a visual programming game.     Use a small set of command tiles to build a program.     The program must control the vBot and make it activate     every target using the limited command set. It is meant to be an easy environment for introducing     some programming concepts to beginning

Re: How does python bytecode works?

2012-06-17 Thread Devin Jeanpierre
On Sun, Jun 17, 2012 at 5:54 AM, gmspro gms...@yahoo.com wrote: We know python is written in C. C is not portable. Badly written C is not portable. But C is probably the most portable language on the planet, by virtue of basically every system having a C compiler backend. The issue is that a

Cross-platform mobile application written in Python

2012-06-17 Thread Alex Susu
Hello. I would like to point you to a project that I worked on lately: iCam, a video surveillance cross-platform mobile application (Android, Symbian, iOS, WinCE) written in Python, which uploads normally media to YouTube and Picasa. The project can be found at

Re: Threads vs subprocesses

2012-06-17 Thread Cameron Simpson
On 18Jun2012 00:17, John O'Hagan resea...@johnohagan.com wrote: | On Sat, 16 Jun 2012 13:27:45 -0400 | Dennis Lee Bieber wlfr...@ix.netcom.com wrote: | Not after each event is read but when a new event is | generated/inserted. The list is not a FIFO where new events are added to | the end,

lazy evaluation of a variable

2012-06-17 Thread Gelonida N
Hi, I'm not sure whether what I ask for is impossible, but would know how others handle such situations. I'm having a module, which should lazily evaluate one of it's variables. Meaning that it is evaluated only if anybody tries to use this variable. At the moment I don't know how to do

Re: lazy evaluation of a variable

2012-06-17 Thread Cameron Simpson
On 17Jun2012 23:35, Gelonida N gelon...@gmail.com wrote: | I'm having a module, which should lazily evaluate one of it's variables. | Meaning that it is evaluated only if anybody tries to use this variable. If it were an object member you could use a property. Does it need to be a module global?

Re: Is that safe to use ramdom.random() for key to encrypt?

2012-06-17 Thread Chris Angelico
On Mon, Jun 18, 2012 at 3:06 AM, Rafael Durán Castañeda rafadurancastan...@gmail.com wrote: The language Python includes a SystemRandom class that obtains cryptographic grade random bits from /dev/urandom on a Unix-like system, including Linux and Mac OS X, while on Windows it uses

Re: lazy evaluation of a variable

2012-06-17 Thread Steven D'Aprano
On Mon, 18 Jun 2012 07:44:47 +1000, Cameron Simpson wrote: On 17Jun2012 23:35, Gelonida N gelon...@gmail.com wrote: | I'm having a module, which should lazily evaluate one of it's variables. | Meaning that it is evaluated only if anybody tries to use this variable. If it were an object

Re: Is that safe to use ramdom.random() for key to encrypt?

2012-06-17 Thread Steven D'Aprano
On Mon, 18 Jun 2012 08:41:57 +1000, Chris Angelico wrote: On Mon, Jun 18, 2012 at 3:06 AM, Rafael Durán Castañeda rafadurancastan...@gmail.com wrote: The language Python includes a SystemRandom class that obtains cryptographic grade random bits from /dev/urandom on a Unix-like system,

Re: lazy evaluation of a variable

2012-06-17 Thread Peter Otten
Gelonida N wrote: I'm having a module, which should lazily evaluate one of it's variables. Meaning that it is evaluated only if anybody tries to use this variable. At the moment I don't know how to do this and do therefore following: ### mymodule.py ### var = None def

Re: Is that safe to use ramdom.random() for key to encrypt?

2012-06-17 Thread Paul Rubin
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: /dev/urandom isn't actually cryptographically secure; it promises not to block, even if it has insufficient entropy. But in your instance... Correct. /dev/random is meant to be used for long-lasting cryptographically-significant

Re: lazy evaluation of a variable

2012-06-17 Thread Jose H. Martinez
Another option would be to refactor your function so that it is a generator expression using the yield keyword. On Sun, Jun 17, 2012 at 7:40 PM, Peter Otten __pete...@web.de wrote: Gelonida N wrote: I'm having a module, which should lazily evaluate one of it's variables. Meaning that it

Re: How does python bytecode works?

2012-06-17 Thread Dan Stromberg
On Sun, Jun 17, 2012 at 2:54 AM, gmspro gms...@yahoo.com wrote: We know python is written in C. Yes, at least CPython is. Of course, java is written in C, as are many other languages. C is not portable. C gives you lots of rope to hang yourself with, but if you use C well, it's more

Re: Is that safe to use ramdom.random() for key to encrypt?

2012-06-17 Thread Jon Clements
On Sun, 17 Jun 2012 23:17:37 +, Steven D'Aprano wrote: On Mon, 18 Jun 2012 08:41:57 +1000, Chris Angelico wrote: On Mon, Jun 18, 2012 at 3:06 AM, Rafael Durán Castañeda rafadurancastan...@gmail.com wrote: The language Python includes a SystemRandom class that obtains cryptographic

Re: Is that safe to use ramdom.random() for key to encrypt?

2012-06-17 Thread Andrew Berg
On 6/17/2012 7:07 PM, Jon Clements wrote: I'm reminded of: http://xkcd.com/936/ http://xkcd.com/792/ There's also one where it's pointed out it's easier to brute force a person who has the code, than brute force the computer. [but can't find that one at the moment]

Re: Academic citation of Python

2012-06-17 Thread Ben Finney
Curt cu...@free.fr writes: On 2012-06-16, Christian Heimes li...@cheimes.de wrote: Actually it's van Rossum, Guido, not Rossum, Guido van. The van is part of the family name, not a middle name. It's like da Vinci, Leonardo or von Sydow, Max. On one occasion Guido complained that

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I looked into the idea of treating networks as containers of interface objects rather than addresses - it turns out it gets messy very quickly, because you definitely want your network address and broadcast address to be ordinary addresses,

[issue15089] Add gzip support to urllib.request.retrieve()

2012-06-17 Thread Raymond Hettinger
New submission from Raymond Hettinger raymond.hettin...@gmail.com: Enable retrieve() to take advantage of data compression in HTTP requests. * In the request, add the header Accept-Encoding: gzip. * In the response, check the headers for Content-Encoding: gzip. * Convert the downloaded content

[issue15090] Add etag support to urllib.request.urlretrieve()

2012-06-17 Thread Raymond Hettinger
New submission from Raymond Hettinger raymond.hettin...@gmail.com: Add an optional argument to urlretrieve to specify an etag for previously downloaded content: urlretrieve('example.com/data.txt', etag=105800d-4af6-4c29d893d69c0) That optional argument would add the following to the

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset cacf3b1e20da by Nick Coghlan in branch 'default': Issue #14814: Add first draft of PEP 3144 ipaddress module documentation (initial patch by Sandro Tosi) http://hg.python.org/cpython/rev/cacf3b1e20da --

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: OK, dropping to deferred blocker status, as I think the docs are now good enough for beta 1. We still want to get the public methods and properties for the various objects documented during the beta period, though. I'm not sure how best to

[issue14055] Implement __sizeof__ for etree Element

2012-06-17 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Given how C's sizeof works, it may be debatable whether it's natural to expect that sys.getsizeof should be recursive. If you have a struct with pointers (say, char*) in C, and you do sizeof, the string length isn't considered, either.

[issue14928] Fix importlib bootstrapping issues

2012-06-17 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: IIUC, this patch will cause importlib.h to always be built when building from source, since _freeze_importlib will be built. Is it then the plan to drop importlib.h from version control? If so, the Windows build process would need to be

[issue6727] ImportError when package is symlinked on Windows

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset afe67ea94bc6 by Jason R. Coombs in branch 'default': Adding test from issue6727 demonstrating that symlink import issue does not occur here in 3.3 http://hg.python.org/cpython/rev/afe67ea94bc6 --

[issue6727] ImportError when package is symlinked on Windows

2012-06-17 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6727 ___ ___

[issue15090] Add etag support to urllib.request.urlretrieve()

2012-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15090 ___ ___ Python-bugs-list

[issue15089] Add gzip support to urllib.request.retrieve()

2012-06-17 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Isn't this a duplicate of issue1508475? -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15089 ___

[issue15044] _dbm not building on Fedora 17

2012-06-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Patch works for me, and looks pretty safe for other platforms. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15044 ___

[issue6727] ImportError when package is symlinked on Windows

2012-06-17 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I don't know what changed in 3.3 to address this issue; likely candidates are the VS 2010 upgrade or the rewrite of the import machinery. In either case, best I can tell, 3.3 is no longer implicated. --

[issue15087] Add gzip function to read gzip'd strings

2012-06-17 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Why not simple gzip.GzipFile(fileobj=u).read()? -- nosy: +storchaka status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15087

[issue15044] _dbm not building on Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset e2be1f43beed by Nick Coghlan in branch '3.2': Issue #15044: Handle Fedora 17's approach to ndbm compatibility http://hg.python.org/cpython/rev/e2be1f43beed New changeset 1f6c23ed8218 by Nick Coghlan in branch

[issue6727] ImportError when package is symlinked on Windows

2012-06-17 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: It seems that by adding the test to the default branch, the buildbots are now broken for Unix systems (they're failing the test). I'm going to await the results from the Windows buildbots, and then skip the tests on the failing platforms.

[issue15044] _dbm not building on Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4d62f788aa19 by Nick Coghlan in branch '2.7': Issue #15044: Handle Fedora 17's approach to ndbm compatibility (backport from 3.x) http://hg.python.org/cpython/rev/4d62f788aa19 --

[issue15044] _dbm not building on Fedora 17

2012-06-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I committed the fix to at least get things building again, but this should probably get a NEWS entry (since builds that would have previously used gdbm directly will now use it in ndbm compatibility mode instead) --

[issue14055] Implement __sizeof__ for etree Element

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 093dec81ea1f by Martin v. Löwis in branch 'default': Issue #14055: Add __sizeof__ support to _elementtree. http://hg.python.org/cpython/rev/093dec81ea1f -- nosy: +python-dev

[issue14055] Implement __sizeof__ for etree Element

2012-06-17 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14055 ___

[issue15044] _dbm not building on Fedora 17

2012-06-17 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Yeah, after I submitted the patch, I was unsure if that was a good idea or if it should try and use gdbm in native mode if possible. -- ___ Python tracker rep...@bugs.python.org

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2db5010a610c by Nick Coghlan in branch '3.2': Issue #15043: skip test_gdb if the custom hooks can't be loaded http://hg.python.org/cpython/rev/2db5010a610c -- nosy: +python-dev

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ac2f5067c220 by Nick Coghlan in branch '2.7': Issue #15043: skip test_gdb if the custom hooks can't be loaded (backport from 3.x) http://hg.python.org/cpython/rev/ac2f5067c220 --

[issue15091] ImportError when package is symlinked on Unix

2012-06-17 Thread Jason R. Coombs
New submission from Jason R. Coombs jar...@jaraco.com: In testing issue6727, I added a test (http://hg.python.org/cpython/rev/afe67ea94bc6) to the default branch. The test passes on Windows, but fails on some of the Unix buildbots. Here's a quick breakdown of where it's passing and failing:

[issue15091] ImportError when package is symlinked on Unix

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 939a68f5d14c by Jason R. Coombs in branch 'default': Disable test on Unix. Causes buildbots to fail. See Issue #15091 http://hg.python.org/cpython/rev/939a68f5d14c -- nosy: +python-dev

[issue6727] ImportError when package is symlinked on Windows

2012-06-17 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I've disabled the test on non-Windows systems and created issue15091 to track the issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6727

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9456591d0761 by Nick Coghlan in branch 'default': Merge from 3.2 (Issue #15043: skip test_gdb if the custom hooks can't be loaded) http://hg.python.org/cpython/rev/9456591d0761 --

[issue15092] Using enum PyUnicode_Kind

2012-06-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka storch...@gmail.com: Now a string kind declared in different places of code as `enum PyUnicode_Kind`, `int` or `unsigned int`. Working on the codecs optimization, I noticed that sometimes the use of `enum PyUnicode_Kind` gives a little advantage over the

[issue15093] ntpath.isdir returns False for directory symlinks

2012-06-17 Thread Jason R. Coombs
New submission from Jason R. Coombs jar...@jaraco.com: On Unix: python -c import os; os.mkdir('bar'); os.symlink('bar', 'foo'); print(os.path.isdir('foo')) True On Windows: python -c import os; os.mkdir('bar'); os.symlink('bar', 'foo'); print(os.path.isdir('foo')) False Windows should

[issue13823] xml.etree.ElementTree.ElementTree.write - argument checking

2012-06-17 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13823 ___ ___ Python-bugs-list

[issue14973] restore python2 unicode literals in ur strings

2012-06-17 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: See also http://mail.python.org/pipermail/python-list/2012-June/625406.html -- nosy: +aronacher, vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14973

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Added new section to devguide in http://hg.python.org/devguide/rev/9fee8e6c2619 -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue15091] ImportError when package is symlinked on Unix

2012-06-17 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I should point out that some of those failures (e.g. x86 Solaris 11 3.x) weren't triggered by the change, but many were. -- ___ Python tracker rep...@bugs.python.org

[issue14928] Fix importlib bootstrapping issues

2012-06-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: IIUC, this patch will cause importlib.h to always be built when building from source, since _freeze_importlib will be built. Yes indeed. That's not deliberate, but because of how Makefile dependencies are specified (importlib.h needs the

[issue15091] ImportError when package is symlinked on Unix

2012-06-17 Thread Waldemar Kornewald
Changes by Waldemar Kornewald wkornew...@gmail.com: -- nosy: +wkornewald ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15091 ___ ___

[issue15094] Incorrectly placed #endif in _tkinter.c.

2012-06-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka storch...@gmail.com: #endif is placed incorrectly in _tkinter.c. As a result, braces are unbalanced when TCL_UTF_MAX != 3. This is Python 3.3 only error. There are no tests yet. Just wait a few years until TCL will support non-BMP characters or use a time

[issue14928] Fix importlib bootstrapping issues

2012-06-17 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Yes indeed. That's not deliberate, but because of how Makefile dependencies are specified (importlib.h needs the _freeze_importlib executable to be rebuilt, but it should really depend on the _freeze_importlib.c timestamp). Do you have an

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Also added an FAQ with the specific ~/.gdbinit entry needed to get it running in http://hg.python.org/devguide/rev/1d81501be702 I did try adding a similar command directly to the gdb invocation, but, as far as I can tell, any commands

[issue15092] Using enum PyUnicode_Kind

2012-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15092 ___ ___

[issue15094] Incorrectly placed #endif in _tkinter.c.

2012-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15094 ___ ___ Python-bugs-list mailing

[issue15087] Add gzip function to read gzip'd strings

2012-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: invalid - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15087 ___

[issue15090] Add etag support to urllib.request.urlretrieve()

2012-06-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: urlretrieve() is the old urllib interface. You probably want to improve the urllib2-inherited urlopen() instead. -- nosy: +orsenthil, pitrou versions: +Python 3.3 -Python 3.4 ___ Python tracker

[issue15089] Add gzip support to urllib.request.retrieve()

2012-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - duplicate status: open - closed superseder: - transparent gzip compression in urllib ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15089

[issue15093] ntpath.isdir returns False for directory symlinks

2012-06-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15093 ___ ___

[issue15095] test_imaplib problem - intermittent skips and LOGINDISABLED not reported

2012-06-17 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: When running the test suite on Fedora 17 (and behind a couple of layers of NAT), I see the following problems: Intermittently: skipped Resource 'cyrus.andrew.cmu.edu' is not available Consistently (with a couple of tests updated to use the

[issue15095] test_imaplib problem - intermittent skips and LOGINDISABLED not reported

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4028bb7a5ac2 by Nick Coghlan in branch '3.2': Issue #15095: Use better assertions in test_imaplib http://hg.python.org/cpython/rev/4028bb7a5ac2 New changeset bbe1a2049ca1 by Nick Coghlan in branch 'default': Merge

[issue13455] Reorganize tracker docs in the devguide

2012-06-17 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The attached patch has been committed in 252e2aabc87a, and the wiki pages have been updated to link to the devguide. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed

[issue13515] Consistent documentation practices for security concerns and considerations

2012-06-17 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The new theme of the docs should solve the issue about the scary red boxes, but the original report is still valid. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13515

[issue14919] what disables one from adding self to the nosy list

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2171bb071dd6 by Ezio Melotti in branch 'default': #14919: clarify paragraph in the devguide. http://hg.python.org/devguide/rev/2171bb071dd6 -- nosy: +python-dev ___

[issue14919] what disables one from adding self to the nosy list

2012-06-17 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14919 ___

[issue14469] Python 3 documentation links

2012-06-17 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14469 ___ ___

[issue13797] Allow objects implemented in pure Python to export PEP 3118 buffers

2012-06-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I suggest a PEP for 3.4 as the best way forward for this. -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13797

[issue14840] Tutorial: Add a bit on the difference between tuples and lists

2012-06-17 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset bb63919cde6e by Ezio Melotti in branch '2.7': #14840: Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware. http://hg.python.org/cpython/rev/bb63919cde6e New changeset 3550416d83b3

[issue14840] Tutorial: Add a bit on the difference between tuples and lists

2012-06-17 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the patch! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14840

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-06-17 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: As the PEPs are development docs, like the Python documentation itself, I wouldn't have *expected* it to be covered by the redesign. Does this require anything more than an update to the PEP index template? --

[issue15096] Drop support for the ur string prefix

2012-06-17 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: When PEP 414 restored support for explicit Unicode literals in Python 3, the ur string prefix was deemed to be a synonym for the r prefix. However, ur in 2.x was only kinda-sorta-raw, since it still supported Unicode escapes: $ python

[issue15096] Drop support for the ur string prefix

2012-06-17 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15096 ___ ___

[issue15096] Drop support for the ur string prefix

2012-06-17 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15096 ___ ___

[issue15096] Drop support for the ur string prefix

2012-06-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15096 ___ ___ Python-bugs-list

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-06-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I'm expecting the pep2pyramid.py part to change at the very least. However, back on topic, I actually hit the limits of my knowledge of the PEP build process reading that script. As near as I can tell, PEP 0 should have the same title

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-06-17 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The title for the PEPs seem to be set in the fixfile function, at the line 206. Maybe something like: if pep: title = PEP + pep + -- + title else: title = PEP index works, assuming that only title-less page is the

[issue3665] Support \u and \U escapes in regexes

2012-06-17 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Here is updated (in conforming with PEP 393) patch. In additional octal and hexadecimal escaping cleared, illegal error message for hexadecimal escaping fixed. Added new tests for octal and hexadecimal escaping. -- Added file:

[issue15038] Optimize python Locks on Windows

2012-06-17 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Ok, I take the lack of negative reviews as a general approvement. I'll improve comments a bit, write the appropriate NEWS item and make a commit soon. -- ___ Python tracker

[issue15096] Drop support for the ur string prefix

2012-06-17 Thread Christian Heimes
Christian Heimes li...@cheimes.de added the comment: +1 Raw unicode strings are rarely used and it's easy to overcome the limitation. I've created a patch that disabled ur'' syntax, updates the docs and adds some tests for u'' syntax. I couldn't find any tests for the syntax ... shame on

[issue15095] test_imaplib problem - intermittent skips and LOGINDISABLED not reported

2012-06-17 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email nosy: +barry, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15095 ___

[issue15097] Improving wording on the thread-safeness of import

2012-06-17 Thread Merlijn van Deen
New submission from Merlijn van Deen valhall...@gmail.com: http://docs.python.org/library/threading.html#importing-in-threaded-code Currently, the documentation states Firstly, other than in the main module, an import should not have the side effect of spawning a new thread and then waiting

  1   2   >