Sorin Sbarnea added the comment:
Maybe I should mention that my networking is configured only with values
received from the DHCP server, which includes 2 DNS servers, one ipv4 an done
ipv6, both of them being the local router and *1* search domain, which is a
real domain (not local
Sorin Sbarnea added the comment:
I am able to reproduce this bug with Python 3.10 on MacOS 12.2 too, and I
happen to have some extra insights about what happens, see
https://github.com/tox-dev/tox/issues/2375
Basically the culprit is a reverse-dns query (PTR) that takes 30s to return
Change by Sorin Sbarnea :
--
keywords: +patch
pull_requests: +25448
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26873
___
Python tracker
<https://bugs.python.org/issu
Change by Sorin Sbarnea :
--
type: -> performance
___
Python tracker
<https://bugs.python.org/issue44497>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Sorin Sbarnea :
As the results of investigating a very poor performance of pip while trying to
install some code I was able to identify that the root cause was the current
implementation of distutils.filelist.findall or to be more precise the
_find_all_simple function
Change by Sorin Sbarnea :
--
nosy: +ssbarnea
___
Python tracker
<https://bugs.python.org/issue41973>
___
___
Python-bugs-list mailing list
Unsubscribe:
Sorin Sbarnea added the comment:
It seems that the bug is still present. There is some additional
information on the new report https://bugs.python.org/issue35164
--
nosy: +ssbarnea
___
Python tracker
<https://bugs.python.org/issue29
New submission from Sorin Sbarnea :
It seems that when the MacOS machine does not have a FQDN name manually
configured using `scutil`, python will be fail to resolve domain names and
timeout after ~30 seconds.
I mention that the DNS resolution works correctly on the machine
Sorin Sbarnea <sorin.sbar...@gmail.com> added the comment:
I agree that this deprecation approach is not very helpful because it does not
indicate a recommended way to fix.
Yep, we all know that we will be forced to rename these parameters/variables
everywhere and likely break few AP
Sorin Sbarnea <sorin.sbar...@gmail.com> added the comment:
Based on my tests this worked with all shells I tested with, the syntax being a
very old one and not some new/modern one.
Passed: bash, zsh, dash, ksh
Platforms: MacOS, RHEL Linux
Failed with: tcsh but with the note tha
sorin <sorin.sbar...@gmail.com> added the comment:
This is a perfectly valid bug and I am surprised it was ignored for so long.
I just raised a PR for addressing it, please review it.
--
keywords: +patch
nosy: +sorin
pull_requests: +3790
stage: -> patch review
type: en
I use Linux and python 2.7.12
--
https://mail.python.org/mailman/listinfo/python-list
Hello,I recently started to make a dice game in python.Everything was nice and
beautiful,until now.My problem is that when I try to play and I win or lost or
it's equal next time it will continue only with that.
Exemple:
Enter name >> Sorin
Money = 2
Bet >> 2
You won!
Money 4
Bet
Changes by sorin <sorin.sbar...@gmail.com>:
--
nosy: -sorin
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1602>
___
__
sorin added the comment:
Here is one example of failure caused by this
https://gist.github.com/ssbarnea/b373062dd45de92735c7482b2735c5fb
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
New submission from sorin:
The ConfigParser issue with % (percent) is taking huge proportions because it
does have serious implications downstream. One such example is the fact that in
breaks virtualenv in such way the if you create a virtual env in a path that
contains percent at some point
Changes by sorin <sorin.sbar...@gmail.com>:
--
nosy: -sorin
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6792>
___
__
New submission from sorin:
The standard library implementation of an OrderedDict (which is included in
Python 3.4) uses a weakref for the root reference.
https://hg.python.org/cpython/file/534b26837a13/Lib/collections/__init__.py#l74
This was reported initially on
https://github.com
sorin added the comment:
Can't we do something about this bug? I think that most python devs are
ignoring the severity of this one, especially because it does break
distribution of packages (or at least their testing)
On OS X the experience is awful as --user doesn't work at all
sorin added the comment:
Can we have this merged, it prevents us form using distutil, especially in a
continuous integration environment where you do not have control over the build
server.
See: https://drone.io/github.com/pycontribs/tendo/1
--
nosy: +sorin
sorin added the comment:
Can we have a fix for this? ... one that would not require me to drop using
PYTHONDONTWRITEBYTECODE.
I do have PYTHONDONTWRITEBYTECODE=1 on my user profile and installing packages
became a nightmare.
--
nosy: +sorin
sorin sorin.sbar...@gmail.com added the comment:
Am I wrong or we should reopen this bug. Try `ulimit -n unlimited` and you'll
make python code that does popen practically blocking.
--
nosy: +sorin
type: - performance
___
Python tracker rep
sorin sorin.sbar...@gmail.com added the comment:
Here is a test file that will replicate the problem, I added it as a gist so it
could support contributions ;)
Py 2.7 works
Py ==2.7 fails
Py =3.0 works after minor changes required by py3k
https://gist.github.com/1047551
sorin sorin.sbar...@gmail.com added the comment:
Right, so you have some binary data and you want to sent it to `httplib`. This
worked in the past when `msg` was a non-unicode string, but starting with
Python 2.7 this became an unicode string, so when you try to append the
`message
sorin sorin.sbar...@gmail.com added the comment:
I updated the gist and made a minimal test
https://gist.github.com/1047551
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12398
sorin sorin.sbar...@gmail.com added the comment:
You are right, I debugged the problem a little more and discovered at least one
bug in PyAMF.
Still, I was surprised to find out something very strange, it look that
BytesIO.getvalue() does return `str` even if the documentation says it does
sorin sorin.sbar...@gmail.com added the comment:
I have to add some details here. First, this bug has nothing to do with the
URL, it does reproduce for normal urls.
Still the problem with the line: msg += message_body is quite complex when
combined with Python 2.7:
type(msg) is unicode
type
sorin sorin.sbar...@gmail.com added the comment:
Can we get more info regarding resolution of this bug. Due to this bug httplib
cannot be used anymore to send binary data. This bug breaks other modules, one
example being PyAMF (that does communicate only using binary data).
--
nosy
sorin sorin.sbar...@gmail.com added the comment:
There is another problem that makes the problem even more critical. OS X 10.7
does include Python 2.7.1 as the *default* interpreter.
So we'll need both a fix for the future and an workaround.
BTW, the hack with sys.setdefaultencoding cannot
New submission from sorin sorin.sbar...@gmail.com:
It looks that Python 2.7 changes did induce some important bugs into httplib
due to to implicit str-unicode encoding/decoding.
One clear example is that PyAMF library doesn't work with Python 2.7 because it
is not able to generate binary data
sorin sorin.sbar...@gmail.com added the comment:
Added as bug http://bugs.python.org/issue12398
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11898
sorin sorin.sbar...@gmail.com added the comment:
FYI, I got the above output from 10.7 from a friend, I do not have access to
the seed, so the information could be wrong.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11623
sorin sorin.sbar...@gmail.com added the comment:
Let's try to find a good compromise regarding this. I hope the we all agree
that we should not put our personal needs or preferences on the first place,
it's important to improve the overall experience for most users.
First, we do not want
sorin sorin.sbar...@gmail.com added the comment:
You are right about Python from 10.6, it has PPC, but 10.7 doesn't.
bash-3.2$ file /Volumes/107/usr/bin/python2.6
/Volumes/107/usr/bin/python2.6: Mach-O universal binary with 2 architectures
/Volumes/107/usr/bin/python2.6 (for architecture x86_64
sorin sorin.sbar...@gmail.com added the comment:
And in addition to 2.5 and 2.6, 10.7 includes 2.7.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11623
sorin sorin.sbar...@gmail.com added the comment:
I think that distutils must me modified to auto detect supported architectures
and use them, this without requiring you to hack ARCHFLAGS.
The number of developers that need to build PPC binaries is at least one order
of magnitude lower than
New submission from sorin sorin.sbar...@gmail.com:
On OS X (10.6) with Python 2.6
import plistlib
plistlib.writePlistToBytes(dict())
AttributeError: 'module' object has no attribute 'writePlistToBytes'
Python documentation contains no information regarding when writePlistToBytes
was add
sorin sorin.sbar...@gmail.com added the comment:
remeber that cp65001 cannot be set on windows. Also please read
http://blogs.msdn.com/b/michkap/archive/2010/10/07/10072032.aspx and contact
the author, Michael Kaplan from Microsoft, if you have more questions. I'm sure
he will be glad to help
Hi All,
I have to eliminate diacritics in a fairly large file.
Inspired by http://code.activestate.com/recipes/81330/, I came up with the
following code:
#! /usr/bin/env python
import re
nodia={chr(196)+chr(130):'A', # mamaliga
chr(195)+chr(130):'A', # A^
chr(195)+chr(142):'I',
Thanks for your answers.
Benjamin Kaplan: of course dict is a type... silly me! I'll blame it on the
time (it's midnight here).
Chris Rebert: I'll have a look.
Thank you both,
SxN
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano: the original file is 139MB (that's the typical size for it).
Eliminating diacritics is just a little toping on the cake; the processing is
something else.
Thanks anyway for your suggestion,
SxN
PS Perhaps I should have mention that I'm on Python 2.7
--
sorin sorin.sbar...@gmail.com added the comment:
Please reopen the bug, current documentation change is not a proper solution
and also it does not work (see below).
Python's openssl repository contain pregenerated mak files (/ms/*.mak), when it
should not.
If you check openssl repository
sorin sorin.sbar...@gmail.com added the comment:
I made a small but important update to quote_command(), now it does quote the
command line only under Windows because doing this under other platforms may
break the command line.
--
___
Python
New submission from sorin sorin.sbar...@gmail.com:
Currently most batch files from Tools\buildbot do fail to run if you do not
call them from the python source root directory.
I already have patched files, but the question is against which branch should I
make them, considering that this bug
Changes by sorin sorin.sbar...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file18828/buildbot_curdir.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9822
sorin sorin.sbar...@gmail.com added the comment:
In this case I made the patch on the right branch (py3k).
These scripts could be called manually and it doesn't make any sense not to
make them work in all cases.
Not every Windows developer is using Visual Studio to build things, 'some
sorin sorin.sbar...@gmail.com added the comment:
This is true, that this can impact the build process but the changes are
assuring that it will always chdir to the right directory.
BTW, %~dp0 is the directory when the batch file is located.
--
Added file: http://bugs.python.org
Changes by sorin sorin.sbar...@gmail.com:
Removed file: http://bugs.python.org/file18829/readme.txt.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9822
Changes by sorin sorin.sbar...@gmail.com:
Removed file: http://bugs.python.org/file18828/buildbot_curdir.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9822
sorin sorin.sbar...@gmail.com added the comment:
+1 for adding it because it will make the code easier to read/understand.
Bad performance could be documented and it's related about internal
representation.
--
nosy: +sorin
___
Python tracker rep
sorin sorin.sbar...@gmail.com added the comment:
Important tools (like ease_install, pypm) from `Script` directory are already
including version prefixes in their names (tool-2.7.exe).
This means that it should not be a big problem having several Scripts
directories on your path.
Most python
New submission from sorin sorin.sbar...@gmail.com:
Behavior: you get The input line is too long. error message when you try to
run an external process by using os.system(), subprocess.Popen() or other
similar methods.
The real command line limit is 8192 under Windows and in most cases
sorin sorin.sbar...@gmail.com added the comment:
I'm currently building some samples (one that could be run on any Windows
machine).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9699
sorin sorin.sbar...@gmail.com added the comment:
Here is a test file. It does contain 3 command lines that are similar but one
of them is not working (cmd_2).
--
Added file: http://bugs.python.org/file18662/bug_line_too_long.py
___
Python tracker
sorin sorin.sbar...@gmail.com added the comment:
True about tee, I forgot to remove it. By the way, in case the other patch does
not solve the issue we can use the quote_command() from
http://github.com/ssbarnea/tendo/blob/master/tendo/tee.py to solve it.
--
versions: +Python 2.5
New submission from sorin sorin.sbar...@gmail.com:
create a test.py with this content:
print(test)
run this file from command line by redirecting the output:
test.py out.log
You get:
close failed in file object destructor
sorin sorin.sbar...@gmail.com added the comment:
Additional information that will enable the installer to update the path
without requiring a relogin/restart: http://support.microsoft.com/kb/104011
--
___
Python tracker rep...@bugs.python.org
http
sorin sorin.sbar...@gmail.com added the comment:
I would like to know what happened with hex_codec and what is the new py3 for
this.
Also, it would be really helpful to see DeprecationWarnings for all these
codecs in py2x and include a note in py3 changelist.
The official python
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
http://bugs.python.org
sorin sorin.sbar...@gmail.com added the comment:
Any idea if there is a nightly build for Python 2.6? The latest release was
2.6.4 and was 2 days before submitting the patch.
Or the only alternative is to build it myself? Any ideas on when we could see
2.6.5? - I tried to look for a release
sorin sorin.sbar...@gmail.com added the comment:
Maybe it's useful to know that Administrator privileges are not required in
order be able to create symlinks. You just need a specific permission that by
default is assigned only to Administrators.
How to set SeCreateSymbolicLinkPrivilege
sorin sorin.sbar...@gmail.com added the comment:
BTW, Is there any hope to add this to Python 2.6? - this is the standard on
Windows and I see this issue more like a bug resolution than a new feature ;)
--
___
Python tracker rep...@bugs.python.org
sorin sorin.sbar...@gmail.com added the comment:
If you could provide a build I could run the tests on Windows 7 x64.
This is a very old bug that I would like to see it solved.
--
nosy: +sorin
___
Python tracker rep...@bugs.python.org
http
Changes by sorin sorin.sbar...@gmail.com:
--
nosy: +sorin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1602
___
___
Python-bugs-list mailing list
sorin sorin.sbar...@gmail.com added the comment:
It is possible to create combined x86 and x64 msi files and in fact it
would be a good idea to have only one instead of two.
--
nosy: +sorin
___
Python tracker rep...@bugs.python.org
http
sorin sorin.sbar...@gmail.com added the comment:
Thanks Isaul,
Anyway I made the required change before submitting the bug first time
and additionally to what you wrote it is enough to logout/login to
update the path - no reboot required.
The bug is about repairing/improving Python experience
New submission from sorin sorin.sbar...@gmail.com:
I observed that Windows installer is able to add only the Python
installation folder to the path.
In addition to this it should add the Scrips folder because many python
tools are installing scripts inside it, scripts that the user cannot us
sorin sorin.sbar...@gmail.com added the comment:
I totally agree that we must create batch files for commands but not by
including python code inside them.
--
nosy: +sorin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4015
sorin sorin.sbar...@gmail.com added the comment:
Also the same issue does apply for command.getstatusoutput in Python 2.6.
Maybe this bug should be reopened and solved by adding a platform check
in the module. Also the documentation does not specify what would be the
right multiplatform
sorin sorin.sbar...@gmail.com added the comment:
If I made a patch that will raise an error if you include commands
module under Windows will you include it - this will safe others time.
--
___
Python tracker rep...@bugs.python.org
http
Hi All,
Does anybody knows about a module to assist with text autocompletion for a
given dictionary?
Thanks,
SxN
__
Ask a question on any topic and get answers from real people. Go to Yahoo!
Answers and share what you
Sorry for being careless in my choice of words: when I wrote dictionary, I
meant a collection of words in any given human language, not a Python
dictionary.
Perhaps I should try to explain a bit more what I try to accomplish: in a
notebook the user will write text, and certain words
Thanks for the pointers.
Here are some answers:
Ok, so DBM wasn't built because it couldn't find the external symbol
'dbm_firstkey'. I have no idea off the top of my head why that would
happen, but I don't think you really care at the moment since you are
trying to get tkinter working. If
Hello again,
/usr/local/lib is in /etc/ld.so.conf. The files are real. However,
creating symlinks in /usr/lib targeting the libraries in /usr/local/lib,
then recompiling, solved the tkinter problem. So, the conclusion is that
only /usr/lib is consulted for the tcl/tk libraries.
multiprocessing
Run 'make test' instead of running them one by one.
I did it *before* going one by one. I then tried individual tests in hope of
getting hints of what to look for. Actualy, for the first three tests, the
make test script commented that it is unusual for them to fail on my platform
(linux2).
I wanted to replace my old Python 2.4 and tcl/tk 8.4 with tcl/tk 8.5.6 and
Python 2.6, mainly so that I can enjoy ttk. tcl/tk was installed from sources
without any problem, I started a wish and worked.
Now, for the Python, here are all the issues signaled by make test:
running build
running
Hi All,
I just downloaded and compiled Python 2.6 on a Gentoo Linux, IBM NetVista.
After going through the usual steps (./configure, make), I ran a test (make
test), and got some unexpected issues, which are detailed here:
# ./python Lib/test/test_tcl.py
Traceback (most recent call last):
In my situation, there is a device with keyboard that
allows some user input. In the same time, the device
is connected to a standard PC, and there may be some
communication there.
The lengthy_function() resides and executes in the
device, and so is cancel().
Lengthy_function() is pretty linear:
Hi All,
We all know that a function can launch the execution
of another function. How can a function stop the
execution of another function?
For instance, lenghty_function() executes, when an
external event triggers cancel(), which is supposed to
abruptly stop lengthy_function(), reset some
It works, thanks.
Sorin
Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091
--
http://mail.python.org/mailman/listinfo
with a messy screen).
How should I proceed?
Thanks for your advices,
Sorin
-
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.--
http://mail.python.org/mailman/listinfo/python-list
# ldconfig -p | grep /usr/local/lib
libtk8.4.so (libc6)
= /usr/local/lib/libtk8.4.so
libtcl8.4.so (libc6) =
/usr/local/lib/libtcl8.4.so
Sorin
Now that's room service! Choose from over 150,000
Did you add /usr/local/lib to /etc/ld.so.conf?
It's there
Sorin
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
--
http://mail.python.org/mailman/listinfo
/local/lib/libtk8.4.so
-r-xr-xr-x 1 root root 906285 Jan 10 16:08
/usr/local/lib/libtk8.4.so
/code
I can start wish.
I need Tkinter for sure, and I'll like to have dbm.
How should I proceed?
Thanks for your advice,
Sorin
to the email directory and perform the import base64MIME there.What may have happened?Thanks,Sorin--
http://mail.python.org/mailman/listinfo/python-list
I bet you have an email.py somewhere in your sources... You won the bet. I owe you one :-)Thanks,Sorin--
http://mail.python.org/mailman/listinfo/python-list
Thanks for everybody's advice, on both forums (tkinter-discuss python-list).I end up using Fredrik's Lundh solution, since, in my project, multiple buttons are using the same callback, and their creation is controlled by the interaction with the user.Thanks again,Sorin--
http://mail.python.org
Hi All,Is it possible to have a widget id while it is created?Something like this:Button(root, text='...', command= lambda v=widget id: fn(v)).grid()and then the function:def fn(v): v['bg']='BLUE' # or maybe nametowidget(v)['bg']='BLUE'Thanks,Sorin--
http://mail.python.org/mailman/listinfo/python
is how to achieve the desired behaviour under Linux?Thanks for your advice,Sorin--
http://mail.python.org/mailman/listinfo/python-list
Hi,My $0.02:re.compile('^\w+([\.-]?\w+)[EMAIL PROTECTED]([\.-]?\w+)*\.(\w{2}|(com|net|org|edu|intl|mil|gov|arpa|biz|aero|name|coop|info|pro|museum))$')I picked it up from the Net, and while it may be not perfect (you've got lots of reply's telling you why),it's good enough for me.Good luck,Sorin
to Text. Any advice?Thanks,Sorin--
http://mail.python.org/mailman/listinfo/python-list
://www.pythonware.com/library/tkinter/introduction/index.htmhttp://infohost.nmt.edu/tcc/help/pubs/tkinter/They're both easy to follow, and you'll save more time, than asking one little think at a time, and then waiting for someone to answer.Good luck!Sorin--
http://mail.python.org/mailman/listinfo/python-list
/*checkout*/tktable/tile-www/doc/index.html
http://wiki.tcl.tk/6172http://www.faqts.com/knowledge_base/view.phtml/aid/3728
http://www.faqts.com/knowledge_base/view.phtml/aid/3728
I see I have a rather long list of bookmarks ;-)
I hope this helps.
Sorin
normal
exit condition?
Sorin
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
http://mail.python.org/mailman/listinfo/python-list
.
Of course, the price to be paid is in maintenance
headache: you'll have to make all the changes in both
loops, to keep consistency.
I hope this helps.
Sorin
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http
print statements and they behave
in a similar way, but what can it be?
Thanks for your advise,
Sorin
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
http://mail.python.org/mailman/listinfo
, so everything is correct. How can I obtain the desired parallelism?Thanks,Sorin
Groups are talking. Were listening. Check out the handy changes to Yahoo! Groups. --
http://mail.python.org/mailman/listinfo/python-list
It works. Thanks Rob.
Sorin
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
http://mail.python.org/mailman/listinfo/python-list
in place before direct calls to Tk - same result).
I was hoping to have some branches hidden (the leaves,
in this case).
How should I proceed?
Thanks,
Sorin
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http
after f) is OK.That's the way it is intended to be? How would I grid stuff in dynamically created windows?Thanks for your advice,Sorin Schwimmer
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.--
http://mail.python.org/mailman/listinfo/python-list
100 matches
Mail list logo