[Python-announce] ANN: friendly_idle is available

2022-06-16 Thread André
requires a version of IDLE that support excepthook(): Python 3.8.10 or greater Python 3.9.5 or greater Python 3.10.x It has not been tested with Python 3.11 as friendly-traceback has not yet been made 100% compatible with the latest 3.11 release. It might still work, but would fail

[issue46745] Typo in new PositionsIterator

2022-02-13 Thread Robert-André Mauchin
New submission from Robert-André Mauchin : In Objects/codeobject.c, poisitions_iterator should read positions_iterator -- components: C API messages: 413209 nosy: eclipseo priority: normal pull_requests: 29479 severity: normal status: open title: Typo in new PositionsIterator versions

[issue35095] Implement pathlib.Path.append_bytes and pathlib.Path.append_text

2022-01-24 Thread Nuno André
Change by Nuno André : -- nosy: +nuno nosy_count: 3.0 -> 4.0 pull_requests: +29041 pull_request: https://github.com/python/cpython/pull/3811 ___ Python tracker <https://bugs.python.org/issu

[issue43520] Make Fraction(string) handle non-ascii slashes

2021-04-24 Thread Frédéric Grosshans-André
Frédéric Grosshans-André added the comment: @Gregory P. Smith unicodedata.numeric, in the sdandard library, already handles non-Ascii fractions in many scripts. The current “problem” is it outputs a float (even for integers): >>> unicodedata.numeric('⅔') 0.666

[issue43925] Add hangul syllables to unicodedata.decomposititon

2021-04-23 Thread Frédéric Grosshans-André
New submission from Frédéric Grosshans-André : Currently (python 3.8.6, unidata_version 12.1.0) unicodedata.decomposition outputs an empty string for hangul syllable (codepoints in the AC00..D7A3 range) while the decomposition is not empty: it is always two characters (either a LV syllable

[issue43699] ERROR: Could not find a version that satisfies the requirement MetaTrader5

2021-04-01 Thread André Luís Lopes da Silva
New submission from André Luís Lopes da Silva : Dear, I am trying to install MetaTrader5 via pip. But this return this message: Defaulting to user installation because normal site-packages is not writeable WARNING: Keyring is skipped due to an exception: Failed to unlock the keyring! ERROR

[issue37176] super() docs don't say what super() does

2019-06-12 Thread Carlos André Dantas de Lima
Carlos André Dantas de Lima added the comment: The method says who you will use some recursion. -- nosy: +Carlos André Dantas de Lima ___ Python tracker <https://bugs.python.org/issue37

rJSmin 1.1.0

2019-03-14 Thread André Malo
entation: http://opensource.perlig.de/rjsmin/ * PyPI: https://pypi.org/project/rjsmin/ * Github: https://github.com/ndparker/rjsmin * License: http://www.apache.org/licenses/LICENSE-2.0 André "nd" Malo -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

[issue35816] csv.DictReader, skipinitialspace does not ignore tabs

2019-01-24 Thread André Lehmann
New submission from André Lehmann : When using the csv.DictReader a dialect can be given to change the behavior of interpretation of the csv file. The Dialect has an option "skipinitialspace" which shall ignore the whitespace after the delimiter according to the documentati

[issue32485] Multiprocessing dict sharing between forked processes

2018-01-03 Thread André Neto
André Neto <andre.c.n...@gmail.com> added the comment: You are right, it does not segfault (sorry for the abuse of language). It raises an exception while accessing the shared dictionary. The exception varies but typically is: Traceback (most recent call last): File "multipr

[issue32485] Multiprocessing dict sharing between forked processes

2018-01-03 Thread André Neto
New submission from André Neto <andre.c.n...@gmail.com>: I'm working on a project where I need to share state between several processes (forked using gunicorn). I'm using dictionaries obtained from a multiprocessing SyncManager to achieve this. The issue is that if I have multiple

Re: ANN: psutil 5.4.2 released

2017-12-07 Thread André Schneider
Unsubscribe Giampaolo Rodola' schrieb am Do., 7. Dez. 2017, 13:16: > Hello all, > I'm glad to announce the release of psutil 5.4.2: > https://github.com/giampaolo/psutil > > About > = > > psutil (process and system utilities) is a cross-platform library for > retrieving

[issue26781] os.walk max_depth

2017-07-17 Thread André Rossi Korol
André Rossi Korol added the comment: I proposed a new function called lwalk(level walk) that recurses only to a certain level of depth: http://bugs.python.org/issue30942 It is implemented in os.py and calls os.walk, but making sure it recurses only to a selected level of depth

[issue30942] Implement lwalk(levelwalk) function on os.py

2017-07-16 Thread André Rossi Korol
André Rossi Korol added the comment: UPDATE: I already fixed the cause of the TypeError I mentioned earlier. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30942] Implement lwalk(levelwalk) function on os.py

2017-07-16 Thread André Rossi Korol
Changes by André Rossi Korol <anrob...@yahoo.com.br>: -- hgrepos: -369 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30942> ___

[issue30942] Implement lwalk(levelwalk) function on os.py

2017-07-16 Thread André Rossi Korol
André Rossi Korol added the comment: I forked cpython and implemented an lwalk function on os.py. The lwalk funtion behaves exactly like walk(), except that it recurses only to a certain level of depth that can be selected by the user. More information on the lwalk function can be found

[issue30942] Implement lwalk(levelwalk) function on os.py

2017-07-16 Thread André Rossi Korol
New submission from André Rossi Korol: I forked cpython and implemented an lwalk function on os.py. The lwalk funtion behaves exactly like walk(), except that it recurses only to a certain level of depth that can be selected by the user. More information on the lwalk function can be found

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2017-04-26 Thread André Anjos
Changes by André Anjos <andre.dos.an...@gmail.com>: -- title: site.main() does not work on Python 3.6 and superior with PYTHONSTARTUP is set -> site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set ___ Python tra

[issue30167] site.main() does not work on Python 3.6 and superior with PYTHONSTARTUP is set

2017-04-26 Thread André Anjos
Changes by André Anjos <andre.dos.an...@gmail.com>: -- title: site.main() does not work on Python 3.6 and superior -> site.main() does not work on Python 3.6 and superior with PYTHONSTARTUP is set ___ Python tracker <rep...@bugs.pytho

[issue30167] site.main() does not work on Python 3.6 and superior

2017-04-26 Thread André Anjos
André Anjos added the comment: After further investigation, the issue can only be reproduced iff the user sets PYTHONSTARTUP which triggers "__main__" to appear in sys.modules and the problem to occur. -- ___ Python tracker <rep...@bu

[issue30167] site.main() does not work on Python 3.6 and superior

2017-04-26 Thread André Anjos
André Anjos added the comment: More information: to reproduce the problem, don't use Python's "-c" command-line option. In this case "__main__" won't be inside sys.modules which mitigates the issue. -- ___ Python tracker <

[issue30167] site.main() does not work on Python 3.6 and superior

2017-04-26 Thread André Anjos
New submission from André Anjos: Apparently, "import site; site.main()" does not seem to work anymore on Python 3.6 and superior. The reason is a change on the behavior of "os.path.abspath(None)". Before Python 3.6, it used to report an AttributeError which is pr

enable-framework Vs. Naught

2017-01-09 Thread André Lemos
ution, I simply get a non inspiring: Fatal Python error: PyThreadState_Get: no current thread I am using python-config to get my flags on both the examples, but I simply cannot get it to run (although it compiles fine) on a *non* enabled Framework installation. Thoughts/Help? -- André Lemos -

Re: empty clause of for loops

2016-03-19 Thread André Roberge
; What's the most Pythonic way of doing this? > > Best, > Sven for x in my_iterable: # do something if not my_iterable: # do something else André -- https://mail.python.org/mailman/listinfo/python-list

Re: [Still off-top] Physics [was Requests author discusses MentalHealthError exception]

2016-03-04 Thread André Roberge
egative mass). The (magnitude of the) binding energy is DEFINED as the difference between the (energy equivalent) sums of the individual masses of the consistuents and that of the bound state. === Now, could we forget about Physics and go back to discussions related to Python? André Roberge > > -- > Oscar -- https://mail.python.org/mailman/listinfo/python-list

[issue26357] asyncio.wait loses coroutine return value

2016-02-15 Thread André Caron
André Caron added the comment: Hi Guido, Thanks for the quick reply :-) AFAICT, there seem to be three possible directions regarding this issue -- for both wait() and as_completed(): 1) remove the need for ensure_future(): make the membership test succeed and allow multiple await

[issue25887] awaiting on coroutine more than once should be an error

2016-02-13 Thread André Caron
André Caron added the comment: > I believe you're not using the asyncio.task() function correctly. I assume you meant asyncio.wait(). I just updated my gist with a variant of my example that uses the (done, pending) pair returned by asyncio.wait() as you suggested. The set of done futu

[issue26357] asyncio.wait loses coroutine return value

2016-02-13 Thread André Caron
New submission from André Caron: When the asyncio.wait() function with coroutine objects as inputs, it is impossbible to extract the results reliably. This issue arises because asyncio.wait() returns an unordered set of futures against which membership tests of coroutine objects always fail

[issue25887] awaiting on coroutine more than once should be an error

2016-02-13 Thread André Caron
André Caron added the comment: After thinking about this some more, I think my problem with asyncio.wait() is a bit bigger than the simple fact that coroutine objects cannot be awaited multiple times. It seems to me like asyncio.wait() is completely broken for coroutine objects as inputs

[issue25887] awaiting on coroutine more than once should be an error

2016-02-12 Thread André Caron
André Caron added the comment: Hi there! I've just stumbled upon this behavior and I was also surprised by the fact that the second await simply returns None. After fiddling around for a while, I noticed that if I wrap the coroutine object using asyncio.ensure_future

[issue25833] pyvenv: venvs cannot be moved because activate scripts hard-code paths

2016-01-25 Thread André Caron
Changes by André Caron <andre.l.ca...@gmail.com>: -- nosy: +André Caron ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25833> ___

Template Data Interface (tdi) 0.9.9.9

2015-12-31 Thread André Malo
s://pypi.python.org/pypi/tdi * License: http://www.apache.org/licenses/LICENSE-2.0 André "nd" Malo -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

Re: variable vs. object

2015-11-29 Thread André Roberge
ch is an integer. If you do: a = 10 b = a a = "hello" b will be 10. b was just another name given to object 10 to which the name "a" was referring to at that point, even though we decided later that a should refer to the string "hello" (which is an object). André -- https://mail.python.org/mailman/listinfo/python-list

Re: python PEP suggestion

2015-11-08 Thread André Roberge
is point, I can, and > will, clean it up if needed, I am just trying to throw it against the wall at > this point to see if it resonates... (or if it falls flat and goes "splat" > ). > > Thoughts? > > Dan Strohl > Snip You might want to post this to the python-ideas

rJSmin 1.0.12

2015-10-18 Thread André Malo
and conditions of the "Apache License, Version 2.0." Links = * Homepage + Documentation: http://opensource.perlig.de/rjsmin/ * PyPI: https://pypi.python.org/pypi/rjsmin * Github: https://github.com/ndparker/rjsmin * License: http://www.apache.org/licenses/LICENSE-2.0 André "nd" Malo --

rJSmin 1.0.11

2015-10-12 Thread André Malo
only) License === rJSmin is available under the terms and conditions of the "Apache License, Version 2.0." Links = * Homepage + Documentation: http://opensource.perlig.de/rjsmin/ * PyPI: https://pypi.python.org/pypi/rjsmin * Github: https://github.com/ndparker/rjsmin * License:

rCSSmin 1.0.6

2015-10-12 Thread André Malo
sion 2.0." Links = * Homepage + Documentation: http://opensource.perlig.de/rcssmin/ * PyPI: https://pypi.python.org/pypi/rcssmin * Github: https://github.com/ndparker/rcssmin * License: http://www.apache.org/licenses/LICENSE-2.0 André "nd" Malo -- https://mail.python.org/

Re: Can anybody explain the '-' in a 2-D creation code?

2015-06-25 Thread André Roberge
On Thursday, 25 June 2015 22:07:42 UTC-3, fl wrote: Hi, I read Ned's tutorial on Python. It is very interesting. On its last example, I cannot understand the '_' in: board=[[0]*8 for _ in range(8)] I know '_' is the precious answer, but it is still unclear what it is in the

[issue24330] Idle doc: explain Configure Idle not in Options on OSX, etc.

2015-06-11 Thread André Freitas
André Freitas added the comment: I have added the explanation in the Docs and IDLE help file. Found also that IDLE help.txt is out of sync with the Docs and needs to be fixed. I will open a new Issue. -- keywords: +patch nosy: +André Freitas Added file: http://bugs.python.org

Re: An object is an instance (or not)?

2015-01-27 Thread André Roberge
On Tuesday, 27 January 2015 17:43:38 UTC-4, Mario Figueiredo wrote: In article a771f6f2-9aa3-44ca-9f87-88a984c7c...@googlegroups.com, andre.robe...@gmail.com says... It is appropriate to refer to an instance as an object. It might not be appropriate to refer to an object as an

Re: An object is an instance (or not)?

2015-01-27 Thread André Roberge
On Tuesday, 27 January 2015 16:12:47 UTC-4, Mario Figueiredo wrote: This is a follow up from a previous discussion in which it is argued that the following code produces the correct error message terminology, considering that in Python an object is also an instance. class Sub:

Re: An object is an instance (or not)?

2015-01-27 Thread André Roberge
On Tuesday, 27 January 2015 17:06:50 UTC-4, Mario Figueiredo wrote: In article 80a9f882-6b13-45a7-b514-8c47b3a4c...@googlegroups.com, andre.robe...@gmail.com says... You keep writing an object is not an instance, making statements such as the terminology keeps indicating that in Python

Re: How to wow someone new to Python

2015-01-21 Thread André Roberge
updated in *years* ... more or less since the IPython and Sage notebooks came along... André -- https://mail.python.org/mailman/listinfo/python-list

Re: How to wow someone new to Python

2015-01-21 Thread André Roberge
961446671503512660926865558697259548455355905059659464369444714048531715130254590603314961882364451384985595980362059157503710042865532928 b//a 10302 b//a == 102 * 101 True André Normally, any calculation that goes beyond 2**32 has already gone way beyond most humans' ability to hold

Re: How to run a python script with functions

2015-01-20 Thread André Roberge
On Tuesday, 20 January 2015 17:11:58 UTC-4, faiz@gmail.com wrote: Hi I have a file with a python scripts that has many functions in it. To run the script I did the following: 1. $ python (to initiate python, using the python command) 2. import file_name (without .py) 3.

Re: [ANN] EasyGUI_Qt version 0.9

2015-01-13 Thread André Roberge
a datetime object automatically. André On Saturday, January 10, 2015 at 1:02:30 AM UTC, André Roberge wrote: On Friday, 9 January 2015 19:09:15 UTC-4, stephen...@gmail.com wrote: On Wednesday, December 31, 2014 at 4:24:50 PM UTC-6, André Roberge wrote: EasyGUI_Qt version 0.9 has been

Re: [ANN] EasyGUI_Qt version 0.9

2015-01-09 Thread André Roberge
On Friday, 9 January 2015 19:09:15 UTC-4, stephen...@gmail.com wrote: On Wednesday, December 31, 2014 at 4:24:50 PM UTC-6, André Roberge wrote: EasyGUI_Qt version 0.9 has been released. This is the first announcement about EasyGUI_Qt on this list. Like the original EasyGUI (which used

Re: [ANN] EasyGUI_Qt version 0.9

2015-01-09 Thread André Roberge
On Friday, 9 January 2015 19:09:15 UTC-4, stephen...@gmail.com wrote: Very nice, thanks. One issue is the format returned for the calendar selection. For today, the string returned is Fri Jan 9 2015. My script needs to convert the date to a datetime.date, and having the month returned as

Re: [ANN] EasyGUI_Qt version 0.9

2015-01-03 Thread André Roberge
On Saturday, 3 January 2015 04:52:21 UTC-4, wxjm...@gmail.com wrote: Le vendredi 2 janvier 2015 20:11:25 UTC+1, André Roberge a écrit : On Friday, 2 January 2015 06:29:37 UTC-4, wxjm...@gmail.com wrote: Le mercredi 31 décembre 2014 23:24:50 UTC+1, André Roberge a écrit : EasyGUI_Qt

Re: [ANN] EasyGUI_Qt version 0.9

2015-01-02 Thread André Roberge
On Friday, 2 January 2015 15:22:22 UTC-4, Emil Oppeln-Bronikowski wrote: On Fri, Jan 02, 2015 at 11:11:05AM -0800, André Roberge wrote: Sorry if this was asked before: have you tried building a portable version using py2exe/Nuitka/etc? I always hit a wall when it comes to building against

Re: [ANN] EasyGUI_Qt version 0.9

2015-01-02 Thread André Roberge
On Friday, 2 January 2015 06:29:37 UTC-4, wxjm...@gmail.com wrote: Le mercredi 31 décembre 2014 23:24:50 UTC+1, André Roberge a écrit : EasyGUI_Qt version 0.9 has been released. This is the first announcement about EasyGUI_Qt on this list. snip I toyed and I spent a couple of hours

Re: [ANN] EasyGUI_Qt version 0.9

2015-01-02 Thread André Roberge
On Friday, 2 January 2015 16:22:21 UTC-4, Emil Oppeln-Bronikowski wrote: On Fri, Jan 02, 2015 at 11:53:26AM -0800, André Roberge wrote: How could it then be used? Maybe I failed to explain myself fully. What I meant to say is building a distribution-ready program that utilizes your

[ANN] EasyGUI_Qt version 0.9

2014-12-31 Thread André Roberge
unicode problems ...) using Python 2.7. More information can be found at http://easygui-qt.readthedocs.org/en/latest/index.html Feedback is most welcome, including reporting bugs to https://github.com/aroberge/easygui_qt/issues Happy 2015 everyone, André Roberge -- https://mail.python.org/mailman

Re: problems with Methods in Python 3.4.2

2014-12-18 Thread André Roberge
On Thursday, 18 December 2014 13:28:33 UTC-4, Marcus Lütolf wrote: Hello Dears, 1)I am trying to do this: dir(_builtins_) You need two underscore characters on each sides: dir(__builtins__) I am getting this: Traceback (most recent call last): File pyshell#0, line 1, in module

rJSmin 1.0.10

2014-11-08 Thread André Malo
and conditions of the Apache License, Version 2.0. Links = * Homepage + Documentation: http://opensource.perlig.de/rjsmin/ * PyPI: https://pypi.python.org/pypi/rjsmin * Github: https://github.com/ndparker/rjsmin * License: http://www.apache.org/licenses/LICENSE-2.0 André nd Malo -- https

rCSSmin 1.0.5

2014-11-08 Thread André Malo
://opensource.perlig.de/rcssmin/ * PyPI: https://pypi.python.org/pypi/rcssmin * Github: https://github.com/ndparker/rcssmin * License: http://www.apache.org/licenses/LICENSE-2.0 André nd Malo -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2014-10-28 Thread Jean Christophe André
Changes by Jean Christophe André pyt...@andrele.org: Added file: http://bugs.python.org/file37054/TCVN5712-1.TXT ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21081

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2014-10-28 Thread Jean Christophe André
Changes by Jean Christophe André pyt...@andrele.org: Added file: http://bugs.python.org/file37055/TCVN5712-2.TXT ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21081

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2014-10-28 Thread Jean Christophe André
Changes by Jean Christophe André pyt...@andrele.org: Added file: http://bugs.python.org/file37056/TCVN5712-3.TXT ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21081

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2014-10-28 Thread Jean Christophe André
Jean Christophe André added the comment: I failed to find anything about TCVN 5712:1999 except the official announcement of it superseding TCVN 5712:1993 on TCVN's website. I also was not able to find any material using TCVN 5712:1999. My guess is that TCVN 6909:2001 having been released only

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2014-10-28 Thread Jean Christophe André
Jean Christophe André added the comment: Marc-Andre, about “Please also provide a patch for the documentation”, could you please guide me on this? I can write some documentation, but I simply don't know in what form you expect it. Could you point me to some examples please

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2014-10-28 Thread Jean Christophe André
Changes by Jean Christophe André pyt...@andrele.org: Removed file: http://bugs.python.org/file34644/vntime_tcvn.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21081

[issue22679] Add encodings of supported in glibc locales

2014-10-28 Thread Jean Christophe André
Changes by Jean Christophe André pyt...@andrele.org: -- nosy: +progfou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22679 ___ ___ Python-bugs

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2014-10-20 Thread Jean Christophe André
Jean Christophe André added the comment: A note to inform about my progress. (I had a long period without free time at hand) While seeking (again) official documents on the topic, I mainly found a lot of non-official ones, but some are notorious enough to use them as references. I am now

Template Data Interface (tdi) 0.9.9.8

2014-04-04 Thread André Malo
/ * PyPI: https://pypi.python.org/pypi/tdi * License: http://www.apache.org/licenses/LICENSE-2.0 André nd Malo -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2014-03-28 Thread Jean Christophe André
Jean Christophe André added the comment: * Please provide some background information how widely the encoding is used. I get less than 1000 hits in Google when looking for TCVN 5712:1993. Here is the background for the need for this encoding. The recent laws[0] in Vietnam have set TCVN 6909

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2014-03-28 Thread Jean Christophe André
Jean Christophe André added the comment: I will prepare the official encoding map(s) based on the standard(s). I'll also have to check which encoding correspond to my current encoding map, since this is the one useful in real life. Please also provide a patch for the documentation I

[issue21081] missing vietnamese codec TCVN 5712:1993 in Python

2014-03-27 Thread Jean Christophe André
New submission from Jean Christophe André: In Python version 2.x and at least 3.2 there no Vietnamese encoding support for TCVN 5712:1993. This encoding is currently largely used in Vietnam and I think it would be usefull to add it to the python core encodings. I already wrote some codec

rJSmin 1.0.9

2014-02-24 Thread André Malo
and conditions of the Apache License, Version 2.0. Links = * Homepage + Documentation: http://opensource.perlig.de/rjsmin/ * PyPI: https://pypi.python.org/pypi/rjsmin * Github: https://github.com/ndparker/rjsmin * License: http://www.apache.org/licenses/LICENSE-2.0 André nd Malo -- https

rCSSmin 1.0.4

2014-02-24 Thread André Malo
://opensource.perlig.de/rcssmin/ * PyPI: https://pypi.python.org/pypi/rcssmin * Github: https://github.com/ndparker/rcssmin * License: http://www.apache.org/licenses/LICENSE-2.0 André nd Malo -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation

rJSmin 1.0.8

2014-02-14 Thread André Malo
/rjsmin * License: http://www.apache.org/licenses/LICENSE-2.0 André nd Malo -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

rCSSmin 1.0.3

2014-02-14 Thread André Malo
. Links = * Homepage + Documentation: http://opensource.perlig.de/rcssmin/ * PyPI: https://pypi.python.org/pypi/rcssmin * Github: https://github.com/ndparker/rcssmin * License: http://www.apache.org/licenses/LICENSE-2.0 André nd Malo -- https://mail.python.org/mailman/listinfo/python

rJSmin 1.0.8

2014-02-12 Thread André Malo
/rjsmin * License: http://www.apache.org/licenses/LICENSE-2.0 André nd Malo -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

Re: About some problem

2014-01-03 Thread André Malo
# André Malo # http://pub.perlig.de/ # -- https://mail.python.org/mailman/listinfo/python-list

rJSmin 1.0.7

2013-07-02 Thread André Malo
= * Homepage + Documentation: http://opensource.perlig.de/rjsmin/ * PyPI: https://pypi.python.org/pypi/rjsmin * License: http://www.apache.org/licenses/LICENSE-2.0 André nd Malo -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http

Re: Why is regex so slow?

2013-06-18 Thread André Malo
* Johannes Bauer wrote: The pre-check version is about 42% faster in my case (0.75 sec vs. 1.3 sec). Curious. This is Python 3.2.3 on Linux x86_64. A lot of time is spent with dict lookups (timings at my box, Python 3.2.3) in your inner loop (150 times...) #!/usr/bin/python3 import re

Re: Why is regex so slow?

2013-06-18 Thread André Malo
* André Malo wrote: * Johannes Bauer wrote: The pre-check version is about 42% faster in my case (0.75 sec vs. 1.3 sec). Curious. This is Python 3.2.3 on Linux x86_64. A lot of time is spent with dict lookups (timings at my box, Python 3.2.3) in your inner loop (150 times

Template Data Interface (tdi) 0.9.9.7

2013-05-13 Thread André Malo
://opensource.perlig.de/tdi/ * PyPI: https://pypi.python.org/pypi/tdi * License: http://www.apache.org/licenses/LICENSE-2.0 André nd Malo -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

Re: object.enable() anti-pattern

2013-05-11 Thread André Malo
executable in a subprocess fork() and exec() are needed. I think, that's a bad example. These APIs are actually well-designed. nd -- Gefunden auf einer Webdesigner-Seite: Programmierung in HTML, XML, WML, CGI, FLASH # André Malo # http://pub.perlig.de/ # -- http://mail.python.org/mailman

[issue17406] Upload Windows 9x/NT4 build

2013-03-12 Thread André Gillibert
New submission from André Gillibert: Since Python 2.6 and 2.7 officially don't support Windows 95/98/Me and Windows NT 3.51/4.0, I created a build running on these Windows versions. May I upload them so you can show them on your Web site? -- components: Build messages: 184057 nosy

[issue13773] Support sqlite3 uri filenames

2012-09-11 Thread André Anjos
André Anjos added the comment: A question concerning this patch: is this going to be applied only to 3.3 or to 2.7 as well? Python-2.7.x also does not have this functionality which would be interesting to get. -- nosy: +anjos ___ Python tracker rep

Re: Parsing ISO date/time strings - where did the parser go?

2012-09-08 Thread André Malo
* Roy Smith wrote: The third is that I never use methods I can't figure out how to pronounce. here: strip'time nd -- Flhacs wird im Usenet grundsätzlich alsfhc geschrieben. Schreibt man lafhsc nicht slfach, so ist das schlichtweg hclafs. Hingegen darf man rihctig ruhig rhitcgi schreiben,

Re: looking for a neat solution to a nested loop problem

2012-08-06 Thread André Malo
* Tom P wrote: consider a nested loop algorithm - for i in range(100): for j in range(100): do_something(i,j) Now, suppose I don't want to use i = 0 and j = 0 as initial values, but some other values i = N and j = M, and I want to iterate through all 10,000 values in

multiprocessing: apply_async with different callbacks

2012-07-17 Thread André Panisson
, André smime.p7s Description: S/MIME Cryptographic Signature -- http://mail.python.org/mailman/listinfo/python-list

Re: multiprocessing: apply_async with different callbacks

2012-07-17 Thread André Panisson
On 07/17/2012 11:44 PM, André Panisson wrote: Hi all, I'm having a strange behavior when executing the following script: --- import multiprocessing def f(i): return i p = multiprocessing.Pool() for i in range(20): def c(r): print r, i p.apply_async

[issue1346874] httplib simply ignores CONTINUE

2012-07-11 Thread André Cruz
André Cruz an...@cabine.org added the comment: Attached is an updated patch against 2.7.3. It solves a bug in the tests and implements Carl's suggestion. The new tests pass and it updates the documentation as well. As for inclusion in 2.7, as this is in fact solving a bug, I would vote

[issue1346874] httplib simply ignores CONTINUE

2012-07-10 Thread André Cruz
André Cruz an...@cabine.org added the comment: Can anyone confirm what is missing for this patch to be committed? Is it just test and documentation changes or is something wrong with the code changes as well? -- nosy: +edevil ___ Python tracker rep

[issue1346874] httplib simply ignores CONTINUE

2012-07-10 Thread André Cruz
André Cruz an...@cabine.org added the comment: As far as I can see, the patch does add some documentation changes. What exactly is missing? As for the bug, if I understood correctly, what you are saying is that when ignore_continue is True, and the server sends a 100 Continue response

[issue1346874] httplib simply ignores CONTINUE

2012-07-10 Thread André Cruz
André Cruz an...@cabine.org added the comment: Carl: that would be great. Do you use it regularly? Any other problems? Python devs: can anyone confirm me what still needs to be done so that this patch can be considered for merging into trunk? Thanks

[issue14993] GCC error when using unicodeobject.h

2012-06-04 Thread André Malo
André Malo n...@perlig.de added the comment: I'm not talking about compiling python but my extension module. I *do* try supporting c89. Also relying on implementation extensions is bad style. I think, there's a huge difference between public header files (standards are good) and linked C code

[issue14993] GCC error when using unicodeobject.h

2012-06-03 Thread André Malo
New submission from André Malo n...@perlig.de: GCC error when using unicodeobject.h This ist my first attempt to test an extension with python 3.3. I've been using the 3.3.0a4 tarball. I'm using very strict compiler settings when compiling my extension modules, especially -Wall -Werror

[issue14994] GCC error when using pyerrors.h

2012-06-03 Thread André Malo
New submission from André Malo n...@perlig.de: GCC error when using pyerrors.h This ist my first attempt to test an extension with python 3.3. I've been using the 3.3.0a4 tarball. I'm using very strict compiler settings when compiling my extension modules, especially -Wall -Werror (along

Re: Python Gotcha's?

2012-04-08 Thread André Malo
* Grzegorz Staniak wrote: On 06.04.2012, rusi rustompm...@gmail.com wroted: There should be one-- and preferably only one --obvious way to do it. Then again, practicality beats purity. Yes. If you ever grepped for, say, the usage of dictionary keys in a bigger application, you might

Re: Python Gotcha's?

2012-04-06 Thread André Malo
* Steven D'Aprano wrote: On Thu, 05 Apr 2012 23:08:11 +0200, André Malo wrote: * Steven D'Aprano wrote: For a 21st century programming language or data format to accept only one type of quotation mark as string delimiter is rather like having a 21st century automobile with a hand crank

Re: Python Gotcha's?

2012-04-05 Thread André Malo
* Steven D'Aprano wrote: For a 21st century programming language or data format to accept only one type of quotation mark as string delimiter is rather like having a 21st century automobile with a hand crank to start the engine instead of an ignition. Even if there's a good reason for it

Puzzled by FiPy's use of ==

2012-03-26 Thread André Roberge
In FiPy (a finite volume PDE solver), equations are magically set up as eqX = TransientTerm() == ExplicitDiffusionTerm(coeff=D) and solved via eqX.solve(...) How can eqX be anything than True or False?... This must be via a redefinition of == but I can't see how that is done. I did look at

Re: Puzzled by FiPy's use of ==

2012-03-26 Thread André Roberge
On Monday, 26 March 2012 09:16:07 UTC-3, Robert Kern wrote: On 3/26/12 12:47 PM, André Roberge wrote: In FiPy (a finite volume PDE solver), equations are magically set up as eqX = TransientTerm() == ExplicitDiffusionTerm(coeff=D) and solved via eqX.solve(...) How can eqX

[issue14226] Expose dict_proxy type from descrobject.c

2012-03-07 Thread André Malo
New submission from André Malo n...@perlig.de: As discussed in the dev-thread about frozendicts, it would be helpful for providing advisory read-only-dicts, to just expose the dict_proxy type. I suppose, the collections module would be a good place (it just needs to provide the interface

Re: PyPI - how do you pronounce it?

2012-01-30 Thread André Malo
* Chris Angelico wrote: Hopefully this will be a step up from Rick's threads in usefulness, but I'm aware it's not of particularly great value! How do you pronounce PyPI? Is it: * Pie-Pie? * Pie-Pip, but without the last p? (same as above but short i) * Pie-Pea-Eye? * Something else? I

Execute python within Oracle

2011-12-09 Thread André Lopes
(); } } } / Can anyone help? Thanks, André -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   >